コード例 #1
0
 /**
  * Gets the 'security.authentication.manager' service.
  *
  * This service is shared.
  * This method always returns the same instance of the service.
  *
  * This service is private.
  * If you want to be able to request this service from the container directly,
  * make it public, otherwise you might end up with broken code.
  *
  * @return \Symfony\Component\Security\Core\Authentication\AuthenticationProviderManager A Symfony\Component\Security\Core\Authentication\AuthenticationProviderManager instance.
  */
 protected function getSecurity_Authentication_ManagerService()
 {
     $this->services['security.authentication.manager'] = $instance = new \Symfony\Component\Security\Core\Authentication\AuthenticationProviderManager(array(0 => new \Symfony\Component\Security\Core\Authentication\Provider\DaoAuthenticationProvider($this->get('security.user.provider.concrete.usuarios'), new \Symfony\Component\Security\Core\User\UserChecker(), 'general', $this->get('security.encoder_factory'), true), 1 => new \Symfony\Component\Security\Core\Authentication\Provider\AnonymousAuthenticationProvider('5513ff3977104')), true);
     $instance->setEventDispatcher($this->get('debug.event_dispatcher'));
     return $instance;
 }
 /**
  * Gets the 'security.authentication.manager' service.
  *
  * This service is shared.
  * This method always returns the same instance of the service.
  *
  * This service is private.
  * If you want to be able to request this service from the container directly,
  * make it public, otherwise you might end up with broken code.
  *
  * @return \Symfony\Component\Security\Core\Authentication\AuthenticationProviderManager A Symfony\Component\Security\Core\Authentication\AuthenticationProviderManager instance.
  */
 protected function getSecurity_Authentication_ManagerService()
 {
     $this->services['security.authentication.manager'] = $instance = new \Symfony\Component\Security\Core\Authentication\AuthenticationProviderManager(array(0 => new \Symfony\Component\Security\Core\Authentication\Provider\DaoAuthenticationProvider($this->get('security.user.provider.concrete.our_db_provider'), new \Symfony\Component\Security\Core\User\UserChecker(), 'default', $this->get('security.encoder_factory'), true), 1 => new \Symfony\Component\Security\Core\Authentication\Provider\AnonymousAuthenticationProvider('56522bd4ef2fd7.44707804'), 2 => new \Symfony\Component\Security\Core\Authentication\Provider\SimpleAuthenticationProvider($this->get('apikey_authenticator'), $this->get('api_key_user_provider'), 'secured_area')), true);
     $instance->setEventDispatcher($this->get('debug.event_dispatcher'));
     return $instance;
 }
コード例 #3
0
 protected function getSecurity_Authentication_ManagerService()
 {
     $this->services['security.authentication.manager'] = $instance = new \Symfony\Component\Security\Core\Authentication\AuthenticationProviderManager(array(0 => new \Symfony\Component\Security\Core\Authentication\Provider\DaoAuthenticationProvider($this->get('security.user.provider.concrete.in_memory'), new \Symfony\Component\Security\Core\User\UserChecker(), 'demo_secured_area', $this->get('security.encoder_factory'), true)), true);
     $instance->setEventDispatcher($this->get('event_dispatcher'));
     return $instance;
 }
コード例 #4
0
 protected function getSecurity_Authentication_ManagerService()
 {
     $this->services['security.authentication.manager'] = $instance = new \Symfony\Component\Security\Core\Authentication\AuthenticationProviderManager(array(0 => new \Symfony\Component\Security\Core\Authentication\Provider\AnonymousAuthenticationProvider('567a93c0904e66.37809601')), true);
     $instance->setEventDispatcher($this->get('event_dispatcher'));
     return $instance;
 }
コード例 #5
0
 /**
  * Gets the 'security.authentication.manager' service.
  *
  * This service is shared.
  * This method always returns the same instance of the service.
  *
  * This service is private.
  * If you want to be able to request this service from the container directly,
  * make it public, otherwise you might end up with broken code.
  *
  * @return \Symfony\Component\Security\Core\Authentication\AuthenticationProviderManager A Symfony\Component\Security\Core\Authentication\AuthenticationProviderManager instance.
  */
 protected function getSecurity_Authentication_ManagerService()
 {
     $a = $this->get('fos_user.user_manager');
     $b = $this->get('security.user_checker');
     $c = $this->get('security.encoder_factory');
     $this->services['security.authentication.manager'] = $instance = new \Symfony\Component\Security\Core\Authentication\AuthenticationProviderManager(array(0 => new \Symfony\Component\Security\Core\Authentication\Provider\DaoAuthenticationProvider($a, $b, 'admin', $c, true), 1 => new \Symfony\Component\Security\Core\Authentication\Provider\AnonymousAuthenticationProvider('55f5f43daadcb1.96848803'), 2 => new \Symfony\Component\Security\Core\Authentication\Provider\DaoAuthenticationProvider($a, $b, 'main', $c, true), 3 => new \Symfony\Component\Security\Core\Authentication\Provider\AnonymousAuthenticationProvider('55f5f43daadcb1.96848803')), true);
     $instance->setEventDispatcher($this->get('debug.event_dispatcher'));
     return $instance;
 }
