Пример #1
0
 public function getAuthenticationHandler(ORBConfig $config)
 {
     $securityConfigHandler = $config->getConfig("weborb/security");
     if ($securityConfigHandler != null) {
         $authenticationHandlerClassName = $securityConfigHandler->getAuthenticationHandler();
         if ($authenticationHandlerClassName != null && strlen($authenticationHandlerClassName) > 0) {
             return ObjectFactories::createServiceObject($authenticationHandlerClassName);
         }
     }
     return null;
 }