Here we need a way to get the singleton instance of the ApplicationService, and make this static function be a member of security service. @takethathe @shaochangbin