コード例 #6
0
 protected function getSecurity_Authentication_ManagerService()
 {
     $a = $this->get('security.user.provider.concrete.in_memory');
     $b = $this->get('security.user_checker.main');
     $c = $this->get('security.encoder_factory');
     $this->services['security.authentication.manager'] = $instance = new \Symfony\Component\Security\Core\Authentication\AuthenticationProviderManager(array(0 => new \Symfony\Component\Security\Core\Authentication\Provider\DaoAuthenticationProvider($a, $b, 'main', $c, true), 1 => new \Symfony\Component\Security\Core\Authentication\Provider\AnonymousAuthenticationProvider('5666b51f8fd605.33622923'), 2 => new \Symfony\Component\Security\Core\Authentication\Provider\DaoAuthenticationProvider($a, $b, 'default', $c, true), 3 => new \Symfony\Component\Security\Core\Authentication\Provider\AnonymousAuthenticationProvider('5666b51f8fd605.33622923')), true);
     $instance->setEventDispatcher($this->get('event_dispatcher'));
     return $instance;
 }
コード例 #7
0
 /**
  * Gets the 'security.authentication.manager' service.
  *
  * This service is shared.
  * This method always returns the same instance of the service.
  *
  * This service is private.
  * If you want to be able to request this service from the container directly,
  * make it public, otherwise you might end up with broken code.
  *
  * @return \Symfony\Component\Security\Core\Authentication\AuthenticationProviderManager A Symfony\Component\Security\Core\Authentication\AuthenticationProviderManager instance.
  */
 protected function getSecurity_Authentication_ManagerService()
 {
     $a = $this->get('security.user_checker');
     $this->services['security.authentication.manager'] = $instance = new \Symfony\Component\Security\Core\Authentication\AuthenticationProviderManager(array(0 => new \Symfony\Component\Security\Core\Authentication\Provider\AnonymousAuthenticationProvider('564cc1a61f24b2.24773552'), 1 => new \Symfony\Component\Security\Core\Authentication\Provider\DaoAuthenticationProvider($this->get('fos_user.user_provider.username'), $a, 'main', $this->get('security.encoder_factory'), true), 2 => new \Symfony\Component\Security\Core\Authentication\Provider\RememberMeAuthenticationProvider($a, '0932949f3a05d863083447fa8cd5b2aaa4edbc4b', 'main'), 3 => new \Symfony\Component\Security\Core\Authentication\Provider\AnonymousAuthenticationProvider('564cc1a61f24b2.24773552')), true);
     $instance->setEventDispatcher($this->get('debug.event_dispatcher'));
     return $instance;
 }
コード例 #8
0
 protected function getSecurity_Authentication_ManagerService()
 {
     $a = $this->get('mautic.user.provider');
     $b = $this->get('security.encoder_factory');
     $c = new \Symfony\Component\Security\Core\User\UserChecker();
     $d = new \Mautic\ApiBundle\Security\OAuth1\Authentication\Provider\OAuthProvider($a, $this->get('bazinga.oauth.server_service'), '');
     $d->setFactory($this->get('mautic.factory'));
     $this->services['security.authentication.manager'] = $instance = new \Symfony\Component\Security\Core\Authentication\AuthenticationProviderManager(array(0 => new \Symfony\Component\Security\Core\Authentication\Provider\AnonymousAuthenticationProvider('567aa2dbd72de8.36627330'), 1 => new \Symfony\Component\Security\Core\Authentication\Provider\AnonymousAuthenticationProvider('567aa2dbd72de8.36627330'), 2 => new \Symfony\Component\Security\Core\Authentication\Provider\DaoAuthenticationProvider($a, $c, 'oauth2_area', $b, true), 3 => new \Symfony\Component\Security\Core\Authentication\Provider\AnonymousAuthenticationProvider('567aa2dbd72de8.36627330'), 4 => new \Symfony\Component\Security\Core\Authentication\Provider\DaoAuthenticationProvider($a, $c, 'oauth1_area', $b, true), 5 => new \Symfony\Component\Security\Core\Authentication\Provider\AnonymousAuthenticationProvider('567aa2dbd72de8.36627330'), 6 => new \FOS\OAuthServerBundle\Security\Authentication\Provider\OAuthProvider($a, $this->get('fos_oauth_server.server'), $c), 7 => $d, 8 => new \Symfony\Component\Security\Core\Authentication\Provider\DaoAuthenticationProvider($a, $c, 'main', $b, true), 9 => new \Symfony\Component\Security\Core\Authentication\Provider\RememberMeAuthenticationProvider($c, 'ab90c625f80f8126309fec4fae1da7fff78001dd', 'main'), 10 => new \Symfony\Component\Security\Core\Authentication\Provider\AnonymousAuthenticationProvider('567aa2dbd72de8.36627330')), true);
     $instance->setEventDispatcher($this->get('event_dispatcher'));
     return $instance;
 }
コード例 #9
0
    /**
     * Gets the 'security.authentication.manager' service.
     *
     * This service is shared.
     * This method always returns the same instance of the service.
     *
     * This service is private.
     * If you want to be able to request this service from the container directly,
     * make it public, otherwise you might end up with broken code.
     *
     * @return \Symfony\Component\Security\Core\Authentication\AuthenticationProviderManager A Symfony\Component\Security\Core\Authentication\AuthenticationProviderManager instance.
     */
    protected function getSecurity_Authentication_ManagerService()
    {
        $a = $this->get('security.user_checker');

        $this->services['security.authentication.manager'] = $instance = new \Symfony\Component\Security\Core\Authentication\AuthenticationProviderManager(array(0 => new \FOS\FacebookBundle\Security\Authentication\Provider\FacebookProvider('public', $this->get('fos_facebook.api'), $this->get('my.facebook.user'), $a, false), 1 => new \Symfony\Component\Security\Core\Authentication\Provider\DaoAuthenticationProvider($this->get('fos_user.user_manager'), $a, 'public', $this->get('security.encoder_factory'), true), 2 => new \Symfony\Component\Security\Core\Authentication\Provider\AnonymousAuthenticationProvider('55e5e195a8f41')), true);

        $instance->setEventDispatcher($this->get('debug.event_dispatcher'));

        return $instance;
    }
コード例 #10
0
 /**
  * Gets the 'security.authentication.manager' service.
  *
  * This service is shared.
  * This method always returns the same instance of the service.
  *
  * This service is private.
  * If you want to be able to request this service from the container directly,
  * make it public, otherwise you might end up with broken code.
  *
  * @return \Symfony\Component\Security\Core\Authentication\AuthenticationProviderManager A Symfony\Component\Security\Core\Authentication\AuthenticationProviderManager instance.
  */
 protected function getSecurity_Authentication_ManagerService()
 {
     $a = new \Symfony\Component\Security\Core\User\UserChecker();
     $this->services['security.authentication.manager'] = $instance = new \Symfony\Component\Security\Core\Authentication\AuthenticationProviderManager(array(0 => new \Symfony\Component\Security\Core\Authentication\Provider\DaoAuthenticationProvider($this->get('security.user.provider.concrete.database'), $a, 'secured_area', $this->get('security.encoder_factory'), true), 1 => new \Symfony\Component\Security\Core\Authentication\Provider\RememberMeAuthenticationProvider($a, 'ThisTokenIsNotSoSecretChangeIt', 'secured_area'), 2 => new \Symfony\Component\Security\Core\Authentication\Provider\AnonymousAuthenticationProvider('568d621059dc08.25953213')), true);
     $instance->setEventDispatcher($this->get('debug.event_dispatcher'));
     return $instance;
 }
コード例 #11
0
 /**
  * Gets the 'security.authentication.manager' service.
  *
  * This service is shared.
  * This method always returns the same instance of the service.
  *
  * This service is private.
  * If you want to be able to request this service from the container directly,
  * make it public, otherwise you might end up with broken code.
  *
  * @return \Symfony\Component\Security\Core\Authentication\AuthenticationProviderManager A Symfony\Component\Security\Core\Authentication\AuthenticationProviderManager instance.
  */
 protected function getSecurity_Authentication_ManagerService()
 {
     $this->services['security.authentication.manager'] = $instance = new \Symfony\Component\Security\Core\Authentication\AuthenticationProviderManager(array(0 => new \Symfony\Component\Security\Core\Authentication\Provider\DaoAuthenticationProvider($this->get('security.user.provider.concrete.user_provider'), $this->get('security.user_checker.admin'), 'admin', $this->get('security.encoder_factory'), true), 1 => new \Symfony\Component\Security\Core\Authentication\Provider\AnonymousAuthenticationProvider('56c446beefb3f4.99245496'), 2 => new \Symfony\Component\Security\Core\Authentication\Provider\AnonymousAuthenticationProvider('56c446beefb3f4.99245496')), true);
     $instance->setEventDispatcher($this->get('debug.event_dispatcher'));
     return $instance;
 }
コード例 #12
0
 /**
  * Gets the 'security.authentication.manager' service.
  *
  * This service is shared.
  * This method always returns the same instance of the service.
  *
  * This service is private.
  * If you want to be able to request this service from the container directly,
  * make it public, otherwise you might end up with broken code.
  *
  * @return \Symfony\Component\Security\Core\Authentication\AuthenticationProviderManager A Symfony\Component\Security\Core\Authentication\AuthenticationProviderManager instance.
  */
 protected function getSecurity_Authentication_ManagerService()
 {
     $this->services['security.authentication.manager'] = $instance = new \Symfony\Component\Security\Core\Authentication\AuthenticationProviderManager(array(0 => new \Symfony\Component\Security\Core\Authentication\Provider\AnonymousAuthenticationProvider('56a08f0ce12573.15897280'), 1 => new \Symfony\Component\Security\Core\Authentication\Provider\DaoAuthenticationProvider($this->get('fos_user.user_provider.username_email'), $this->get('security.user_checker.main_login'), 'main', $this->get('security.encoder_factory'), true), 2 => new \Symfony\Component\Security\Core\Authentication\Provider\AnonymousAuthenticationProvider('56a08f0ce12573.15897280')), true);
     $instance->setEventDispatcher($this->get('debug.event_dispatcher'));
     return $instance;
 }
コード例 #13
0
 /**
  * Gets the 'security.authentication.manager' service.
  *
  * This service is shared.
  * This method always returns the same instance of the service.
  *
  * This service is private.
  * If you want to be able to request this service from the container directly,
  * make it public, otherwise you might end up with broken code.
  *
  * @return \Symfony\Component\Security\Core\Authentication\AuthenticationProviderManager A Symfony\Component\Security\Core\Authentication\AuthenticationProviderManager instance.
  */
 protected function getSecurity_Authentication_ManagerService()
 {
     $this->services['security.authentication.manager'] = $instance = new \Symfony\Component\Security\Core\Authentication\AuthenticationProviderManager(array(0 => $this->get('fr3d_ldap.security.authentication.provider.main'), 1 => new \Symfony\Component\Security\Core\Authentication\Provider\DaoAuthenticationProvider($this->get('fos_user.user_manager'), $this->get('security.user_checker'), 'main', $this->get('security.encoder_factory'), true), 2 => new \Symfony\Component\Security\Core\Authentication\Provider\AnonymousAuthenticationProvider('564215f1e37ec')), true);
     $instance->setEventDispatcher($this->get('debug.event_dispatcher'));
     return $instance;
 }
コード例 #14
0
 protected function getSecurity_Authentication_ManagerService()
 {
     $a = $this->get('security.encoder_factory');
     $b = $this->get('doctrine.orm.default_entity_manager');
     $c = new \Symfony\Component\Security\Core\User\UserChecker();
     $d = new \Civix\ApiBundle\Security\Core\ApiUserProvider($b);
     $this->services['security.authentication.manager'] = $instance = new \Symfony\Component\Security\Core\Authentication\AuthenticationProviderManager(array(0 => new \Symfony\Component\Security\Core\Authentication\Provider\AnonymousAuthenticationProvider('56889d1b2435a'), 1 => new \Symfony\Component\Security\Core\Authentication\Provider\AnonymousAuthenticationProvider('56889d1b2435a'), 2 => new \Symfony\Component\Security\Core\Authentication\Provider\DaoAuthenticationProvider($this->get('security.user.provider.concrete.representative'), $c, 'representative_security_area', $a, true), 3 => new \Symfony\Component\Security\Core\Authentication\Provider\AnonymousAuthenticationProvider('56889d1b2435a'), 4 => new \Symfony\Component\Security\Core\Authentication\Provider\AnonymousAuthenticationProvider('56889d1b2435a'), 5 => new \Symfony\Component\Security\Core\Authentication\Provider\DaoAuthenticationProvider($this->get('security.user.provider.concrete.group'), $c, 'group_security_area', $a, true), 6 => new \Symfony\Component\Security\Core\Authentication\Provider\AnonymousAuthenticationProvider('56889d1b2435a'), 7 => new \Symfony\Component\Security\Core\Authentication\Provider\DaoAuthenticationProvider($this->get('security.user.provider.concrete.superuser'), $c, 'superuser_security_area', $a, true), 8 => new \Symfony\Component\Security\Core\Authentication\Provider\AnonymousAuthenticationProvider('56889d1b2435a'), 9 => new \Symfony\Component\Security\Core\Authentication\Provider\AnonymousAuthenticationProvider('56889d1b2435a'), 10 => new \Symfony\Component\Security\Core\Authentication\Provider\AnonymousAuthenticationProvider('56889d1b2435a'), 11 => new \Symfony\Component\Security\Core\Authentication\Provider\AnonymousAuthenticationProvider('56889d1b2435a'), 12 => new \Symfony\Component\Security\Core\Authentication\Provider\AnonymousAuthenticationProvider('56889d1b2435a'), 13 => new \Symfony\Component\Security\Core\Authentication\Provider\AnonymousAuthenticationProvider('56889d1b2435a'), 14 => new \Symfony\Component\Security\Core\Authentication\Provider\AnonymousAuthenticationProvider('56889d1b2435a'), 15 => new \Symfony\Component\Security\Core\Authentication\Provider\AnonymousAuthenticationProvider('56889d1b2435a'), 16 => new \Civix\ApiBundle\Security\Authentication\Provider\ApiProvider($d), 17 => new \Symfony\Component\Security\Core\Authentication\Provider\AnonymousAuthenticationProvider('56889d1b2435a'), 18 => new \Civix\ApiBundle\Security\Authentication\Provider\ApiProvider($d), 19 => new \Symfony\Component\Security\Core\Authentication\Provider\AnonymousAuthenticationProvider('56889d1b2435a')), true);
     $instance->setEventDispatcher($this->get('event_dispatcher'));
     return $instance;
 }
コード例 #15
0
 protected function getSecurity_Authentication_ManagerService()
 {
     $a = $this->get('fos_user.user_provider.username');
     $b = $this->get('security.user_checker');
     $c = $this->get('security.encoder_factory');
     $this->services['security.authentication.manager'] = $instance = new \Symfony\Component\Security\Core\Authentication\AuthenticationProviderManager(array(0 => new \Symfony\Component\Security\Core\Authentication\Provider\DaoAuthenticationProvider($a, $b, 'main', $c, true), 1 => new \Symfony\Component\Security\Core\Authentication\Provider\AnonymousAuthenticationProvider('569abb63ed27e'), 2 => new \Symfony\Component\Security\Core\Authentication\Provider\DaoAuthenticationProvider($a, $b, 'secured_area', $c, true)), true);
     $instance->setEventDispatcher($this->get('event_dispatcher'));
     return $instance;
 }
コード例 #16
0
 /**
  * Gets the 'security.authentication.manager' service.
  *
  * This service is shared.
  * This method always returns the same instance of the service.
  *
  * This service is private.
  * If you want to be able to request this service from the container directly,
  * make it public, otherwise you might end up with broken code.
  *
  * @return \Symfony\Component\Security\Core\Authentication\AuthenticationProviderManager A Symfony\Component\Security\Core\Authentication\AuthenticationProviderManager instance.
  */
 protected function getSecurity_Authentication_ManagerService()
 {
     $a = $this->get('security.user_checker');
     $this->services['security.authentication.manager'] = $instance = new \Symfony\Component\Security\Core\Authentication\AuthenticationProviderManager(array(0 => new \Symfony\Component\Security\Core\Authentication\Provider\DaoAuthenticationProvider($this->get('fos_user.user_provider.username'), $a, 'main', $this->get('security.encoder_factory'), true), 1 => new \Symfony\Component\Security\Core\Authentication\Provider\RememberMeAuthenticationProvider($a, '2e7cfceaacee0cbf4e76e7d49165b6a40b494473', 'main'), 2 => new \Symfony\Component\Security\Core\Authentication\Provider\AnonymousAuthenticationProvider('5676b9b61db166.81410767')), true);
     $instance->setEventDispatcher($this->get('debug.event_dispatcher'));
     return $instance;
 }
コード例 #17
0
 /**
  * Gets the 'security.authentication.manager' service.
  *
  * This service is shared.
  * This method always returns the same instance of the service.
  *
  * This service is private.
  * If you want to be able to request this service from the container directly,
  * make it public, otherwise you might end up with broken code.
  *
  * @return \Symfony\Component\Security\Core\Authentication\AuthenticationProviderManager A Symfony\Component\Security\Core\Authentication\AuthenticationProviderManager instance
  */
 protected function getSecurity_Authentication_ManagerService()
 {
     $a = $this->get('security.user_checker.login_admin_firewall');
     $this->services['security.authentication.manager'] = $instance = new \Symfony\Component\Security\Core\Authentication\AuthenticationProviderManager(array(0 => new \Symfony\Component\Security\Core\Authentication\Provider\AnonymousAuthenticationProvider('57d087b26ebd46.63569744'), 1 => new \Symfony\Component\Security\Core\Authentication\Provider\DaoAuthenticationProvider($this->get('security.user.provider.concrete.bigfoot'), $a, 'back_office', $this->get('security.encoder_factory'), true), 2 => new \Symfony\Component\Security\Core\Authentication\Provider\RememberMeAuthenticationProvider($a, 'ThisTokenIsNotSoSecretChangeIt', 'back_office'), 3 => new \Symfony\Component\Security\Core\Authentication\Provider\AnonymousAuthenticationProvider('57d087b26ebd46.63569744'), 4 => new \Symfony\Component\Security\Core\Authentication\Provider\AnonymousAuthenticationProvider('57d087b26ebd46.63569744')), true);
     $instance->setEventDispatcher($this->get('debug.event_dispatcher'));
     return $instance;
 }
コード例 #18
0
 protected function getSecurity_Authentication_ManagerService()
 {
     $a = new \Symfony\Component\Security\Core\User\InMemoryUserProvider();
     $a->createUser(new \Symfony\Component\Security\Core\User\User('restapi', 'secretpw', array(0 => 'ROLE_API')));
     $this->services['security.authentication.manager'] = $instance = new \Symfony\Component\Security\Core\Authentication\AuthenticationProviderManager(array(0 => new \Symfony\Component\Security\Core\Authentication\Provider\DaoAuthenticationProvider($a, new \Symfony\Component\Security\Core\User\UserChecker(), 'main', $this->get('security.encoder_factory'), true), 1 => new \Symfony\Component\Security\Core\Authentication\Provider\AnonymousAuthenticationProvider('56c03a54db9182.51638183')), true);
     $instance->setEventDispatcher($this->get('event_dispatcher'));
     return $instance;
 }
コード例 #19
0
 /**
  * Gets the 'security.authentication.manager' service.
  *
  * This service is shared.
  * This method always returns the same instance of the service.
  *
  * This service is private.
  * If you want to be able to request this service from the container directly,
  * make it public, otherwise you might end up with broken code.
  *
  * @return Symfony\Component\Security\Core\Authentication\AuthenticationProviderManager A Symfony\Component\Security\Core\Authentication\AuthenticationProviderManager instance.
  */
 protected function getSecurity_Authentication_ManagerService()
 {
     $a = new \eZ\Publish\Core\MVC\Symfony\Security\Authentication\Provider($this->get('ezpublish.security.user_provider'), $this->get('security.user_checker'), 'ezpublish_front');
     $a->setLazyRepository($this->get('ezpublish.api.repository.lazy'));
     if ($this->has('logger')) {
         $a->setLogger($this->get('logger', ContainerInterface::NULL_ON_INVALID_REFERENCE));
     }
     $this->services['security.authentication.manager'] = $instance = new \Symfony\Component\Security\Core\Authentication\AuthenticationProviderManager(array(0 => $this->get('ezpublish.security.authentication_provider.basic.ezpublish_rest'), 1 => $a), true);
     $instance->setEventDispatcher($this->get('event_dispatcher'));
     return $instance;
 }
コード例 #20
0
 protected function getSecurity_Authentication_ManagerService()
 {
     $this->services['security.authentication.manager'] = $instance = new \Symfony\Component\Security\Core\Authentication\AuthenticationProviderManager(array(0 => new \Symfony\Component\Security\Core\Authentication\Provider\DaoAuthenticationProvider(${($_ = isset($this->services['security.user.provider.concrete.in_memory']) ? $this->services['security.user.provider.concrete.in_memory'] : $this->getSecurity_User_Provider_Concrete_InMemoryService()) && false ?: '_'}, $this->get('security.user_checker.secured_area'), 'secured_area', $this->get('security.encoder_factory'), true)), true);
     $instance->setEventDispatcher($this->get('event_dispatcher'));
     return $instance;
 }
コード例 #21
0
 /**
  * Gets the 'security.authentication.manager' service.
  *
  * This service is shared.
  * This method always returns the same instance of the service.
  *
  * This service is private.
  * If you want to be able to request this service from the container directly,
  * make it public, otherwise you might end up with broken code.
  *
  * @return \Symfony\Component\Security\Core\Authentication\AuthenticationProviderManager A Symfony\Component\Security\Core\Authentication\AuthenticationProviderManager instance.
  */
 protected function getSecurity_Authentication_ManagerService()
 {
     $a = $this->get('security.user_checker');
     $this->services['security.authentication.manager'] = $instance = new \Symfony\Component\Security\Core\Authentication\AuthenticationProviderManager(array(0 => new \Symfony\Component\Security\Core\Authentication\Provider\DaoAuthenticationProvider($this->get('fos_user.user_provider.username'), $a, 'main', $this->get('security.encoder_factory'), true), 1 => new \Symfony\Component\Security\Core\Authentication\Provider\RememberMeAuthenticationProvider($a, 'ThisTokenIsNotSoSecretChangeIt', 'main'), 2 => new \Symfony\Component\Security\Core\Authentication\Provider\AnonymousAuthenticationProvider('567b091f403fc1.77711390')), true);
     $instance->setEventDispatcher($this->get('debug.event_dispatcher'));
     return $instance;
 }
コード例 #22
0
 protected function getSecurity_Authentication_ManagerService()
 {
     $a = $this->get('security.user_checker');
     $this->services['security.authentication.manager'] = $instance = new \Symfony\Component\Security\Core\Authentication\AuthenticationProviderManager(array(0 => new \Symfony\Component\Security\Core\Authentication\Provider\DaoAuthenticationProvider($this->get('fos_user.user_provider.username'), $a, 'main', $this->get('security.encoder_factory'), true), 1 => new \Symfony\Component\Security\Core\Authentication\Provider\RememberMeAuthenticationProvider($a, 'chouchou', 'main'), 2 => new \Symfony\Component\Security\Core\Authentication\Provider\AnonymousAuthenticationProvider('5638b663aa0283.33037473')), true);
     $instance->setEventDispatcher($this->get('event_dispatcher'));
     return $instance;
 }
コード例 #23
0
 /**
  * Gets the 'security.authentication.manager' service.
  *
  * This service is shared.
  * This method always returns the same instance of the service.
  *
  * This service is private.
  * If you want to be able to request this service from the container directly,
  * make it public, otherwise you might end up with broken code.
  *
  * @return \Symfony\Component\Security\Core\Authentication\AuthenticationProviderManager A Symfony\Component\Security\Core\Authentication\AuthenticationProviderManager instance.
  */
 protected function getSecurity_Authentication_ManagerService()
 {
     $this->services['security.authentication.manager'] = $instance = new \Symfony\Component\Security\Core\Authentication\AuthenticationProviderManager(array(0 => new \Symfony\Component\Security\Core\Authentication\Provider\DaoAuthenticationProvider($this->get('security.user.provider.concrete.in_memory'), new \Symfony\Component\Security\Core\User\UserChecker(), 'main', $this->get('security.encoder_factory'), true), 1 => new \Symfony\Component\Security\Core\Authentication\Provider\AnonymousAuthenticationProvider('56797e5b3be232.71211890'), 2 => new \Symfony\Component\Security\Core\Authentication\Provider\AnonymousAuthenticationProvider('56797e5b3be232.71211890')), true);
     $instance->setEventDispatcher($this->get('debug.event_dispatcher'));
     return $instance;
 }
コード例 #24
0
 /**
  * Gets the 'security.authentication.manager' service.
  *
  * This service is shared.
  * This method always returns the same instance of the service.
  *
  * This service is private.
  * If you want to be able to request this service from the container directly,
  * make it public, otherwise you might end up with broken code.
  *
  * @return \Symfony\Component\Security\Core\Authentication\AuthenticationProviderManager A Symfony\Component\Security\Core\Authentication\AuthenticationProviderManager instance.
  */
 protected function getSecurity_Authentication_ManagerService()
 {
     $this->services['security.authentication.manager'] = $instance = new \Symfony\Component\Security\Core\Authentication\AuthenticationProviderManager(array(0 => new \Symfony\Component\Security\Core\Authentication\Provider\DaoAuthenticationProvider($this->get('security.user.provider.concrete.main'), $this->get('security.user_checker.secured_area'), 'secured_area', $this->get('security.encoder_factory'), true), 1 => new \Symfony\Component\Security\Core\Authentication\Provider\AnonymousAuthenticationProvider('569dfa903c5e41.34112145')), true);
     $instance->setEventDispatcher($this->get('debug.event_dispatcher'));
     return $instance;
 }
コード例 #25
0
 /**
  * Gets the 'security.authentication.manager' service.
  *
  * This service is shared.
  * This method always returns the same instance of the service.
  *
  * This service is private.
  * If you want to be able to request this service from the container directly,
  * make it public, otherwise you might end up with broken code.
  *
  * @return \Symfony\Component\Security\Core\Authentication\AuthenticationProviderManager A Symfony\Component\Security\Core\Authentication\AuthenticationProviderManager instance.
  */
 protected function getSecurity_Authentication_ManagerService()
 {
     $a = $this->get('security.user_checker');
     $this->services['security.authentication.manager'] = $instance = new \Symfony\Component\Security\Core\Authentication\AuthenticationProviderManager(array(0 => new \Symfony\Component\Security\Core\Authentication\Provider\DaoAuthenticationProvider($this->get('security.user.provider.concrete.blog_users'), $a, 'blog_security', $this->get('security.encoder_factory'), true), 1 => new \Symfony\Component\Security\Core\Authentication\Provider\RememberMeAuthenticationProvider($a, 'k34po3j4po3j433k4p3', 'blog_security'), 2 => new \Symfony\Component\Security\Core\Authentication\Provider\AnonymousAuthenticationProvider('54f415ae2aebe')), true);
     $instance->setEventDispatcher($this->get('debug.event_dispatcher'));
     return $instance;
 }
コード例 #26
0
 protected function getSecurity_Authentication_ManagerService()
 {
     $this->services['security.authentication.manager'] = $instance = new \Symfony\Component\Security\Core\Authentication\AuthenticationProviderManager(array(0 => new \Symfony\Component\Security\Core\Authentication\Provider\DaoAuthenticationProvider($this->get('security.user.provider.concrete.our_db_provider'), new \Symfony\Component\Security\Core\User\UserChecker(), 'default', $this->get('security.encoder_factory'), true), 1 => new \Symfony\Component\Security\Core\Authentication\Provider\AnonymousAuthenticationProvider('5628d0fc1b1642.08676740')), true);
     $instance->setEventDispatcher($this->get('event_dispatcher'));
     return $instance;
 }
コード例 #27
0
 /**
  * Gets the 'security.authentication.manager' service.
  *
  * This service is shared.
  * This method always returns the same instance of the service.
  *
  * This service is private.
  * If you want to be able to request this service from the container directly,
  * make it public, otherwise you might end up with broken code.
  *
  * @return \Symfony\Component\Security\Core\Authentication\AuthenticationProviderManager A Symfony\Component\Security\Core\Authentication\AuthenticationProviderManager instance.
  */
 protected function getSecurity_Authentication_ManagerService()
 {
     $this->services['security.authentication.manager'] = $instance = new \Symfony\Component\Security\Core\Authentication\AuthenticationProviderManager(array(0 => new \Symfony\Component\Security\Core\Authentication\Provider\AnonymousAuthenticationProvider('56c0a04ebc9711.73192427')), true);
     $instance->setEventDispatcher($this->get('debug.event_dispatcher'));
     return $instance;
 }
コード例 #28
0
 /**
  * Gets the 'security.authentication.manager' service.
  *
  * This service is shared.
  * This method always returns the same instance of the service.
  *
  * This service is private.
  * If you want to be able to request this service from the container directly,
  * make it public, otherwise you might end up with broken code.
  *
  * @return \Symfony\Component\Security\Core\Authentication\AuthenticationProviderManager A Symfony\Component\Security\Core\Authentication\AuthenticationProviderManager instance.
  */
 protected function getSecurity_Authentication_ManagerService()
 {
     $this->services['security.authentication.manager'] = $instance = new \Symfony\Component\Security\Core\Authentication\AuthenticationProviderManager(array(0 => new \Symfony\Component\Security\Core\Authentication\Provider\DaoAuthenticationProvider($this->get('security.user.provider.concrete.database_users'), new \Symfony\Component\Security\Core\User\UserChecker(), 'secured_area', $this->get('security.encoder_factory'), true), 1 => new \Symfony\Component\Security\Core\Authentication\Provider\AnonymousAuthenticationProvider('56705123aaf394.24212099')), true);
     $instance->setEventDispatcher($this->get('debug.event_dispatcher'));
     return $instance;
 }
コード例 #29
0
 protected function getSecurity_Authentication_ManagerService()
 {
     $this->services['security.authentication.manager'] = $instance = new \Symfony\Component\Security\Core\Authentication\AuthenticationProviderManager(array(0 => new \Symfony\Component\Security\Core\Authentication\Provider\DaoAuthenticationProvider($this->get('fos_user.user_provider.username'), $this->get('security.user_checker'), 'main', $this->get('security.encoder_factory'), true), 1 => new \Symfony\Component\Security\Core\Authentication\Provider\AnonymousAuthenticationProvider('5650e132376740.70426776')), true);
     $instance->setEventDispatcher($this->get('event_dispatcher'));
     return $instance;
 }
コード例 #30
0
 /**
  * Gets the 'security.authentication.manager' service.
  *
  * This service is shared.
  * This method always returns the same instance of the service.
  *
  * This service is private.
  * If you want to be able to request this service from the container directly,
  * make it public, otherwise you might end up with broken code.
  *
  * @return \Symfony\Component\Security\Core\Authentication\AuthenticationProviderManager A Symfony\Component\Security\Core\Authentication\AuthenticationProviderManager instance
  */
 protected function getSecurity_Authentication_ManagerService()
 {
     $a = $this->get('fos_user.user_provider.username_email');
     $b = $this->get('security.user_checker.oauth_authorize');
     $this->services['security.authentication.manager'] = $instance = new \Symfony\Component\Security\Core\Authentication\AuthenticationProviderManager(array(0 => new \Symfony\Component\Security\Core\Authentication\Provider\DaoAuthenticationProvider($a, $b, 'oauth_authorize', $this->get('security.encoder_factory'), true), 1 => new \Symfony\Component\Security\Core\Authentication\Provider\AnonymousAuthenticationProvider('5837eec33309c3.45674512'), 2 => new \FOS\OAuthServerBundle\Security\Authentication\Provider\OAuthProvider($a, $this->get('fos_oauth_server.server'), $b), 3 => new \Symfony\Component\Security\Core\Authentication\Provider\AnonymousAuthenticationProvider('5837eec33309c3.45674512')), true);
     $instance->setEventDispatcher($this->get('debug.event_dispatcher'));
     return $instance;
 }