/**
  * Gets the 'security.firewall.map.context.main' service.
  *
  * This service is shared.
  * This method always returns the same instance of the service.
  *
  * @return \Symfony\Bundle\SecurityBundle\Security\FirewallContext A Symfony\Bundle\SecurityBundle\Security\FirewallContext instance.
  */
 protected function getSecurity_Firewall_Map_Context_MainService()
 {
     $a = $this->get('security.context');
     $b = $this->get('monolog.logger.security', ContainerInterface::NULL_ON_INVALID_REFERENCE);
     $c = $this->get('event_dispatcher', ContainerInterface::NULL_ON_INVALID_REFERENCE);
     $d = $this->get('security.http_utils');
     $e = $this->get('security.authentication.manager');
     $f = $this->get('security.authentication.session_strategy');
     $g = $this->get('nordcode_user.security.authentication_handler');
     $h = new \Symfony\Component\Security\Http\Firewall\LogoutListener($a, $d, $this->get('nordcode_user.security.logout_handler'), array('csrf_parameter' => '_csrf_token', 'intention' => 'logout', 'logout_path' => '/logout'));
     $h->addHandler($this->get('security.logout.handler.session'));
     $i = new \HWI\Bundle\OAuthBundle\Security\Http\Firewall\OAuthListener($a, $e, $f, $d, 'main', $g, $g, array('use_forward' => false, 'check_path' => '/login_check', 'require_previous_session' => true), $b, $c);
     $i->setResourceOwnerMap($this->get('hwi_oauth.resource_ownermap.main'));
     $i->setCheckPaths(array(0 => '/connect/check-facebook'));
     return $this->services['security.firewall.map.context.main'] = new \Symfony\Bundle\SecurityBundle\Security\FirewallContext(array(0 => $this->get('security.channel_listener'), 1 => new \Symfony\Component\Security\Http\Firewall\ContextListener($a, array(0 => $this->get('fos_user.user_provider.username_email')), 'main', $b, $c), 2 => $h, 3 => new \Symfony\Component\Security\Http\Firewall\UsernamePasswordFormAuthenticationListener($a, $e, $f, $d, 'main', $g, $g, array('check_path' => '/login_check', 'use_forward' => false, 'require_previous_session' => true, 'username_parameter' => '_username', 'password_parameter' => '_password', 'csrf_parameter' => '_csrf_token', 'intention' => 'authenticate', 'post_only' => true), $b, $c, $this->get('form.csrf_provider')), 4 => $i, 5 => new \Symfony\Component\Security\Http\Firewall\AnonymousAuthenticationListener($a, '561044262b1c2', $b), 6 => $this->get('security.access_listener')), new \Symfony\Component\Security\Http\Firewall\ExceptionListener($a, $this->get('security.authentication.trust_resolver'), $d, 'main', new \HWI\Bundle\OAuthBundle\Security\Http\EntryPoint\OAuthEntryPoint($this->get('http_kernel'), $d, '/connect', false), NULL, NULL, $b));
 }
예제 #2
0
 /**
  * Gets the 'security.firewall.map.context.blog_security' service.
  *
  * This service is shared.
  * This method always returns the same instance of the service.
  *
  * @return \Symfony\Bundle\SecurityBundle\Security\FirewallContext A Symfony\Bundle\SecurityBundle\Security\FirewallContext instance.
  */
 protected function getSecurity_Firewall_Map_Context_BlogSecurityService()
 {
     $a = $this->get('monolog.logger.security', ContainerInterface::NULL_ON_INVALID_REFERENCE);
     $b = $this->get('security.context');
     $c = $this->get('security.user.provider.concrete.blog_users');
     $d = $this->get('debug.event_dispatcher', ContainerInterface::NULL_ON_INVALID_REFERENCE);
     $e = $this->get('router', ContainerInterface::NULL_ON_INVALID_REFERENCE);
     $f = $this->get('http_kernel');
     $g = $this->get('security.authentication.manager');
     $h = $this->get('security.access.decision_manager');
     $i = new \Symfony\Component\HttpFoundation\RequestMatcher('^/account-settings');
     $j = new \Symfony\Component\Security\Http\AccessMap();
     $j->add($i, array(0 => 'ROLE_USER'), NULL);
     $k = new \Symfony\Component\Security\Http\HttpUtils($e, $e);
     $l = new \Symfony\Component\Security\Http\RememberMe\TokenBasedRememberMeServices(array(0 => $c), 'k34po3j4po3j433k4p3', 'blog_security', array('lifetime' => 31536000, 'path' => '/', 'domain' => NULL, 'remember_me_parameter' => 'login[remember_me]', 'name' => 'REMEMBERME', 'secure' => false, 'httponly' => true, 'always_remember_me' => false), $a);
     $m = new \Symfony\Component\Security\Http\Firewall\LogoutListener($b, $k, new \Symfony\Component\Security\Http\Logout\DefaultLogoutSuccessHandler($k, 'blog_index'), array('csrf_parameter' => '_csrf_token', 'intention' => 'logout', 'logout_path' => '_logout'));
     $m->addHandler(new \Symfony\Component\Security\Http\Logout\SessionLogoutHandler());
     $m->addHandler($l);
     $n = new \Symfony\Component\Security\Http\Authentication\DefaultAuthenticationSuccessHandler($k, array());
     $n->setOptions(array('login_path' => 'blog_login', 'default_target_path' => 'blog_index', 'always_use_default_target_path' => false, 'target_path_parameter' => '_target_path', 'use_referer' => false));
     $n->setProviderKey('blog_security');
     $o = new \Symfony\Component\Security\Http\Authentication\DefaultAuthenticationFailureHandler($f, $k, array(), $a);
     $o->setOptions(array('login_path' => 'blog_login', 'failure_path' => NULL, 'failure_forward' => false, 'failure_path_parameter' => '_failure_path'));
     $p = new \Symfony\Component\Security\Http\Firewall\UsernamePasswordFormAuthenticationListener($b, $g, new \Symfony\Component\Security\Http\Session\SessionAuthenticationStrategy('migrate'), $k, 'blog_security', $n, $o, array('check_path' => '_check_path', 'username_parameter' => 'login[username]', 'password_parameter' => 'login[password]', 'use_forward' => false, 'require_previous_session' => true, 'csrf_parameter' => '_csrf_token', 'intention' => 'authenticate', 'post_only' => true), $a, $d, NULL);
     $p->setRememberMeServices($l);
     return $this->services['security.firewall.map.context.blog_security'] = new \Symfony\Bundle\SecurityBundle\Security\FirewallContext(array(0 => new \Symfony\Component\Security\Http\Firewall\ChannelListener($j, new \Symfony\Component\Security\Http\EntryPoint\RetryAuthenticationEntryPoint(80, 443), $a), 1 => new \Symfony\Component\Security\Http\Firewall\ContextListener($b, array(0 => $c), 'blog_security', $a, $d), 2 => $m, 3 => $p, 4 => new \Symfony\Component\Security\Http\Firewall\RememberMeListener($b, $l, $g, $a, $d, true), 5 => new \Symfony\Component\Security\Http\Firewall\AnonymousAuthenticationListener($b, '54f415ae2aebe', $a, $g), 6 => new \Symfony\Component\Security\Http\Firewall\SwitchUserListener($b, $c, $this->get('security.user_checker'), 'blog_security', $h, $a, '_switch_user', 'ROLE_ALLOWED_TO_SWITCH', $d), 7 => new \Symfony\Component\Security\Http\Firewall\AccessListener($b, $h, $j, $g)), new \Symfony\Component\Security\Http\Firewall\ExceptionListener($b, $this->get('security.authentication.trust_resolver'), $k, 'blog_security', new \Symfony\Component\Security\Http\EntryPoint\FormAuthenticationEntryPoint($f, $k, 'blog_login', false), NULL, NULL, $a));
 }
예제 #3
0
 protected function getSecurity_Firewall_Map_Context_DemoSecuredAreaService()
 {
     $a = $this->get('monolog.logger.security', ContainerInterface::NULL_ON_INVALID_REFERENCE);
     $b = $this->get('security.context');
     $c = $this->get('event_dispatcher', ContainerInterface::NULL_ON_INVALID_REFERENCE);
     $d = $this->get('router', ContainerInterface::NULL_ON_INVALID_REFERENCE);
     $e = $this->get('http_kernel');
     $f = $this->get('security.authentication.manager');
     $g = new \Symfony\Component\Security\Http\AccessMap();
     $h = new \Symfony\Component\Security\Http\HttpUtils($d, $d);
     $i = new \Symfony\Component\Security\Http\Firewall\LogoutListener($b, $h, new \Symfony\Component\Security\Http\Logout\DefaultLogoutSuccessHandler($h, '_demo'), array('csrf_parameter' => '_csrf_token', 'intention' => 'logout', 'logout_path' => '_demo_logout'));
     $i->addHandler(new \Symfony\Component\Security\Http\Logout\SessionLogoutHandler());
     $j = new \Symfony\Component\Security\Http\Authentication\DefaultAuthenticationSuccessHandler($h, array('login_path' => '_demo_login', 'always_use_default_target_path' => false, 'default_target_path' => '/', 'target_path_parameter' => '_target_path', 'use_referer' => false));
     $j->setProviderKey('demo_secured_area');
     return $this->services['security.firewall.map.context.demo_secured_area'] = new \Symfony\Bundle\SecurityBundle\Security\FirewallContext(array(0 => new \Symfony\Component\Security\Http\Firewall\ChannelListener($g, new \Symfony\Component\Security\Http\EntryPoint\RetryAuthenticationEntryPoint(80, 443), $a), 1 => new \Symfony\Component\Security\Http\Firewall\ContextListener($b, array(0 => $this->get('security.user.provider.concrete.in_memory')), 'demo_secured_area', $a, $c), 2 => $i, 3 => new \Symfony\Component\Security\Http\Firewall\UsernamePasswordFormAuthenticationListener($b, $f, new \Symfony\Component\Security\Http\Session\SessionAuthenticationStrategy('migrate'), $h, 'demo_secured_area', $j, new \Symfony\Component\Security\Http\Authentication\DefaultAuthenticationFailureHandler($e, $h, array('login_path' => '_demo_login', 'failure_path' => NULL, 'failure_forward' => false, 'failure_path_parameter' => '_failure_path'), $a), array('check_path' => '_demo_security_check', 'use_forward' => false, 'require_previous_session' => true, 'username_parameter' => '_username', 'password_parameter' => '_password', 'csrf_parameter' => '_csrf_token', 'intention' => 'authenticate', 'post_only' => true), $a, $c, NULL), 4 => new \Symfony\Component\Security\Http\Firewall\AccessListener($b, $this->get('security.access.decision_manager'), $g, $f)), new \Symfony\Component\Security\Http\Firewall\ExceptionListener($b, $this->get('security.authentication.trust_resolver'), $h, 'demo_secured_area', new \Symfony\Component\Security\Http\EntryPoint\FormAuthenticationEntryPoint($e, $h, '_demo_login', false), NULL, NULL, $a));
 }
 /**
  * Gets the 'security.firewall.map.context.secured_area' service.
  *
  * This service is shared.
  * This method always returns the same instance of the service.
  *
  * @return Symfony\Bundle\SecurityBundle\Security\FirewallContext A Symfony\Bundle\SecurityBundle\Security\FirewallContext instance.
  */
 protected function getSecurity_Firewall_Map_Context_SecuredAreaService()
 {
     $a = $this->get('monolog.logger.security');
     $b = $this->get('security.context');
     $c = $this->get('event_dispatcher');
     $d = $this->get('router');
     $e = $this->get('security.authentication.manager');
     $f = new \Symfony\Component\Security\Http\AccessMap();
     $g = new \Symfony\Component\Security\Http\HttpUtils($d);
     $h = new \Symfony\Component\Security\Http\Firewall\LogoutListener($b, $g, '/demo/secured/logout', '/demo/', NULL);
     $h->addHandler(new \Symfony\Component\Security\Http\Logout\SessionLogoutHandler());
     return $this->services['security.firewall.map.context.secured_area'] = new \Symfony\Bundle\SecurityBundle\Security\FirewallContext(array(0 => new \Symfony\Component\Security\Http\Firewall\ChannelListener($f, new \Symfony\Component\Security\Http\EntryPoint\RetryAuthenticationEntryPoint(), $a), 1 => new \Symfony\Component\Security\Http\Firewall\ContextListener($b, array(0 => $this->get('security.user.provider.concrete.in_memory')), 'secured_area', $a, $c), 2 => $h, 3 => new \Symfony\Component\Security\Http\Firewall\UsernamePasswordFormAuthenticationListener($b, $e, new \Symfony\Component\Security\Http\Session\SessionAuthenticationStrategy('migrate'), $g, 'secured_area', array('check_path' => '/demo/secured/login_check', 'login_path' => '/demo/secured/login', 'use_forward' => false, 'always_use_default_target_path' => false, 'default_target_path' => '/', 'target_path_parameter' => '_target_path', 'use_referer' => false, 'failure_path' => NULL, 'failure_forward' => false, 'username_parameter' => '_username', 'password_parameter' => '_password', 'csrf_parameter' => '_csrf_token', 'intention' => 'authenticate', 'post_only' => true), NULL, NULL, $a, $c), 4 => new \Symfony\Component\Security\Http\Firewall\AccessListener($b, $this->get('security.access.decision_manager'), $f, $e, $a)), new \Symfony\Component\Security\Http\Firewall\ExceptionListener($b, $this->get('security.authentication.trust_resolver'), $g, new \Symfony\Component\Security\Http\EntryPoint\FormAuthenticationEntryPoint($this->get('http_kernel'), $g, '/demo/secured/login', false), NULL, NULL, $a));
 }
 /**
  * Gets the 'security.firewall.map.context.main' service.
  *
  * This service is shared.
  * This method always returns the same instance of the service.
  *
  * @return \Symfony\Bundle\SecurityBundle\Security\FirewallContext A Symfony\Bundle\SecurityBundle\Security\FirewallContext instance.
  */
 protected function getSecurity_Firewall_Map_Context_MainService()
 {
     $a = $this->get('monolog.logger.security', ContainerInterface::NULL_ON_INVALID_REFERENCE);
     $b = $this->get('security.token_storage');
     $c = $this->get('fos_user.user_provider.username');
     $d = $this->get('debug.event_dispatcher', ContainerInterface::NULL_ON_INVALID_REFERENCE);
     $e = $this->get('router', ContainerInterface::NULL_ON_INVALID_REFERENCE);
     $f = $this->get('http_kernel');
     $g = $this->get('security.authentication.manager');
     $h = new \Symfony\Component\HttpFoundation\RequestMatcher('^/admin/*', NULL, array(), array(0 => '127.0.0.1'));
     $i = new \Symfony\Component\HttpFoundation\RequestMatcher('^/admin/users', NULL, array(), array(0 => '127.0.0.1'));
     $j = new \Symfony\Component\HttpFoundation\RequestMatcher('^/admin/annonce', NULL, array(), array(0 => '127.0.0.1'));
     $k = new \Symfony\Component\HttpFoundation\RequestMatcher('^/admin/alerte', NULL, array(), array(0 => '127.0.0.1'));
     $l = new \Symfony\Component\HttpFoundation\RequestMatcher('^/_internal', NULL, array(), array(0 => '127.0.0.1'));
     $m = new \Symfony\Component\Security\Http\AccessMap();
     $m->add($h, array(0 => 'ROLE_SUPER_ADMIN'), NULL);
     $m->add($i, array(0 => 'ROLE_EXPERTINFO'), NULL);
     $m->add($j, array(0 => 'ROLE_ADMIN'), NULL);
     $m->add($k, array(0 => 'ROLE_ADMIN'), NULL);
     $m->add($l, array(0 => 'IS_AUTHENTICATED_ANONYMOUSLY'), NULL);
     $n = new \Symfony\Component\Security\Http\HttpUtils($e, $e);
     $o = new \Symfony\Component\Security\Http\RememberMe\TokenBasedRememberMeServices(array(0 => $c), 'ThisTokenIsNotSoSecretChangeIt', 'main', array('name' => 'REMEMBERME', 'lifetime' => 31536000, 'path' => '/', 'domain' => NULL, 'secure' => false, 'httponly' => true, 'always_remember_me' => false, 'remember_me_parameter' => '_remember_me'), $a);
     $p = new \Symfony\Component\Security\Http\Firewall\LogoutListener($b, $n, new \Symfony\Component\Security\Http\Logout\DefaultLogoutSuccessHandler($n, '/incident'), array('csrf_parameter' => '_csrf_token', 'intention' => 'logout', 'logout_path' => 'fos_user_security_logout'));
     $p->addHandler($o);
     $q = new \Symfony\Component\Security\Http\Authentication\DefaultAuthenticationSuccessHandler($n, array());
     $q->setOptions(array('login_path' => 'fos_user_security_login', 'default_target_path' => '/profile', 'always_use_default_target_path' => false, 'target_path_parameter' => '_target_path', 'use_referer' => false));
     $q->setProviderKey('main');
     $r = new \Symfony\Component\Security\Http\Authentication\DefaultAuthenticationFailureHandler($f, $n, array(), $a);
     $r->setOptions(array('login_path' => 'fos_user_security_login', 'failure_path' => NULL, 'failure_forward' => false, 'failure_path_parameter' => '_failure_path'));
     $s = new \Symfony\Component\Security\Http\Firewall\UsernamePasswordFormAuthenticationListener($b, $g, $this->get('security.authentication.session_strategy'), $n, 'main', $q, $r, array('check_path' => 'fos_user_security_check', 'use_forward' => false, 'require_previous_session' => true, 'username_parameter' => '_username', 'password_parameter' => '_password', 'csrf_parameter' => '_csrf_token', 'intention' => 'authenticate', 'post_only' => true), $a, $d, NULL);
     $s->setRememberMeServices($o);
     return $this->services['security.firewall.map.context.main'] = new \Symfony\Bundle\SecurityBundle\Security\FirewallContext(array(0 => new \Symfony\Component\Security\Http\Firewall\ChannelListener($m, new \Symfony\Component\Security\Http\EntryPoint\RetryAuthenticationEntryPoint(80, 443), $a), 1 => new \Symfony\Component\Security\Http\Firewall\ContextListener($b, array(0 => $c), 'main', $a, $d), 2 => $p, 3 => $s, 4 => new \Symfony\Component\Security\Http\Firewall\RememberMeListener($b, $o, $g, $a, $d, true), 5 => new \Symfony\Component\Security\Http\Firewall\AnonymousAuthenticationListener($b, '567b091f403fc1.77711390', $a, $g), 6 => new \Symfony\Component\Security\Http\Firewall\AccessListener($b, $this->get('security.access.decision_manager'), $m, $g)), new \Symfony\Component\Security\Http\Firewall\ExceptionListener($b, $this->get('security.authentication.trust_resolver'), $n, 'main', new \Symfony\Component\Security\Http\EntryPoint\FormAuthenticationEntryPoint($f, $n, 'fos_user_security_login', false), NULL, NULL, $a, false));
 }
예제 #6
0
 /**
  * Gets the 'security.firewall.map.context.back_office' service.
  *
  * This service is shared.
  * This method always returns the same instance of the service.
  *
  * @return \Symfony\Bundle\SecurityBundle\Security\FirewallContext A Symfony\Bundle\SecurityBundle\Security\FirewallContext instance
  */
 protected function getSecurity_Firewall_Map_Context_BackOfficeService()
 {
     $a = $this->get('security.token_storage');
     $b = $this->get('security.user.provider.concrete.bigfoot');
     $c = $this->get('monolog.logger.security', ContainerInterface::NULL_ON_INVALID_REFERENCE);
     $d = $this->get('debug.event_dispatcher', ContainerInterface::NULL_ON_INVALID_REFERENCE);
     $e = $this->get('security.http_utils');
     $f = $this->get('http_kernel');
     $g = $this->get('security.authentication.manager');
     $h = new \Symfony\Component\Security\Http\RememberMe\TokenBasedRememberMeServices(array(0 => $b), 'ThisTokenIsNotSoSecretChangeIt', 'back_office', array('lifetime' => 31536000, 'path' => '/', 'domain' => NULL, 'name' => 'REMEMBERME', 'secure' => false, 'httponly' => true, 'always_remember_me' => false, 'remember_me_parameter' => '_remember_me'), $c);
     $i = new \Symfony\Component\Security\Http\Firewall\LogoutListener($a, $e, new \Symfony\Component\Security\Http\Logout\DefaultLogoutSuccessHandler($e, '/admin/'), array('csrf_parameter' => '_csrf_token', 'csrf_token_id' => 'logout', 'logout_path' => '/admin/logout'));
     $i->addHandler(new \Symfony\Component\Security\Http\Logout\SessionLogoutHandler());
     $i->addHandler($h);
     $j = new \Symfony\Component\Security\Http\Session\SessionAuthenticationStrategy('migrate');
     $k = new \Symfony\Component\Security\Http\Authentication\DefaultAuthenticationSuccessHandler($e, array());
     $k->setOptions(array('login_path' => '/admin/login', 'always_use_default_target_path' => true, 'default_target_path' => '/admin/', 'target_path_parameter' => '_target_path', 'use_referer' => false));
     $k->setProviderKey('back_office');
     $l = new \Symfony\Component\Security\Http\Authentication\DefaultAuthenticationFailureHandler($f, $e, array(), $c);
     $l->setOptions(array('login_path' => '/admin/login', 'failure_path' => NULL, 'failure_forward' => false, 'failure_path_parameter' => '_failure_path'));
     $m = new \Symfony\Component\Security\Http\Firewall\UsernamePasswordFormAuthenticationListener($a, $g, $j, $e, 'back_office', $k, $l, array('check_path' => '/admin/login_check', 'use_forward' => false, 'require_previous_session' => true, 'username_parameter' => '_username', 'password_parameter' => '_password', 'csrf_parameter' => '_csrf_token', 'csrf_token_id' => 'authenticate', 'post_only' => true), $c, $d, NULL);
     $m->setRememberMeServices($h);
     return $this->services['security.firewall.map.context.back_office'] = new \Symfony\Bundle\SecurityBundle\Security\FirewallContext(array(0 => $this->get('security.channel_listener'), 1 => new \Symfony\Component\Security\Http\Firewall\ContextListener($a, array(0 => $b, 1 => $this->get('security.user.provider.concrete.in_memory')), 'back_office', $c, $d), 2 => $i, 3 => $m, 4 => new \Symfony\Component\Security\Http\Firewall\RememberMeListener($a, $h, $g, $c, $d, true, $j), 5 => new \Symfony\Component\Security\Http\Firewall\AnonymousAuthenticationListener($a, '57d087b26ebd46.63569744', $c, $g), 6 => $this->get('security.access_listener')), new \Symfony\Component\Security\Http\Firewall\ExceptionListener($a, $this->get('security.authentication.trust_resolver'), $e, 'back_office', new \Symfony\Component\Security\Http\EntryPoint\FormAuthenticationEntryPoint($f, $e, '/admin/login', false), NULL, NULL, $c, false));
 }
 /**
  * Gets the 'security.firewall.map.context.main' service.
  *
  * This service is shared.
  * This method always returns the same instance of the service.
  *
  * @return \Symfony\Bundle\SecurityBundle\Security\FirewallContext A Symfony\Bundle\SecurityBundle\Security\FirewallContext instance.
  */
 protected function getSecurity_Firewall_Map_Context_MainService()
 {
     $a = $this->get('monolog.logger.security', ContainerInterface::NULL_ON_INVALID_REFERENCE);
     $b = $this->get('security.token_storage');
     $c = $this->get('debug.event_dispatcher', ContainerInterface::NULL_ON_INVALID_REFERENCE);
     $d = $this->get('router', ContainerInterface::NULL_ON_INVALID_REFERENCE);
     $e = $this->get('http_kernel');
     $f = $this->get('security.authentication.manager');
     $g = new \Symfony\Component\HttpFoundation\RequestMatcher('^/adminQuizs');
     $h = new \Symfony\Component\Security\Http\AccessMap();
     $h->add($g, array(0 => 'ROLE_USER'), NULL);
     $i = new \Symfony\Component\Security\Core\User\InMemoryUserProvider();
     $i->createUser(new \Symfony\Component\Security\Core\User\User('user', 'userpass', array(0 => 'ROLE_USER')));
     $i->createUser(new \Symfony\Component\Security\Core\User\User('admin', 'adminpass', array(0 => 'ROLE_ADMIN')));
     $j = new \Symfony\Component\Security\Http\HttpUtils($d, $d);
     $k = new \Symfony\Component\Security\Http\Firewall\LogoutListener($b, $j, new \Symfony\Component\Security\Http\Logout\DefaultLogoutSuccessHandler($j, '/'), array('csrf_parameter' => '_csrf_token', 'intention' => 'logout', 'logout_path' => 'logout'));
     $k->addHandler(new \Symfony\Component\Security\Http\Logout\SessionLogoutHandler());
     $l = new \Symfony\Component\Security\Http\Authentication\DefaultAuthenticationSuccessHandler($j, array());
     $l->setOptions(array('login_path' => '/login', 'always_use_default_target_path' => false, 'default_target_path' => '/', 'target_path_parameter' => '_target_path', 'use_referer' => false));
     $l->setProviderKey('main');
     $m = new \Symfony\Component\Security\Http\Authentication\DefaultAuthenticationFailureHandler($e, $j, array(), $a);
     $m->setOptions(array('login_path' => '/login', 'failure_path' => NULL, 'failure_forward' => false, 'failure_path_parameter' => '_failure_path'));
     return $this->services['security.firewall.map.context.main'] = new \Symfony\Bundle\SecurityBundle\Security\FirewallContext(array(0 => new \Symfony\Component\Security\Http\Firewall\ChannelListener($h, new \Symfony\Component\Security\Http\EntryPoint\RetryAuthenticationEntryPoint(80, 443), $a), 1 => new \Symfony\Component\Security\Http\Firewall\ContextListener($b, array(0 => $i, 1 => $this->get('security.user.provider.concrete.main')), 'main', $a, $c), 2 => $k, 3 => new \Symfony\Component\Security\Http\Firewall\UsernamePasswordFormAuthenticationListener($b, $f, new \Symfony\Component\Security\Http\Session\SessionAuthenticationStrategy('migrate'), $j, 'main', $l, $m, array('check_path' => 'login_check', 'use_forward' => false, 'require_previous_session' => true, 'username_parameter' => '_username', 'password_parameter' => '_password', 'csrf_parameter' => '_csrf_token', 'intention' => 'authenticate', 'post_only' => true), $a, $c, NULL), 4 => new \Symfony\Component\Security\Http\Firewall\AnonymousAuthenticationListener($b, '566e9bc216e399.45424227', $a, $f), 5 => new \Symfony\Component\Security\Http\Firewall\AccessListener($b, $this->get('security.access.decision_manager'), $h, $f)), new \Symfony\Component\Security\Http\Firewall\ExceptionListener($b, $this->get('security.authentication.trust_resolver'), $j, 'main', new \Symfony\Component\Security\Http\EntryPoint\FormAuthenticationEntryPoint($e, $j, '/login', false), NULL, NULL, $a, false));
 }
 /**
  * Gets the 'security.firewall.map.context.secured_area' service.
  *
  * This service is shared.
  * This method always returns the same instance of the service.
  *
  * @return \Symfony\Bundle\SecurityBundle\Security\FirewallContext A Symfony\Bundle\SecurityBundle\Security\FirewallContext instance.
  */
 protected function getSecurity_Firewall_Map_Context_SecuredAreaService()
 {
     $a = $this->get('monolog.logger.security', ContainerInterface::NULL_ON_INVALID_REFERENCE);
     $b = $this->get('security.token_storage');
     $c = $this->get('security.user.provider.concrete.database');
     $d = $this->get('debug.event_dispatcher', ContainerInterface::NULL_ON_INVALID_REFERENCE);
     $e = $this->get('router');
     $f = $this->get('session');
     $g = $this->get('security.authentication.manager');
     $h = $this->get('http_kernel');
     $i = new \Symfony\Component\Security\Http\AccessMap();
     $j = new \Symfony\Component\Security\Http\HttpUtils($e, $e);
     $k = new \Symfony\Component\Security\Http\RememberMe\TokenBasedRememberMeServices(array(0 => $c), 'ThisTokenIsNotSoSecretChangeIt', 'secured_area', array('lifetime' => 604800, 'path' => '/', 'name' => 'REMEMBERME', 'domain' => NULL, 'secure' => false, 'httponly' => true, 'always_remember_me' => false, 'remember_me_parameter' => '_remember_me'), $a);
     $l = new \Symfony\Component\Security\Http\Firewall\LogoutListener($b, $j, new \Symfony\Component\Security\Http\Logout\DefaultLogoutSuccessHandler($j, '/'), array('csrf_parameter' => '_csrf_token', 'intention' => 'logout', 'logout_path' => '/logout'));
     $l->addHandler(new \Symfony\Component\Security\Http\Logout\SessionLogoutHandler());
     $l->addHandler($k);
     $m = new \Symfony\Component\Security\Http\Session\SessionAuthenticationStrategy('migrate');
     $n = new \AppBundle\Handler\AuthenticationHandler($e, $f);
     $n->setContainer($this);
     $o = new \Symfony\Component\Security\Http\Firewall\UsernamePasswordFormAuthenticationListener($b, $g, $m, $j, 'secured_area', new \Symfony\Component\Security\Http\Authentication\CustomAuthenticationSuccessHandler($n, array('login_path' => '/login', 'default_target_path' => '/players', 'always_use_default_target_path' => false, 'target_path_parameter' => '_target_path', 'use_referer' => false), 'secured_area'), new \Symfony\Component\Security\Http\Authentication\CustomAuthenticationFailureHandler($n, array('login_path' => '/login', 'failure_path' => NULL, 'failure_forward' => false, 'failure_path_parameter' => '_failure_path')), array('check_path' => '/login_check', 'require_previous_session' => false, 'use_forward' => false, 'username_parameter' => '_username', 'password_parameter' => '_password', 'csrf_parameter' => '_csrf_token', 'intention' => 'authenticate', 'post_only' => true), $a, $d, $this->get('security.csrf.token_manager'));
     $o->setRememberMeServices($k);
     $p = new \Symfony\Component\Security\Http\EntryPoint\FormAuthenticationEntryPoint($h, $j, '/login', false);
     return $this->services['security.firewall.map.context.secured_area'] = new \Symfony\Bundle\SecurityBundle\Security\FirewallContext(array(0 => new \Symfony\Component\Security\Http\Firewall\ChannelListener($i, new \Symfony\Component\Security\Http\EntryPoint\RetryAuthenticationEntryPoint(80, 443), $a), 1 => new \Symfony\Component\Security\Http\Firewall\ContextListener($b, array(0 => $c), 'secured_area', $a, $d), 2 => $l, 3 => $o, 4 => new \Symfony\Component\Security\Http\Firewall\BasicAuthenticationListener($b, $g, 'secured_area', $p, $a), 5 => new \Symfony\Component\Security\Http\Firewall\RememberMeListener($b, $k, $g, $a, $d, true, $m), 6 => new \Symfony\Component\Security\Http\Firewall\AnonymousAuthenticationListener($b, '568d621059dc08.25953213', $a, $g), 7 => new \Symfony\Component\Security\Http\Firewall\AccessListener($b, $this->get('security.access.decision_manager'), $i, $g)), new \Symfony\Component\Security\Http\Firewall\ExceptionListener($b, $this->get('security.authentication.trust_resolver'), $j, 'secured_area', $p, NULL, NULL, $a, false));
 }
예제 #9
0
 protected function getSecurity_Firewall_Map_Context_MainService()
 {
     $a = $this->get('security.http_utils');
     $b = $this->get('mautic.user.provider');
     $c = $this->get('monolog.logger.security', ContainerInterface::NULL_ON_INVALID_REFERENCE);
     $d = $this->get('security.context');
     $e = $this->get('mautic.security.authentication_handler');
     $f = $this->get('security.authentication.manager');
     $g = $this->get('event_dispatcher', ContainerInterface::NULL_ON_INVALID_REFERENCE);
     $h = new \Symfony\Component\Security\Http\RememberMe\TokenBasedRememberMeServices(array(0 => $b), 'ab90c625f80f8126309fec4fae1da7fff78001dd', 'main', array('lifetime' => '31536000', 'path' => '/', 'domain' => NULL, 'name' => 'REMEMBERME', 'secure' => false, 'httponly' => true, 'always_remember_me' => false, 'remember_me_parameter' => '_remember_me'), $c);
     $i = new \Symfony\Component\Security\Http\Firewall\LogoutListener($d, $a, new \Symfony\Component\Security\Http\Logout\DefaultLogoutSuccessHandler($a, '/s/login'), array('csrf_parameter' => '_csrf_token', 'intention' => 'logout', 'logout_path' => '/s/logout'));
     $i->addHandler(new \Symfony\Component\Security\Http\Logout\SessionLogoutHandler());
     $i->addHandler($this->get('mautic.security.logout_handler'));
     $i->addHandler($h);
     $j = new \Symfony\Component\Security\Http\Firewall\UsernamePasswordFormAuthenticationListener($d, $f, $this->get('security.authentication.session_strategy'), $a, 'main', new \Symfony\Component\Security\Http\Authentication\CustomAuthenticationSuccessHandler($e, array('login_path' => '/s/login', 'always_use_default_target_path' => false, 'default_target_path' => '/', 'target_path_parameter' => '_target_path', 'use_referer' => false), 'main'), new \Symfony\Component\Security\Http\Authentication\CustomAuthenticationFailureHandler($e, array('login_path' => '/s/login', 'failure_path' => NULL, 'failure_forward' => false, 'failure_path_parameter' => '_failure_path')), array('check_path' => '/s/login_check', 'use_forward' => false, 'require_previous_session' => true, 'username_parameter' => '_username', 'password_parameter' => '_password', 'csrf_parameter' => '_csrf_token', 'intention' => 'authenticate', 'post_only' => true), $c, $g, $this->get('form.csrf_provider'));
     $j->setRememberMeServices($h);
     return $this->services['security.firewall.map.context.main'] = new \Symfony\Bundle\SecurityBundle\Security\FirewallContext(array(0 => $this->get('security.channel_listener'), 1 => $this->get('security.context_listener.1'), 2 => $i, 3 => $j, 4 => new \Symfony\Component\Security\Http\Firewall\RememberMeListener($d, $h, $f, $c, $g, true), 5 => $this->get('security.access_listener')), new \Symfony\Component\Security\Http\Firewall\ExceptionListener($d, $this->get('security.authentication.trust_resolver'), $a, 'main', new \Symfony\Component\Security\Http\EntryPoint\FormAuthenticationEntryPoint($this->get('http_kernel'), $a, '/s/login', false), NULL, NULL, $c));
 }
 protected function getSecurity_Firewall_Map_Context_SecuredAreaService()
 {
     $a = $this->get('monolog.logger.security', ContainerInterface::NULL_ON_INVALID_REFERENCE);
     $b = $this->get('security.context');
     $c = $this->get('event_dispatcher', ContainerInterface::NULL_ON_INVALID_REFERENCE);
     $d = $this->get('router', ContainerInterface::NULL_ON_INVALID_REFERENCE);
     $e = $this->get('http_kernel');
     $f = $this->get('security.authentication.manager');
     $g = new \Symfony\Component\HttpFoundation\RequestMatcher('^/consultas');
     $h = new \Symfony\Component\HttpFoundation\RequestMatcher('^/reportes');
     $i = new \Symfony\Component\HttpFoundation\RequestMatcher('^/consultantes');
     $j = new \Symfony\Component\HttpFoundation\RequestMatcher('^/rodas_xml');
     $k = new \Symfony\Component\HttpFoundation\RequestMatcher('^/editor');
     $l = new \Symfony\Component\HttpFoundation\RequestMatcher('^/admin');
     $m = new \Symfony\Component\Security\Http\AccessMap();
     $m->add($g, array(0 => 'ROLE_VIEWER'), NULL);
     $m->add($h, array(0 => 'ROLE_VIEWER'), NULL);
     $m->add($i, array(0 => 'ROLE_EDITOR'), NULL);
     $m->add($j, array(0 => 'ROLE_EDITOR'), NULL);
     $m->add($k, array(0 => 'ROLE_EDITOR'), NULL);
     $m->add($l, array(0 => 'ROLE_ADMIN'), NULL);
     $n = new \Symfony\Component\Security\Http\HttpUtils($d, $d);
     $o = new \Symfony\Component\Security\Http\Firewall\LogoutListener($b, $n, new \Symfony\Component\Security\Http\Logout\DefaultLogoutSuccessHandler($n, '/'), array('csrf_parameter' => '_csrf_token', 'intention' => 'logout', 'logout_path' => '/usuario/logout'));
     $o->addHandler(new \Symfony\Component\Security\Http\Logout\SessionLogoutHandler());
     $p = new \Symfony\Component\Security\Http\Authentication\DefaultAuthenticationSuccessHandler($n, array('login_path' => '/usuario/login', 'always_use_default_target_path' => false, 'default_target_path' => '/', 'target_path_parameter' => '_target_path', 'use_referer' => false));
     $p->setProviderKey('secured_area');
     return $this->services['security.firewall.map.context.secured_area'] = new \Symfony\Bundle\SecurityBundle\Security\FirewallContext(array(0 => new \Symfony\Component\Security\Http\Firewall\ChannelListener($m, new \Symfony\Component\Security\Http\EntryPoint\RetryAuthenticationEntryPoint(80, 443), $a), 1 => new \Symfony\Component\Security\Http\Firewall\ContextListener($b, array(0 => $this->get('security.user.provider.concrete.main')), 'secured_area', $a, $c), 2 => $o, 3 => new \Symfony\Component\Security\Http\Firewall\UsernamePasswordFormAuthenticationListener($b, $f, new \Symfony\Component\Security\Http\Session\SessionAuthenticationStrategy('migrate'), $n, 'secured_area', $p, new \Symfony\Component\Security\Http\Authentication\DefaultAuthenticationFailureHandler($e, $n, array('login_path' => '/usuario/login', 'failure_path' => NULL, 'failure_forward' => false, 'failure_path_parameter' => '_failure_path'), $a), array('check_path' => '/usuario/login_check', 'use_forward' => false, 'require_previous_session' => true, 'username_parameter' => '_username', 'password_parameter' => '_password', 'csrf_parameter' => '_csrf_token', 'intention' => 'authenticate', 'post_only' => true), $a, $c), 4 => new \Symfony\Component\Security\Http\Firewall\AnonymousAuthenticationListener($b, '5512b6086d2b1', $a), 5 => new \Symfony\Component\Security\Http\Firewall\AccessListener($b, $this->get('security.access.decision_manager'), $m, $f)), new \Symfony\Component\Security\Http\Firewall\ExceptionListener($b, $this->get('security.authentication.trust_resolver'), $n, 'secured_area', new \Symfony\Component\Security\Http\EntryPoint\FormAuthenticationEntryPoint($e, $n, '/usuario/login', false), NULL, NULL, $a));
 }
 protected function getSecurity_Firewall_Map_Context_SuperuserSecurityAreaService()
 {
     $a = $this->get('security.context');
     $b = $this->get('monolog.logger.security', ContainerInterface::NULL_ON_INVALID_REFERENCE);
     $c = $this->get('event_dispatcher', ContainerInterface::NULL_ON_INVALID_REFERENCE);
     $d = $this->get('security.http_utils');
     $e = $this->get('http_kernel');
     $f = new \Symfony\Component\Security\Http\Firewall\LogoutListener($a, $d, new \Symfony\Component\Security\Http\Logout\DefaultLogoutSuccessHandler($d, '/superuser'), array('csrf_parameter' => '_csrf_token', 'intention' => 'logout', 'logout_path' => '/superuser/logout'));
     $f->addHandler($this->get('security.logout.handler.session'));
     $g = new \Symfony\Component\Security\Http\Authentication\DefaultAuthenticationSuccessHandler($d, array('login_path' => '/superuser/login', 'always_use_default_target_path' => false, 'default_target_path' => '/', 'target_path_parameter' => '_target_path', 'use_referer' => false));
     $g->setProviderKey('superuser_security_area');
     return $this->services['security.firewall.map.context.superuser_security_area'] = new \Symfony\Bundle\SecurityBundle\Security\FirewallContext(array(0 => $this->get('security.channel_listener'), 1 => new \Symfony\Component\Security\Http\Firewall\ContextListener($a, array(0 => $this->get('security.user.provider.concrete.representative'), 1 => $this->get('security.user.provider.concrete.group'), 2 => $this->get('security.user.provider.concrete.superuser'), 3 => $this->get('security.user.provider.concrete.mobileuser')), 'superuser_security_area', $b, $c), 2 => $f, 3 => new \Symfony\Component\Security\Http\Firewall\UsernamePasswordFormAuthenticationListener($a, $this->get('security.authentication.manager'), $this->get('security.authentication.session_strategy'), $d, 'superuser_security_area', $g, new \Symfony\Component\Security\Http\Authentication\DefaultAuthenticationFailureHandler($e, $d, array('login_path' => '/superuser/login', 'failure_path' => NULL, 'failure_forward' => false, 'failure_path_parameter' => '_failure_path'), $b), array('check_path' => '/superuser/login_check', 'intention' => 'superuser_authentication', 'use_forward' => false, 'require_previous_session' => true, 'username_parameter' => '_username', 'password_parameter' => '_password', 'csrf_parameter' => '_csrf_token', 'post_only' => true), $b, $c, $this->get('form.csrf_provider')), 4 => $this->get('security.access_listener')), new \Symfony\Component\Security\Http\Firewall\ExceptionListener($a, $this->get('security.authentication.trust_resolver'), $d, 'superuser_security_area', new \Symfony\Component\Security\Http\EntryPoint\FormAuthenticationEntryPoint($e, $d, '/superuser/login', false), NULL, NULL, $b));
 }
 /**
  * Gets the 'security.firewall.map.context.general' service.
  *
  * This service is shared.
  * This method always returns the same instance of the service.
  *
  * @return \Symfony\Bundle\SecurityBundle\Security\FirewallContext A Symfony\Bundle\SecurityBundle\Security\FirewallContext instance.
  */
 protected function getSecurity_Firewall_Map_Context_GeneralService()
 {
     $a = $this->get('monolog.logger.security', ContainerInterface::NULL_ON_INVALID_REFERENCE);
     $b = $this->get('security.context');
     $c = $this->get('debug.event_dispatcher', ContainerInterface::NULL_ON_INVALID_REFERENCE);
     $d = $this->get('router', ContainerInterface::NULL_ON_INVALID_REFERENCE);
     $e = $this->get('http_kernel');
     $f = $this->get('security.authentication.manager');
     $g = new \Symfony\Component\HttpFoundation\RequestMatcher('^/administracion/usuario');
     $h = new \Symfony\Component\HttpFoundation\RequestMatcher('^/administracion/entidad');
     $i = new \Symfony\Component\HttpFoundation\RequestMatcher('^/administracion/servicio');
     $j = new \Symfony\Component\HttpFoundation\RequestMatcher('^/administracion/configuracion');
     $k = new \Symfony\Component\HttpFoundation\RequestMatcher('^/administracion/');
     $l = new \Symfony\Component\HttpFoundation\RequestMatcher('^/trazas/');
     $m = new \Symfony\Component\HttpFoundation\RequestMatcher('^/planificacion/plandiarioservicio');
     $n = new \Symfony\Component\HttpFoundation\RequestMatcher('^/planificacion/');
     $o = new \Symfony\Component\HttpFoundation\RequestMatcher('^/registro_lecturas/');
     $p = new \Symfony\Component\HttpFoundation\RequestMatcher('^/reporte/');
     $q = new \Symfony\Component\HttpFoundation\RequestMatcher('^/([0-9]+)/edit_password');
     $r = new \Symfony\Component\HttpFoundation\RequestMatcher('^/([0-9]+)/edit');
     $s = new \Symfony\Component\HttpFoundation\RequestMatcher('^/([0-9]+)/([a-z]+)/update');
     $t = new \Symfony\Component\Security\Http\AccessMap();
     $t->add($g, array(0 => 'ROLE_PLANIFICADOR_SUP', 1 => 'ROLE_ADMIN', 2 => 'ROLE_PLANIFICADOR_ENT'), NULL);
     $t->add($h, array(0 => 'ROLE_PLANIFICADOR_SUP', 1 => 'ROLE_ADMIN', 2 => 'ROLE_PLANIFICADOR_ENT'), NULL);
     $t->add($i, array(0 => 'ROLE_PLANIFICADOR_SUP', 1 => 'ROLE_ADMIN', 2 => 'ROLE_PLANIFICADOR_ENT'), NULL);
     $t->add($j, array(0 => 'ROLE_PLANIFICADOR_SUP', 1 => 'ROLE_ADMIN'), NULL);
     $t->add($k, array(0 => 'ROLE_ADMIN', 1 => 'ROLE_PLANIFICADOR_SUP'), NULL);
     $t->add($l, array(0 => 'ROLE_ADMIN', 1 => 'ROLE_PLANIFICADOR_SUP'), NULL);
     $t->add($m, array(0 => 'ROLE_PLANIFICADOR_SUP', 1 => 'ROLE_PLANIFICADOR_ENT', 2 => 'ROLE_PLANIFICADOR_SER'), NULL);
     $t->add($n, array(0 => 'ROLE_PLANIFICADOR_SUP', 1 => 'ROLE_PLANIFICADOR_ENT'), NULL);
     $t->add($o, array(0 => 'ROLE_PLANIFICADOR_SUP', 1 => 'ROLE_PLANIFICADOR_ENT', 2 => 'ROLE_PLANIFICADOR_SER', 3 => 'ROLE_REGISTRADOR_SER'), NULL);
     $t->add($p, array(0 => 'ROLE_PLANIFICADOR_SUP', 1 => 'ROLE_PLANIFICADOR_ENT', 2 => 'ROLE_PLANIFICADOR_SER', 3 => 'ROLE_REGISTRADOR_SER', 4 => 'ROLE_SUPERVISOR_SUP', 5 => 'ROLE_SUPERVISOR_ENT'), NULL);
     $t->add($q, array(0 => 'ROLE_ADMIN', 1 => 'ROLE_PLANIFICADOR_SUP', 2 => 'ROLE_PLANIFICADOR_ENT', 3 => 'ROLE_PLANIFICADOR_SER', 4 => 'ROLE_REGISTRADOR_SER', 5 => 'ROLE_SUPERVISOR_SUP', 6 => 'ROLE_SUPERVISOR_ENT'), NULL);
     $t->add($r, array(0 => 'ROLE_ADMIN', 1 => 'ROLE_PLANIFICADOR_SUP', 2 => 'ROLE_PLANIFICADOR_ENT', 3 => 'ROLE_PLANIFICADOR_SER', 4 => 'ROLE_REGISTRADOR_SER', 5 => 'ROLE_SUPERVISOR_SUP', 6 => 'ROLE_SUPERVISOR_ENT'), NULL);
     $t->add($s, array(0 => 'ROLE_ADMIN', 1 => 'ROLE_PLANIFICADOR_SUP', 2 => 'ROLE_PLANIFICADOR_ENT', 3 => 'ROLE_PLANIFICADOR_SER', 4 => 'ROLE_REGISTRADOR_SER', 5 => 'ROLE_SUPERVISOR_SUP', 6 => 'ROLE_SUPERVISOR_ENT'), NULL);
     $u = new \Symfony\Component\Security\Http\HttpUtils($d, $d);
     $v = new \Symfony\Component\Security\Http\Firewall\LogoutListener($b, $u, new \Symfony\Component\Security\Http\Logout\DefaultLogoutSuccessHandler($u, '/login'), array('csrf_parameter' => '_csrf_token', 'intention' => 'logout', 'logout_path' => '/logout'));
     $v->addHandler(new \Symfony\Component\Security\Http\Logout\SessionLogoutHandler());
     $w = new \Symfony\Component\Security\Http\Authentication\DefaultAuthenticationSuccessHandler($u, array('login_path' => '/login', 'default_target_path' => '/Inicio', 'always_use_default_target_path' => true, 'target_path_parameter' => '_target_path', 'use_referer' => false));
     $w->setProviderKey('general');
     return $this->services['security.firewall.map.context.general'] = new \Symfony\Bundle\SecurityBundle\Security\FirewallContext(array(0 => new \Symfony\Component\Security\Http\Firewall\ChannelListener($t, new \Symfony\Component\Security\Http\EntryPoint\RetryAuthenticationEntryPoint(80, 443), $a), 1 => new \Symfony\Component\Security\Http\Firewall\ContextListener($b, array(0 => $this->get('security.user.provider.concrete.usuarios')), 'general', $a, $c), 2 => $v, 3 => new \Symfony\Component\Security\Http\Firewall\UsernamePasswordFormAuthenticationListener($b, $f, new \Symfony\Component\Security\Http\Session\SessionAuthenticationStrategy('migrate'), $u, 'general', $w, new \Symfony\Component\Security\Http\Authentication\DefaultAuthenticationFailureHandler($e, $u, array('login_path' => '/login', 'failure_path' => NULL, 'failure_forward' => false, 'failure_path_parameter' => '_failure_path'), $a), array('check_path' => '/login_check', 'use_forward' => false, 'require_previous_session' => true, 'username_parameter' => '_username', 'password_parameter' => '_password', 'csrf_parameter' => '_csrf_token', 'intention' => 'authenticate', 'post_only' => true), $a, $c, NULL), 4 => new \Symfony\Component\Security\Http\Firewall\AnonymousAuthenticationListener($b, '5513ff3977104', $a), 5 => new \Symfony\Component\Security\Http\Firewall\AccessListener($b, $this->get('security.access.decision_manager'), $t, $f)), new \Symfony\Component\Security\Http\Firewall\ExceptionListener($b, $this->get('security.authentication.trust_resolver'), $u, 'general', new \Symfony\Component\Security\Http\EntryPoint\FormAuthenticationEntryPoint($e, $u, '/login', false), NULL, NULL, $a));
 }
 /**
  * Gets the 'security.firewall.map.context.oauth_authorize' service.
  *
  * This service is shared.
  * This method always returns the same instance of the service.
  *
  * @return \Symfony\Bundle\SecurityBundle\Security\FirewallContext A Symfony\Bundle\SecurityBundle\Security\FirewallContext instance
  */
 protected function getSecurity_Firewall_Map_Context_OauthAuthorizeService()
 {
     $a = $this->get('security.token_storage');
     $b = $this->get('monolog.logger.security', ContainerInterface::NULL_ON_INVALID_REFERENCE);
     $c = $this->get('debug.event_dispatcher', ContainerInterface::NULL_ON_INVALID_REFERENCE);
     $d = $this->get('security.authentication.trust_resolver');
     $e = $this->get('security.http_utils');
     $f = $this->get('http_kernel');
     $g = $this->get('security.authentication.manager');
     $h = new \Symfony\Component\Security\Http\Firewall\LogoutListener($a, $e, new \Symfony\Component\Security\Http\Logout\DefaultLogoutSuccessHandler($e, '/'), array('csrf_parameter' => '_csrf_token', 'csrf_token_id' => 'logout', 'logout_path' => '/logout'));
     $h->addHandler(new \Symfony\Component\Security\Http\Logout\SessionLogoutHandler());
     $i = new \Symfony\Component\Security\Http\Authentication\DefaultAuthenticationSuccessHandler($e, array());
     $i->setOptions(array('login_path' => '/oauth/v2/auth_login', 'always_use_default_target_path' => false, 'default_target_path' => '/', 'target_path_parameter' => '_target_path', 'use_referer' => false));
     $i->setProviderKey('oauth_authorize');
     $j = new \Symfony\Component\Security\Http\Authentication\DefaultAuthenticationFailureHandler($f, $e, array(), $b);
     $j->setOptions(array('login_path' => '/oauth/v2/auth_login', 'failure_path' => NULL, 'failure_forward' => false, 'failure_path_parameter' => '_failure_path'));
     return $this->services['security.firewall.map.context.oauth_authorize'] = new \Symfony\Bundle\SecurityBundle\Security\FirewallContext(array(0 => $this->get('security.channel_listener'), 1 => new \Symfony\Component\Security\Http\Firewall\ContextListener($a, array(0 => $this->get('fos_user.user_provider.username_email')), 'oauth_authorize', $b, $c, $d), 2 => $h, 3 => new \Symfony\Component\Security\Http\Firewall\UsernamePasswordFormAuthenticationListener($a, $g, $this->get('security.authentication.session_strategy'), $e, 'oauth_authorize', $i, $j, array('check_path' => '/oauth/v2/auth_login_check', 'use_forward' => false, 'require_previous_session' => true, 'username_parameter' => '_username', 'password_parameter' => '_password', 'csrf_parameter' => '_csrf_token', 'csrf_token_id' => 'authenticate', 'post_only' => true), $b, $c, $this->get('security.csrf.token_manager')), 4 => new \Symfony\Component\Security\Http\Firewall\AnonymousAuthenticationListener($a, '5837eec33309c3.45674512', $b, $g), 5 => $this->get('security.access_listener')), new \Symfony\Component\Security\Http\Firewall\ExceptionListener($a, $d, $e, 'oauth_authorize', new \Symfony\Component\Security\Http\EntryPoint\FormAuthenticationEntryPoint($f, $e, '/oauth/v2/auth_login', false), NULL, NULL, $b, false));
 }
 /**
  * Gets the 'security.firewall.map.context.secured_area' service.
  *
  * This service is shared.
  * This method always returns the same instance of the service.
  *
  * @return \Symfony\Bundle\SecurityBundle\Security\FirewallContext A Symfony\Bundle\SecurityBundle\Security\FirewallContext instance.
  */
 protected function getSecurity_Firewall_Map_Context_SecuredAreaService()
 {
     $a = $this->get('monolog.logger.security', ContainerInterface::NULL_ON_INVALID_REFERENCE);
     $b = $this->get('security.context');
     $c = $this->get('debug.event_dispatcher', ContainerInterface::NULL_ON_INVALID_REFERENCE);
     $d = $this->get('router', ContainerInterface::NULL_ON_INVALID_REFERENCE);
     $e = $this->get('http_kernel');
     $f = $this->get('security.authentication.manager');
     $g = new \Symfony\Component\HttpFoundation\RequestMatcher('^/login$');
     $h = new \Symfony\Component\HttpFoundation\RequestMatcher('^/register');
     $i = new \Symfony\Component\HttpFoundation\RequestMatcher('^/resetting');
     $j = new \Symfony\Component\HttpFoundation\RequestMatcher('^/empresa/*');
     $k = new \Symfony\Component\HttpFoundation\RequestMatcher('^/clasificadorticket/*');
     $l = new \Symfony\Component\HttpFoundation\RequestMatcher('^/clasificadorprioridad/*');
     $m = new \Symfony\Component\HttpFoundation\RequestMatcher('^/clasificadorestado/*');
     $n = new \Symfony\Component\HttpFoundation\RequestMatcher('^/clasificadoretapa/*');
     $o = new \Symfony\Component\HttpFoundation\RequestMatcher('^/proyecto/new');
     $p = new \Symfony\Component\HttpFoundation\RequestMatcher('^/proyecto/edit/*');
     $q = new \Symfony\Component\HttpFoundation\RequestMatcher('^/proyecto/*', NULL, array(0 => 'DELETE', 1 => 'PUT'));
     $r = new \Symfony\Component\HttpFoundation\RequestMatcher('^/proyectos/');
     $s = new \Symfony\Component\HttpFoundation\RequestMatcher('^/security/');
     $t = new \Symfony\Component\HttpFoundation\RequestMatcher('^/');
     $u = new \Symfony\Component\Security\Http\AccessMap();
     $u->add($g, array(0 => 'IS_AUTHENTICATED_ANONYMOUSLY'), NULL);
     $u->add($h, array(0 => 'IS_AUTHENTICATED_ANONYMOUSLY'), NULL);
     $u->add($i, array(0 => 'IS_AUTHENTICATED_ANONYMOUSLY'), NULL);
     $u->add($j, array(0 => 'ROLE_ADMIN'), NULL);
     $u->add($k, array(0 => 'ROLE_ADMIN'), NULL);
     $u->add($l, array(0 => 'ROLE_ADMIN'), NULL);
     $u->add($m, array(0 => 'ROLE_ADMIN'), NULL);
     $u->add($n, array(0 => 'ROLE_ADMIN'), NULL);
     $u->add($o, array(0 => 'ROLE_ADMIN'), NULL);
     $u->add($p, array(0 => 'ROLE_ADMIN'), NULL);
     $u->add($q, array(0 => 'ROLE_ADMIN'), NULL);
     $u->add($r, array(0 => 'ROLE_USER'), NULL);
     $u->add($s, array(0 => 'ROLE_SUPER_ADMIN'), NULL);
     $u->add($t, array(0 => 'ROLE_USER'), NULL);
     $v = new \Symfony\Component\Security\Http\HttpUtils($d, $d);
     $w = new \Symfony\Component\Security\Http\Firewall\LogoutListener($b, $v, new \Symfony\Component\Security\Http\Logout\DefaultLogoutSuccessHandler($v, '/'), array('csrf_parameter' => '_csrf_token', 'intention' => 'logout', 'logout_path' => '/logout'));
     $w->addHandler(new \Symfony\Component\Security\Http\Logout\SessionLogoutHandler());
     $x = new \Symfony\Component\Security\Http\Authentication\DefaultAuthenticationSuccessHandler($v, array('always_use_default_target_path' => false, 'default_target_path' => '/', 'login_path' => '/login', 'target_path_parameter' => '_target_path', 'use_referer' => false));
     $x->setProviderKey('secured_area');
     $y = new \Symfony\Component\Security\Http\EntryPoint\FormAuthenticationEntryPoint($e, $v, '/login', false);
     return $this->services['security.firewall.map.context.secured_area'] = new \Symfony\Bundle\SecurityBundle\Security\FirewallContext(array(0 => new \Symfony\Component\Security\Http\Firewall\ChannelListener($u, new \Symfony\Component\Security\Http\EntryPoint\RetryAuthenticationEntryPoint(80, 443), $a), 1 => new \Symfony\Component\Security\Http\Firewall\ContextListener($b, array(0 => $this->get('security.user.provider.concrete.chain_provider'), 1 => $this->get('fos_user.user_provider.username'), 2 => $this->get('security.user.provider.concrete.in_memory')), 'secured_area', $a, $c), 2 => $w, 3 => new \Symfony\Component\Security\Http\Firewall\UsernamePasswordFormAuthenticationListener($b, $f, $this->get('security.authentication.session_strategy'), $v, 'secured_area', $x, new \Symfony\Component\Security\Http\Authentication\DefaultAuthenticationFailureHandler($e, $v, array('login_path' => '/login', 'failure_path' => NULL, 'failure_forward' => false, 'failure_path_parameter' => '_failure_path'), $a), array('check_path' => '/login_check', 'use_forward' => false, 'require_previous_session' => true, 'username_parameter' => '_username', 'password_parameter' => '_password', 'csrf_parameter' => '_csrf_token', 'intention' => 'authenticate', 'post_only' => true), $a, $c, $this->get('form.csrf_provider')), 4 => new \Symfony\Component\Security\Http\Firewall\BasicAuthenticationListener($b, $f, 'secured_area', $y, $a), 5 => new \Symfony\Component\Security\Http\Firewall\AnonymousAuthenticationListener($b, '56b6005964447', $a), 6 => new \Symfony\Component\Security\Http\Firewall\AccessListener($b, $this->get('security.access.decision_manager'), $u, $f)), new \Symfony\Component\Security\Http\Firewall\ExceptionListener($b, $this->get('security.authentication.trust_resolver'), $v, 'secured_area', $y, NULL, NULL, $a));
 }
 protected function getSecurity_Firewall_Map_Context_LoginService()
 {
     $a = $this->get('monolog.logger.security', ContainerInterface::NULL_ON_INVALID_REFERENCE);
     $b = $this->get('security.context');
     $c = $this->get('event_dispatcher', ContainerInterface::NULL_ON_INVALID_REFERENCE);
     $d = $this->get('router', ContainerInterface::NULL_ON_INVALID_REFERENCE);
     $e = $this->get('http_kernel');
     $f = $this->get('security.authentication.manager');
     $g = new \Symfony\Component\HttpFoundation\RequestMatcher('/Villas/Add/$');
     $h = new \Symfony\Component\HttpFoundation\RequestMatcher('/Villas/Edit/*$');
     $i = new \Symfony\Component\Security\Http\AccessMap();
     $i->add($g, array(0 => 'ROLE_USER'), NULL);
     $i->add($h, array(0 => 'ROLE_OWNER'), NULL);
     $j = new \Symfony\Component\Security\Http\HttpUtils($d, $d);
     $k = new \Symfony\Component\Security\Http\Firewall\LogoutListener($b, $j, new \Symfony\Component\Security\Http\Logout\DefaultLogoutSuccessHandler($j, '_homepage'), array('csrf_parameter' => '_csrf_token', 'intention' => 'logout', 'logout_path' => '_LogOut'));
     $k->addHandler(new \Symfony\Component\Security\Http\Logout\SessionLogoutHandler());
     $l = new \Symfony\Component\Security\Http\Authentication\DefaultAuthenticationSuccessHandler($j, array('login_path' => '_log_in', 'default_target_path' => '_homepage', 'always_use_default_target_path' => false, 'target_path_parameter' => '_target_path', 'use_referer' => false));
     $l->setProviderKey('login');
     return $this->services['security.firewall.map.context.login'] = new \Symfony\Bundle\SecurityBundle\Security\FirewallContext(array(0 => new \Symfony\Component\Security\Http\Firewall\ChannelListener($i, new \Symfony\Component\Security\Http\EntryPoint\RetryAuthenticationEntryPoint(80, 443), $a), 1 => new \Symfony\Component\Security\Http\Firewall\ContextListener($b, array(0 => $this->get('security.user.provider.concrete.main')), 'login', $a, $c), 2 => $k, 3 => new \Symfony\Component\Security\Http\Firewall\UsernamePasswordFormAuthenticationListener($b, $f, new \Symfony\Component\Security\Http\Session\SessionAuthenticationStrategy('migrate'), $j, 'login', $l, new \Symfony\Component\Security\Http\Authentication\DefaultAuthenticationFailureHandler($e, $j, array('login_path' => '_log_in', 'failure_path' => NULL, 'failure_forward' => false, 'failure_path_parameter' => '_failure_path'), $a), array('check_path' => '_login_check', 'use_forward' => false, 'require_previous_session' => true, 'username_parameter' => '_username', 'password_parameter' => '_password', 'csrf_parameter' => '_csrf_token', 'intention' => 'authenticate', 'post_only' => true), $a, $c, $this->get('form.csrf_provider')), 4 => new \Symfony\Component\Security\Http\Firewall\AnonymousAuthenticationListener($b, '539f222ab3040', $a), 5 => new \Symfony\Component\Security\Http\Firewall\AccessListener($b, $this->get('security.access.decision_manager'), $i, $f)), new \Symfony\Component\Security\Http\Firewall\ExceptionListener($b, $this->get('security.authentication.trust_resolver'), $j, 'login', new \Symfony\Component\Security\Http\EntryPoint\FormAuthenticationEntryPoint($e, $j, '_log_in', false), NULL, NULL, $a));
 }
 /**
  * Gets the 'security.firewall.map.context.secured_area' service.
  *
  * This service is shared.
  * This method always returns the same instance of the service.
  *
  * @return \Symfony\Bundle\SecurityBundle\Security\FirewallContext A Symfony\Bundle\SecurityBundle\Security\FirewallContext instance.
  */
 protected function getSecurity_Firewall_Map_Context_SecuredAreaService()
 {
     $a = $this->get('security.context');
     $b = $this->get('monolog.logger.security', ContainerInterface::NULL_ON_INVALID_REFERENCE);
     $c = $this->get('debug.event_dispatcher', ContainerInterface::NULL_ON_INVALID_REFERENCE);
     $d = $this->get('security.http_utils');
     $e = $this->get('http_kernel');
     $f = $this->get('security.authentication.manager');
     $g = new \Symfony\Component\Security\Http\Firewall\LogoutListener($a, $d, new \Symfony\Component\Security\Http\Logout\DefaultLogoutSuccessHandler($d, 'utilisateur_connexion'), array('csrf_parameter' => '_csrf_token', 'intention' => 'logout', 'logout_path' => 'utilisateur_deconnexion'));
     $g->addHandler(new \Symfony\Component\Security\Http\Logout\SessionLogoutHandler());
     $h = new \Symfony\Component\Security\Http\Authentication\DefaultAuthenticationFailureHandler($e, $d, array(), $b);
     $h->setOptions(array('login_path' => 'utilisateur_connexion', 'failure_path' => NULL, 'failure_forward' => false, 'failure_path_parameter' => '_failure_path'));
     return $this->services['security.firewall.map.context.secured_area'] = new \Symfony\Bundle\SecurityBundle\Security\FirewallContext(array(0 => $this->get('security.channel_listener'), 1 => new \Symfony\Component\Security\Http\Firewall\ContextListener($a, array(0 => $this->get('security.user.provider.concrete.administrators')), 'secured_area', $b, $c), 2 => $g, 3 => new \Symfony\Component\Security\Http\Firewall\UsernamePasswordFormAuthenticationListener($a, $f, new \Symfony\Component\Security\Http\Session\SessionAuthenticationStrategy('migrate'), $d, 'secured_area', new \Symfony\Component\Security\Http\Authentication\CustomAuthenticationSuccessHandler($this->get('login_success_handler'), array('default_target_path' => '/fr/admin/lister_utilisateur', 'login_path' => 'utilisateur_connexion', 'always_use_default_target_path' => false, 'target_path_parameter' => '_target_path', 'use_referer' => false), 'secured_area'), $h, array('check_path' => 'utilisateur_connexion_check', 'username_parameter' => '_username', 'password_parameter' => '_password', 'post_only' => true, 'use_forward' => false, 'require_previous_session' => true, 'csrf_parameter' => '_csrf_token', 'intention' => 'authenticate'), $b, $c, NULL), 4 => new \Symfony\Component\Security\Http\Firewall\AnonymousAuthenticationListener($a, '566adae232121', $b, $f), 5 => $this->get('security.access_listener')), new \Symfony\Component\Security\Http\Firewall\ExceptionListener($a, $this->get('security.authentication.trust_resolver'), $d, 'secured_area', new \Symfony\Component\Security\Http\EntryPoint\FormAuthenticationEntryPoint($e, $d, 'utilisateur_connexion', false), NULL, NULL, $b));
 }
 protected function getSecurity_Firewall_Map_Context_MainService()
 {
     $a = $this->get('monolog.logger.security', ContainerInterface::NULL_ON_INVALID_REFERENCE);
     $b = $this->get('security.context');
     $c = $this->get('fos_user.user_provider.username_email');
     $d = $this->get('event_dispatcher', ContainerInterface::NULL_ON_INVALID_REFERENCE);
     $e = $this->get('router', ContainerInterface::NULL_ON_INVALID_REFERENCE);
     $f = $this->get('http_kernel');
     $g = $this->get('security.authentication.manager');
     $h = $this->get('security.access.decision_manager');
     $i = new \Symfony\Component\HttpFoundation\RequestMatcher('^/login$');
     $j = new \Symfony\Component\HttpFoundation\RequestMatcher('^/register');
     $k = new \Symfony\Component\HttpFoundation\RequestMatcher('^/resetting');
     $l = new \Symfony\Component\HttpFoundation\RequestMatcher('^/my-rides');
     $m = new \Symfony\Component\HttpFoundation\RequestMatcher('^/profile');
     $n = new \Symfony\Component\HttpFoundation\RequestMatcher('^/account-info');
     $o = new \Symfony\Component\HttpFoundation\RequestMatcher('^/offer-ride/new/');
     $p = new \Symfony\Component\Security\Http\AccessMap();
     $p->add($i, array(0 => 'IS_AUTHENTICATED_ANONYMOUSLY'), NULL);
     $p->add($j, array(0 => 'IS_AUTHENTICATED_ANONYMOUSLY'), NULL);
     $p->add($k, array(0 => 'IS_AUTHENTICATED_ANONYMOUSLY'), NULL);
     $p->add($l, array(0 => 'IS_AUTHENTICATED_REMEMBERED', 1 => 'IS_AUTHENTICATED_FULLY'), NULL);
     $p->add($m, array(0 => 'IS_AUTHENTICATED_REMEMBERED', 1 => 'IS_AUTHENTICATED_FULLY'), NULL);
     $p->add($n, array(0 => 'IS_AUTHENTICATED_REMEMBERED', 1 => 'IS_AUTHENTICATED_FULLY'), NULL);
     $p->add($o, array(0 => 'IS_AUTHENTICATED_REMEMBERED', 1 => 'IS_AUTHENTICATED_FULLY'), NULL);
     $q = new \Symfony\Component\Security\Http\HttpUtils($e, $e);
     $r = new \Symfony\Component\Security\Http\Firewall\LogoutListener($b, $q, new \Symfony\Component\Security\Http\Logout\DefaultLogoutSuccessHandler($q, '/'), array('csrf_parameter' => '_csrf_token', 'intention' => 'logout', 'logout_path' => '/logout'));
     $r->addHandler(new \Symfony\Component\Security\Http\Logout\SessionLogoutHandler());
     $s = new \Symfony\Component\Security\Http\Authentication\DefaultAuthenticationSuccessHandler($q, array('login_path' => '/login', 'default_target_path' => '/', 'always_use_default_target_path' => false, 'target_path_parameter' => '_target_path', 'use_referer' => false));
     $s->setProviderKey('main');
     return $this->services['security.firewall.map.context.main'] = new \Symfony\Bundle\SecurityBundle\Security\FirewallContext(array(0 => new \Symfony\Component\Security\Http\Firewall\ChannelListener($p, new \Symfony\Component\Security\Http\EntryPoint\RetryAuthenticationEntryPoint(80, 443), $a), 1 => new \Symfony\Component\Security\Http\Firewall\ContextListener($b, array(0 => $c), 'main', $a, $d), 2 => $r, 3 => new \Symfony\Component\Security\Http\Firewall\UsernamePasswordFormAuthenticationListener($b, $g, $this->get('security.authentication.session_strategy'), $q, 'main', $s, new \Symfony\Component\Security\Http\Authentication\DefaultAuthenticationFailureHandler($f, $q, array('login_path' => '/login', 'failure_path' => NULL, 'failure_forward' => false, 'failure_path_parameter' => '_failure_path'), $a), array('check_path' => '/login_check', 'use_forward' => false, 'require_previous_session' => true, 'username_parameter' => '_username', 'password_parameter' => '_password', 'csrf_parameter' => '_csrf_token', 'intention' => 'authenticate', 'post_only' => true), $a, $d, $this->get('form.csrf_provider')), 4 => new \Symfony\Component\Security\Http\Firewall\AnonymousAuthenticationListener($b, '5400ec6aceafb', $a), 5 => new \Symfony\Component\Security\Http\Firewall\AccessListener($b, $h, $p, $g), 6 => new \Symfony\Component\Security\Http\Firewall\SwitchUserListener($b, $c, $this->get('security.user_checker'), 'main', $h, $a, '_switch_user', 'ROLE_ALLOWED_TO_SWITCH', $d)), new \Symfony\Component\Security\Http\Firewall\ExceptionListener($b, $this->get('security.authentication.trust_resolver'), $q, 'main', new \Symfony\Component\Security\Http\EntryPoint\FormAuthenticationEntryPoint($f, $q, '/login', false), NULL, NULL, $a));
 }
 /**
  * Gets the 'security.firewall.map.context.secured_area' service.
  *
  * This service is shared.
  * This method always returns the same instance of the service.
  *
  * @return \Symfony\Bundle\SecurityBundle\Security\FirewallContext A Symfony\Bundle\SecurityBundle\Security\FirewallContext instance.
  */
 protected function getSecurity_Firewall_Map_Context_SecuredAreaService()
 {
     $a = $this->get('monolog.logger.security', ContainerInterface::NULL_ON_INVALID_REFERENCE);
     $b = $this->get('security.token_storage');
     $c = $this->get('debug.event_dispatcher', ContainerInterface::NULL_ON_INVALID_REFERENCE);
     $d = $this->get('router', ContainerInterface::NULL_ON_INVALID_REFERENCE);
     $e = $this->get('http_kernel');
     $f = $this->get('security.authentication.manager');
     $g = new \Symfony\Component\HttpFoundation\RequestMatcher('^/admin');
     $h = new \Symfony\Component\HttpFoundation\RequestMatcher('^/asistente');
     $i = new \Symfony\Component\HttpFoundation\RequestMatcher('^/profesor');
     $j = new \Symfony\Component\HttpFoundation\RequestMatcher('^/rol');
     $k = new \Symfony\Component\HttpFoundation\RequestMatcher('^/login');
     $l = new \Symfony\Component\HttpFoundation\RequestMatcher('^/');
     $m = new \Symfony\Component\Security\Http\AccessMap();
     $m->add($g, array(0 => 'ROLE_ADMINISTRADOR'), NULL);
     $m->add($h, array(0 => 'ROLE_ASISTENTE'), NULL);
     $m->add($i, array(0 => 'ROLE_PROFESOR'), NULL);
     $m->add($j, array(0 => 'ROLE_ADMINISTRADOR'), NULL);
     $m->add($k, array(0 => 'IS_AUTHENTICATED_ANONYMOUSLY'), NULL);
     $m->add($l, array(0 => 'IS_AUTHENTICATED_FULLY'), NULL);
     $n = new \Symfony\Component\Security\Http\HttpUtils($d, $d);
     $o = new \Symfony\Component\Security\Http\Firewall\LogoutListener($b, $n, new \Symfony\Component\Security\Http\Logout\DefaultLogoutSuccessHandler($n, '/admin'), array('csrf_parameter' => '_csrf_token', 'intention' => 'logout', 'logout_path' => '/logout'));
     $o->addHandler(new \Symfony\Component\Security\Http\Logout\CookieClearingLogoutHandler(array('name' => array('path' => NULL, 'domain' => NULL), 'path' => array('path' => NULL, 'domain' => NULL), 'domain' => array('path' => NULL, 'domain' => NULL))));
     $p = new \Symfony\Component\Security\Http\Authentication\DefaultAuthenticationSuccessHandler($n, array());
     $p->setOptions(array('login_path' => '/login', 'use_referer' => false, 'always_use_default_target_path' => true, 'default_target_path' => '/login', 'target_path_parameter' => '_target_path'));
     $p->setProviderKey('secured_area');
     $q = new \Symfony\Component\Security\Http\Authentication\DefaultAuthenticationFailureHandler($e, $n, array(), $a);
     $q->setOptions(array('login_path' => '/login', 'failure_path' => NULL, 'failure_forward' => false, 'failure_path_parameter' => '_failure_path'));
     return $this->services['security.firewall.map.context.secured_area'] = new \Symfony\Bundle\SecurityBundle\Security\FirewallContext(array(0 => new \Symfony\Component\Security\Http\Firewall\ChannelListener($m, new \Symfony\Component\Security\Http\EntryPoint\RetryAuthenticationEntryPoint(80, 443), $a), 1 => new \Symfony\Component\Security\Http\Firewall\ContextListener($b, array(0 => $this->get('security.user.provider.concrete.user_db')), 'secured_area', $a, $c), 2 => $o, 3 => new \Symfony\Component\Security\Http\Firewall\UsernamePasswordFormAuthenticationListener($b, $f, new \Symfony\Component\Security\Http\Session\SessionAuthenticationStrategy('migrate'), $n, 'secured_area', $p, $q, array('check_path' => '/login_check', 'use_forward' => false, 'require_previous_session' => true, 'username_parameter' => '_username', 'password_parameter' => '_password', 'csrf_parameter' => '_csrf_token', 'intention' => 'authenticate', 'post_only' => true), $a, $c, NULL), 4 => new \Symfony\Component\Security\Http\Firewall\AnonymousAuthenticationListener($b, '5699352edbcc00.70786504', $a, $f), 5 => new \Symfony\Component\Security\Http\Firewall\AccessListener($b, $this->get('security.access.decision_manager'), $m, $f)), new \Symfony\Component\Security\Http\Firewall\ExceptionListener($b, $this->get('security.authentication.trust_resolver'), $n, 'secured_area', new \Symfony\Component\Security\Http\EntryPoint\FormAuthenticationEntryPoint($e, $n, '/login', false), NULL, NULL, $a, false));
 }
 /**
  * Gets the 'security.firewall.map.context.main' service.
  *
  * This service is shared.
  * This method always returns the same instance of the service.
  *
  * @return \Symfony\Bundle\SecurityBundle\Security\FirewallContext A Symfony\Bundle\SecurityBundle\Security\FirewallContext instance.
  */
 protected function getSecurity_Firewall_Map_Context_MainService()
 {
     $a = $this->get('monolog.logger.security', ContainerInterface::NULL_ON_INVALID_REFERENCE);
     $b = $this->get('security.context');
     $c = $this->get('event_dispatcher', ContainerInterface::NULL_ON_INVALID_REFERENCE);
     $d = $this->get('router', ContainerInterface::NULL_ON_INVALID_REFERENCE);
     $e = $this->get('http_kernel');
     $f = $this->get('security.authentication.manager');
     $g = new \Symfony\Component\HttpFoundation\RequestMatcher('^/login$');
     $h = new \Symfony\Component\HttpFoundation\RequestMatcher('^/register');
     $i = new \Symfony\Component\HttpFoundation\RequestMatcher('^/resetting');
     $j = new \Symfony\Component\HttpFoundation\RequestMatcher('^/admin/');
     $k = new \Symfony\Component\HttpFoundation\RequestMatcher('^/indexSUPAD');
     $l = new \Symfony\Component\HttpFoundation\RequestMatcher('^/updateProfile');
     $m = new \Symfony\Component\HttpFoundation\RequestMatcher('^/updOtherUser');
     $n = new \Symfony\Component\HttpFoundation\RequestMatcher('^/deleteUser');
     $o = new \Symfony\Component\HttpFoundation\RequestMatcher('^/listerUsers');
     $p = new \Symfony\Component\HttpFoundation\RequestMatcher('^/displayProfile');
     $q = new \Symfony\Component\HttpFoundation\RequestMatcher('^/chartGantt');
     $r = new \Symfony\Component\HttpFoundation\RequestMatcher('^/suivieChart');
     $s = new \Symfony\Component\HttpFoundation\RequestMatcher('^/calculTole');
     $t = new \Symfony\Component\HttpFoundation\RequestMatcher('^/listerTole');
     $u = new \Symfony\Component\HttpFoundation\RequestMatcher('^/listProjet');
     $v = new \Symfony\Component\HttpFoundation\RequestMatcher('^/listAvancement');
     $w = new \Symfony\Component\HttpFoundation\RequestMatcher('^/listPlanification');
     $x = new \Symfony\Component\HttpFoundation\RequestMatcher('^/listGantt');
     $y = new \Symfony\Component\HttpFoundation\RequestMatcher('^/listMAD');
     $z = new \Symfony\Component\HttpFoundation\RequestMatcher('^/addProjet');
     $aa = new \Symfony\Component\HttpFoundation\RequestMatcher('^/addClient');
     $ba = new \Symfony\Component\HttpFoundation\RequestMatcher('^/listClient');
     $ca = new \Symfony\Component\HttpFoundation\RequestMatcher('^/listTole');
     $da = new \Symfony\Component\HttpFoundation\RequestMatcher('^/addAvancement');
     $ea = new \Symfony\Component\HttpFoundation\RequestMatcher('^/addGantt');
     $fa = new \Symfony\Component\HttpFoundation\RequestMatcher('^/addPlanification');
     $ga = new \Symfony\Component\HttpFoundation\RequestMatcher('^/addMAD');
     $ha = new \Symfony\Component\HttpFoundation\RequestMatcher('^/indexTech');
     $ia = new \Symfony\Component\HttpFoundation\RequestMatcher('^/updTole');
     $ja = new \Symfony\Component\HttpFoundation\RequestMatcher('^/indexLog');
     $ka = new \Symfony\Component\HttpFoundation\RequestMatcher('^/addStock');
     $la = new \Symfony\Component\HttpFoundation\RequestMatcher('^/listStock');
     $ma = new \Symfony\Component\HttpFoundation\RequestMatcher('^/addMvt');
     $na = new \Symfony\Component\HttpFoundation\RequestMatcher('^/listMvt');
     $oa = new \Symfony\Component\HttpFoundation\RequestMatcher('^/listAllMvt');
     $pa = new \Symfony\Component\HttpFoundation\RequestMatcher('^/listDmd');
     $qa = new \Symfony\Component\HttpFoundation\RequestMatcher('^/updDmd');
     $ra = new \Symfony\Component\Security\Http\AccessMap();
     $ra->add($g, array(0 => 'IS_AUTHENTICATED_ANONYMOUSLY'), NULL);
     $ra->add($h, array(0 => 'ROLE_ADMIN'), NULL);
     $ra->add($i, array(0 => 'ROLE_ADMIN'), NULL);
     $ra->add($j, array(0 => 'ROLE_ADMIN'), NULL);
     $ra->add($k, array(0 => 'ROLE_ADMIN'), NULL);
     $ra->add($l, array(0 => 'ROLE_ADMIN'), NULL);
     $ra->add($m, array(0 => 'ROLE_ADMIN'), NULL);
     $ra->add($n, array(0 => 'ROLE_ADMIN'), NULL);
     $ra->add($o, array(0 => 'ROLE_ADMIN'), NULL);
     $ra->add($p, array(0 => 'ROLE_ADMIN'), NULL);
     $ra->add($q, array(0 => 'ROLE_ADMIN', 1 => 'ROLE_TECHNIQUE'), NULL);
     $ra->add($r, array(0 => 'ROLE_ADMIN', 1 => 'ROLE_TECHNIQUE'), NULL);
     $ra->add($s, array(0 => 'ROLE_ADMIN', 1 => 'ROLE_TECHNIQUE'), NULL);
     $ra->add($t, array(0 => 'ROLE_ADMIN', 1 => 'ROLE_TECHNIQUE'), NULL);
     $ra->add($u, array(0 => 'ROLE_ADMIN', 1 => 'ROLE_TECHNIQUE'), NULL);
     $ra->add($v, array(0 => 'ROLE_ADMIN', 1 => 'ROLE_TECHNIQUE'), NULL);
     $ra->add($w, array(0 => 'ROLE_ADMIN', 1 => 'ROLE_TECHNIQUE'), NULL);
     $ra->add($x, array(0 => 'ROLE_ADMIN', 1 => 'ROLE_TECHNIQUE'), NULL);
     $ra->add($y, array(0 => 'ROLE_ADMIN', 1 => 'ROLE_TECHNIQUE'), NULL);
     $ra->add($z, array(0 => 'ROLE_ADMIN', 1 => 'ROLE_TECHNIQUE'), NULL);
     $ra->add($aa, array(0 => 'ROLE_ADMIN', 1 => 'ROLE_TECHNIQUE'), NULL);
     $ra->add($ba, array(0 => 'ROLE_ADMIN', 1 => 'ROLE_TECHNIQUE'), NULL);
     $ra->add($ca, array(0 => 'ROLE_ADMIN', 1 => 'ROLE_TECHNIQUE'), NULL);
     $ra->add($da, array(0 => 'ROLE_ADMIN', 1 => 'ROLE_TECHNIQUE'), NULL);
     $ra->add($ea, array(0 => 'ROLE_ADMIN', 1 => 'ROLE_TECHNIQUE'), NULL);
     $ra->add($fa, array(0 => 'ROLE_ADMIN', 1 => 'ROLE_TECHNIQUE'), NULL);
     $ra->add($ga, array(0 => 'ROLE_ADMIN', 1 => 'ROLE_TECHNIQUE'), NULL);
     $ra->add($ha, array(0 => 'ROLE_ADMIN', 1 => 'ROLE_TECHNIQUE'), NULL);
     $ra->add($ia, array(0 => 'ROLE_ADMIN', 1 => 'ROLE_TECHNIQUE'), NULL);
     $ra->add($ja, array(0 => 'ROLE_ADMIN', 1 => 'ROLE_LOGISTIQUE'), NULL);
     $ra->add($ka, array(0 => 'ROLE_ADMIN', 1 => 'ROLE_LOGISTIQUE'), NULL);
     $ra->add($la, array(0 => 'ROLE_ADMIN', 1 => 'ROLE_LOGISTIQUE'), NULL);
     $ra->add($ma, array(0 => 'ROLE_ADMIN', 1 => 'ROLE_LOGISTIQUE'), NULL);
     $ra->add($na, array(0 => 'ROLE_ADMIN', 1 => 'ROLE_LOGISTIQUE'), NULL);
     $ra->add($oa, array(0 => 'ROLE_ADMIN', 1 => 'ROLE_LOGISTIQUE'), NULL);
     $ra->add($pa, array(0 => 'ROLE_ADMIN', 1 => 'ROLE_LOGISTIQUE'), NULL);
     $ra->add($qa, array(0 => 'ROLE_ADMIN', 1 => 'ROLE_LOGISTIQUE'), NULL);
     $sa = new \Symfony\Component\Security\Http\HttpUtils($d, $d);
     $ta = new \Symfony\Component\Security\Http\Firewall\LogoutListener($b, $sa, new \Symfony\Component\Security\Http\Logout\DefaultLogoutSuccessHandler($sa, '/login'), array('csrf_parameter' => '_csrf_token', 'intention' => 'logout', 'logout_path' => '/logout'));
     $ta->addHandler(new \Symfony\Component\Security\Http\Logout\SessionLogoutHandler());
     return $this->services['security.firewall.map.context.main'] = new \Symfony\Bundle\SecurityBundle\Security\FirewallContext(array(0 => new \Symfony\Component\Security\Http\Firewall\ChannelListener($ra, new \Symfony\Component\Security\Http\EntryPoint\RetryAuthenticationEntryPoint(80, 443), $a), 1 => new \Symfony\Component\Security\Http\Firewall\ContextListener($b, array(0 => $this->get('fos_user.user_provider.username')), 'main', $a, $c), 2 => $ta, 3 => new \Symfony\Component\Security\Http\Firewall\UsernamePasswordFormAuthenticationListener($b, $f, $this->get('security.authentication.session_strategy'), $sa, 'main', $this->get('redirect.after.login'), new \Symfony\Component\Security\Http\Authentication\DefaultAuthenticationFailureHandler($e, $sa, array('login_path' => '/login', 'failure_path' => NULL, 'failure_forward' => false, 'failure_path_parameter' => '_failure_path'), $a), array('check_path' => '/login_check', 'use_forward' => false, 'require_previous_session' => true, 'username_parameter' => '_username', 'password_parameter' => '_password', 'csrf_parameter' => '_csrf_token', 'intention' => 'authenticate', 'post_only' => true), $a, $c, $this->get('form.csrf_provider')), 4 => new \Symfony\Component\Security\Http\Firewall\AnonymousAuthenticationListener($b, '56073aa7d921c', $a), 5 => new \Symfony\Component\Security\Http\Firewall\AccessListener($b, $this->get('security.access.decision_manager'), $ra, $f)), new \Symfony\Component\Security\Http\Firewall\ExceptionListener($b, $this->get('security.authentication.trust_resolver'), $sa, 'main', new \Symfony\Component\Security\Http\EntryPoint\FormAuthenticationEntryPoint($e, $sa, '/login', false), NULL, NULL, $a));
 }
    /**
     * Gets the 'security.firewall.map.context.public' service.
     *
     * This service is shared.
     * This method always returns the same instance of the service.
     *
     * @return \Symfony\Bundle\SecurityBundle\Security\FirewallContext A Symfony\Bundle\SecurityBundle\Security\FirewallContext instance.
     */
    protected function getSecurity_Firewall_Map_Context_PublicService()
    {
        $a = $this->get('monolog.logger.security', ContainerInterface::NULL_ON_INVALID_REFERENCE);
        $b = $this->get('fos_user.user_manager');
        $c = $this->get('my.facebook.user');
        $d = $this->get('security.context');
        $e = $this->get('debug.event_dispatcher', ContainerInterface::NULL_ON_INVALID_REFERENCE);
        $f = $this->get('router', ContainerInterface::NULL_ON_INVALID_REFERENCE);
        $g = $this->get('http_kernel');
        $h = $this->get('security.authentication.manager');
        $i = $this->get('security.authentication.session_strategy');

        $j = new \Symfony\Component\HttpFoundation\RequestMatcher('^/login$');

        $k = new \Symfony\Component\HttpFoundation\RequestMatcher('^/register');

        $l = new \Symfony\Component\HttpFoundation\RequestMatcher('^/resetting');

        $m = new \Symfony\Component\HttpFoundation\RequestMatcher('^/app');

        $n = new \Symfony\Component\HttpFoundation\RequestMatcher('^/secured/.*');

        $o = new \Symfony\Component\Security\Http\AccessMap();
        $o->add($j, array(0 => 'IS_AUTHENTICATED_ANONYMOUSLY'), NULL);
        $o->add($k, array(0 => 'IS_AUTHENTICATED_ANONYMOUSLY'), NULL);
        $o->add($l, array(0 => 'IS_AUTHENTICATED_ANONYMOUSLY'), NULL);
        $o->add($m, array(0 => 'IS_AUTHENTICATED_ANONYMOUSLY'), NULL);
        $o->add($n, array(0 => 'ROLE_FACEBOOK'), NULL);

        $p = new \Symfony\Component\Security\Http\HttpUtils($f, $f);

        $q = new \Symfony\Component\Security\Http\Firewall\LogoutListener($d, $p, new \Symfony\Component\Security\Http\Logout\DefaultLogoutSuccessHandler($p, '/app/'), array('csrf_parameter' => '_csrf_token', 'intention' => 'logout', 'logout_path' => '/logout'));
        $q->addHandler(new \Symfony\Component\Security\Http\Logout\SessionLogoutHandler());

        $r = new \Symfony\Component\Security\Http\Authentication\DefaultAuthenticationSuccessHandler($p, array());
        $r->setOptions(array('login_path' => '_security_login', 'default_target_path' => '/app', 'always_use_default_target_path' => false, 'target_path_parameter' => '_target_path', 'use_referer' => false));
        $r->setProviderKey('public');

        $s = new \Symfony\Component\Security\Http\Authentication\DefaultAuthenticationFailureHandler($g, $p, array(), $a);
        $s->setOptions(array('login_path' => '_security_login', 'failure_path' => NULL, 'failure_forward' => false, 'failure_path_parameter' => '_failure_path'));

        $t = new \Symfony\Component\Security\Http\Authentication\DefaultAuthenticationSuccessHandler($p, array());
        $t->setOptions(array('login_path' => 'fos_user_security_login', 'always_use_default_target_path' => false, 'default_target_path' => '/', 'target_path_parameter' => '_target_path', 'use_referer' => false));
        $t->setProviderKey('public');

        $u = new \Symfony\Component\Security\Http\Authentication\DefaultAuthenticationFailureHandler($g, $p, array(), $a);
        $u->setOptions(array('login_path' => 'fos_user_security_login', 'failure_path' => NULL, 'failure_forward' => false, 'failure_path_parameter' => '_failure_path'));

        return $this->services['security.firewall.map.context.public'] = new \Symfony\Bundle\SecurityBundle\Security\FirewallContext(array(0 => new \Symfony\Component\Security\Http\Firewall\ChannelListener($o, new \Symfony\Component\Security\Http\EntryPoint\RetryAuthenticationEntryPoint(80, 443), $a), 1 => new \Symfony\Component\Security\Http\Firewall\ContextListener($d, array(0 => new \Symfony\Component\Security\Core\User\ChainUserProvider(array(0 => $b, 1 => $c)), 1 => $b, 2 => $c), 'public', $a, $e), 2 => $q, 3 => new \FOS\FacebookBundle\Security\Firewall\FacebookListener($d, $h, $i, $p, 'public', $r, $s, array('app_url' => 'https://apps.facebook.com/seekerplus', 'server_url' => 'http://localhost/SeekerPlusWeb/web/app_dev.php/', 'check_path' => '_security_check', 'use_forward' => false, 'require_previous_session' => true, 'display' => 'page', 'create_user_if_not_exists' => false, 'redirect_to_facebook_login' => true), $a, $e), 4 => new \Symfony\Component\Security\Http\Firewall\UsernamePasswordFormAuthenticationListener($d, $h, $i, $p, 'public', $t, $u, array('check_path' => 'fos_user_security_check', 'use_forward' => false, 'require_previous_session' => true, 'username_parameter' => '_username', 'password_parameter' => '_password', 'csrf_parameter' => '_csrf_token', 'intention' => 'authenticate', 'post_only' => true), $a, $e, NULL), 5 => new \Symfony\Component\Security\Http\Firewall\AnonymousAuthenticationListener($d, '55e5e195a8f41', $a, $h), 6 => new \Symfony\Component\Security\Http\Firewall\AccessListener($d, $this->get('security.access.decision_manager'), $o, $h)), new \Symfony\Component\Security\Http\Firewall\ExceptionListener($d, $this->get('security.authentication.trust_resolver'), $p, 'public', new \Symfony\Component\Security\Http\EntryPoint\FormAuthenticationEntryPoint($g, $p, 'fos_user_security_login', false), NULL, NULL, $a));
    }
 /**
  * Gets the 'security.firewall.map.context.main' service.
  *
  * This service is shared.
  * This method always returns the same instance of the service.
  *
  * @return \Symfony\Bundle\SecurityBundle\Security\FirewallContext A Symfony\Bundle\SecurityBundle\Security\FirewallContext instance.
  */
 protected function getSecurity_Firewall_Map_Context_MainService()
 {
     $a = $this->get('security.token_storage');
     $b = $this->get('fos_user.user_provider.username');
     $c = $this->get('monolog.logger.security', ContainerInterface::NULL_ON_INVALID_REFERENCE);
     $d = $this->get('debug.event_dispatcher', ContainerInterface::NULL_ON_INVALID_REFERENCE);
     $e = $this->get('security.http_utils');
     $f = $this->get('http_kernel');
     $g = $this->get('security.authentication.manager');
     $h = new \Symfony\Component\Security\Http\RememberMe\TokenBasedRememberMeServices(array(0 => $b), '0932949f3a05d863083447fa8cd5b2aaa4edbc4b', 'main', array('name' => 'REMEMBERME', 'lifetime' => 31536000, 'path' => '/', 'domain' => NULL, 'secure' => false, 'httponly' => true, 'always_remember_me' => false, 'remember_me_parameter' => '_remember_me'), $c);
     $i = new \Symfony\Component\Security\Http\Firewall\LogoutListener($a, $e, new \Symfony\Component\Security\Http\Logout\DefaultLogoutSuccessHandler($e, '/blog'), array('csrf_parameter' => '_csrf_token', 'intention' => 'logout', 'logout_path' => 'fos_user_security_logout'));
     $i->addHandler(new \Symfony\Component\Security\Http\Logout\SessionLogoutHandler());
     $i->addHandler($h);
     $j = new \Symfony\Component\Security\Http\Authentication\DefaultAuthenticationSuccessHandler($e, array());
     $j->setOptions(array('login_path' => 'fos_user_security_login', 'always_use_default_target_path' => false, 'default_target_path' => '/', 'target_path_parameter' => '_target_path', 'use_referer' => false));
     $j->setProviderKey('main');
     $k = new \Symfony\Component\Security\Http\Authentication\DefaultAuthenticationFailureHandler($f, $e, array(), $c);
     $k->setOptions(array('login_path' => 'fos_user_security_login', 'failure_path' => NULL, 'failure_forward' => false, 'failure_path_parameter' => '_failure_path'));
     $l = new \Symfony\Component\Security\Http\Firewall\UsernamePasswordFormAuthenticationListener($a, $g, $this->get('security.authentication.session_strategy'), $e, 'main', $j, $k, array('check_path' => 'fos_user_security_check', 'use_forward' => false, 'require_previous_session' => true, 'username_parameter' => '_username', 'password_parameter' => '_password', 'csrf_parameter' => '_csrf_token', 'intention' => 'authenticate', 'post_only' => true), $c, $d, NULL);
     $l->setRememberMeServices($h);
     return $this->services['security.firewall.map.context.main'] = new \Symfony\Bundle\SecurityBundle\Security\FirewallContext(array(0 => $this->get('security.channel_listener'), 1 => new \Symfony\Component\Security\Http\Firewall\ContextListener($a, array(0 => $b), 'main', $c, $d), 2 => $i, 3 => $l, 4 => new \Symfony\Component\Security\Http\Firewall\RememberMeListener($a, $h, $g, $c, $d, true), 5 => new \Symfony\Component\Security\Http\Firewall\AnonymousAuthenticationListener($a, '564cc1a61f24b2.24773552', $c, $g), 6 => $this->get('security.access_listener')), new \Symfony\Component\Security\Http\Firewall\ExceptionListener($a, $this->get('security.authentication.trust_resolver'), $e, 'main', new \Symfony\Component\Security\Http\EntryPoint\FormAuthenticationEntryPoint($f, $e, 'fos_user_security_login', false), NULL, NULL, $c, false));
 }
 protected function getSecurity_Firewall_Map_Context_DefaultService()
 {
     $a = $this->get('security.token_storage');
     $b = $this->get('monolog.logger.security', ContainerInterface::NULL_ON_INVALID_REFERENCE);
     $c = $this->get('event_dispatcher', ContainerInterface::NULL_ON_INVALID_REFERENCE);
     $d = $this->get('security.http_utils');
     $e = $this->get('http_kernel');
     $f = $this->get('security.authentication.manager');
     $g = new \Symfony\Component\Security\Http\Firewall\LogoutListener($a, $d, new \Symfony\Component\Security\Http\Logout\DefaultLogoutSuccessHandler($d, '/'), array('csrf_parameter' => '_csrf_token', 'intention' => 'logout', 'logout_path' => '/logout'));
     $g->addHandler(new \Symfony\Component\Security\Http\Logout\SessionLogoutHandler());
     $h = new \Symfony\Component\Security\Http\Authentication\DefaultAuthenticationSuccessHandler($d, array());
     $h->setOptions(array('login_path' => '/login', 'always_use_default_target_path' => false, 'default_target_path' => '/', 'target_path_parameter' => '_target_path', 'use_referer' => false));
     $h->setProviderKey('default');
     $i = new \Symfony\Component\Security\Http\Authentication\DefaultAuthenticationFailureHandler($e, $d, array(), $b);
     $i->setOptions(array('login_path' => '/login', 'failure_path' => NULL, 'failure_forward' => false, 'failure_path_parameter' => '_failure_path'));
     $j = new \Symfony\Component\Security\Http\EntryPoint\FormAuthenticationEntryPoint($e, $d, '/login', false);
     return $this->services['security.firewall.map.context.default'] = new \Symfony\Bundle\SecurityBundle\Security\FirewallContext(array(0 => $this->get('security.channel_listener'), 1 => new \Symfony\Component\Security\Http\Firewall\ContextListener($a, array(0 => $this->get('security.user.provider.concrete.our_db_provider'), 1 => $this->get('security.user.provider.concrete.in_memory')), 'default', $b, $c), 2 => $g, 3 => new \Symfony\Component\Security\Http\Firewall\UsernamePasswordFormAuthenticationListener($a, $f, new \Symfony\Component\Security\Http\Session\SessionAuthenticationStrategy('migrate'), $d, 'default', $h, $i, array('check_path' => '/login/check', 'use_forward' => false, 'require_previous_session' => true, 'username_parameter' => '_username', 'password_parameter' => '_password', 'csrf_parameter' => '_csrf_token', 'intention' => 'authenticate', 'post_only' => true), $b, $c, $this->get('security.csrf.token_manager')), 4 => new \Symfony\Component\Security\Http\Firewall\BasicAuthenticationListener($a, $f, 'default', $j, $b), 5 => new \Symfony\Component\Security\Http\Firewall\AnonymousAuthenticationListener($a, '55afc3a79fccc5.97018899', $b, $f), 6 => $this->get('security.access_listener')), new \Symfony\Component\Security\Http\Firewall\ExceptionListener($a, $this->get('security.authentication.trust_resolver'), $d, 'default', $j, NULL, NULL, $b));
 }
 /**
  * Gets the 'security.firewall.map.context.main' service.
  *
  * This service is shared.
  * This method always returns the same instance of the service.
  *
  * @return \Symfony\Bundle\SecurityBundle\Security\FirewallContext A Symfony\Bundle\SecurityBundle\Security\FirewallContext instance.
  */
 protected function getSecurity_Firewall_Map_Context_MainService()
 {
     $a = $this->get('monolog.logger.security', ContainerInterface::NULL_ON_INVALID_REFERENCE);
     $b = $this->get('security.context');
     $c = $this->get('fos_user.user_provider.username');
     $d = $this->get('debug.event_dispatcher', ContainerInterface::NULL_ON_INVALID_REFERENCE);
     $e = $this->get('router', ContainerInterface::NULL_ON_INVALID_REFERENCE);
     $f = $this->get('http_kernel');
     $g = $this->get('security.authentication.manager');
     $h = new \Symfony\Component\Security\Http\AccessMap();
     $i = new \Symfony\Component\Security\Http\HttpUtils($e, $e);
     $j = new \Symfony\Component\Security\Http\RememberMe\TokenBasedRememberMeServices(array(0 => $c), 'ThisTokenIsNotSoSecretChangeIt', 'main', array('name' => 'REMEMBERME', 'lifetime' => 31536000, 'path' => '/', 'domain' => NULL, 'secure' => false, 'httponly' => true, 'always_remember_me' => false, 'remember_me_parameter' => '_remember_me'), $a);
     $k = new \Symfony\Component\Security\Http\Firewall\LogoutListener($b, $i, new \Symfony\Component\Security\Http\Logout\DefaultLogoutSuccessHandler($i, '/platform'), array('csrf_parameter' => '_csrf_token', 'intention' => 'logout', 'logout_path' => 'fos_user_security_logout'));
     $k->addHandler(new \Symfony\Component\Security\Http\Logout\SessionLogoutHandler());
     $k->addHandler($j);
     $l = new \Symfony\Component\Security\Http\Authentication\DefaultAuthenticationSuccessHandler($i, array('login_path' => 'fos_user_security_login', 'always_use_default_target_path' => false, 'default_target_path' => '/', 'target_path_parameter' => '_target_path', 'use_referer' => false));
     $l->setProviderKey('main');
     $m = new \Symfony\Component\Security\Http\Firewall\UsernamePasswordFormAuthenticationListener($b, $g, $this->get('security.authentication.session_strategy'), $i, 'main', $l, new \Symfony\Component\Security\Http\Authentication\DefaultAuthenticationFailureHandler($f, $i, array('login_path' => 'fos_user_security_login', 'failure_path' => NULL, 'failure_forward' => false, 'failure_path_parameter' => '_failure_path'), $a), array('check_path' => 'fos_user_security_check', 'use_forward' => false, 'require_previous_session' => true, 'username_parameter' => '_username', 'password_parameter' => '_password', 'csrf_parameter' => '_csrf_token', 'intention' => 'authenticate', 'post_only' => true), $a, $d, NULL);
     $m->setRememberMeServices($j);
     return $this->services['security.firewall.map.context.main'] = new \Symfony\Bundle\SecurityBundle\Security\FirewallContext(array(0 => new \Symfony\Component\Security\Http\Firewall\ChannelListener($h, new \Symfony\Component\Security\Http\EntryPoint\RetryAuthenticationEntryPoint(80, 443), $a), 1 => new \Symfony\Component\Security\Http\Firewall\ContextListener($b, array(0 => $c), 'main', $a, $d), 2 => $k, 3 => $m, 4 => new \Symfony\Component\Security\Http\Firewall\RememberMeListener($b, $j, $g, $a, $d), 5 => new \Symfony\Component\Security\Http\Firewall\AnonymousAuthenticationListener($b, '566ec2a20fd3c', $a), 6 => new \Symfony\Component\Security\Http\Firewall\AccessListener($b, $this->get('security.access.decision_manager'), $h, $g)), new \Symfony\Component\Security\Http\Firewall\ExceptionListener($b, $this->get('security.authentication.trust_resolver'), $i, 'main', new \Symfony\Component\Security\Http\EntryPoint\FormAuthenticationEntryPoint($f, $i, 'fos_user_security_login', false), NULL, NULL, $a));
 }
 /**
  * Gets the 'security.firewall.map.context.public' service.
  *
  * This service is shared.
  * This method always returns the same instance of the service.
  *
  * @return Symfony\Bundle\SecurityBundle\Security\FirewallContext A Symfony\Bundle\SecurityBundle\Security\FirewallContext instance.
  */
 protected function getSecurity_Firewall_Map_Context_PublicService()
 {
     $a = $this->get('monolog.logger.security');
     $b = $this->get('security.context');
     $c = $this->get('event_dispatcher');
     $d = $this->get('router');
     $e = $this->get('fos_facebook.api');
     $f = $this->get('security.authentication.manager');
     $g = new \Symfony\Component\HttpFoundation\RequestMatcher('^/login$');
     $h = new \Symfony\Component\HttpFoundation\RequestMatcher('^/register');
     $i = new \Symfony\Component\HttpFoundation\RequestMatcher('^/resetting');
     $j = new \Symfony\Component\HttpFoundation\RequestMatcher('^/admin/');
     $k = new \Symfony\Component\HttpFoundation\RequestMatcher('^/.*');
     $l = new \Symfony\Component\Security\Http\AccessMap();
     $l->add($g, array(0 => 'IS_AUTHENTICATED_ANONYMOUSLY'), NULL);
     $l->add($h, array(0 => 'IS_AUTHENTICATED_ANONYMOUSLY'), NULL);
     $l->add($i, array(0 => 'IS_AUTHENTICATED_ANONYMOUSLY'), NULL);
     $l->add($j, array(0 => 'ROLE_ADMIN'), NULL);
     $l->add($k, array(0 => 'IS_AUTHENTICATED_ANONYMOUSLY'), NULL);
     $m = new \Symfony\Component\Security\Core\User\InMemoryUserProvider();
     $m->createUser(new \Symfony\Component\Security\Core\User\User('user', 'userpass', array(0 => 'ROLE_USER')));
     $m->createUser(new \Symfony\Component\Security\Core\User\User('admin', 'adminpass', array(0 => 'ROLE_ADMIN')));
     $n = new \Symfony\Component\Security\Http\HttpUtils($d);
     $o = new \Symfony\Component\Security\Http\Firewall\LogoutListener($b, $n, '/logout', '/', NULL);
     $o->addHandler(new \Symfony\Component\Security\Http\Logout\SessionLogoutHandler());
     $o->addHandler(new \FOS\FacebookBundle\Security\Logout\FacebookHandler($e));
     return $this->services['security.firewall.map.context.public'] = new \Symfony\Bundle\SecurityBundle\Security\FirewallContext(array(0 => new \Symfony\Component\Security\Http\Firewall\ChannelListener($l, new \Symfony\Component\Security\Http\EntryPoint\RetryAuthenticationEntryPoint(), $a), 1 => new \Symfony\Component\Security\Http\Firewall\ContextListener($b, array(0 => $this->get('fos.facebook.user'), 1 => $m), 'public', $a, $c), 2 => $o, 3 => new \FOS\FacebookBundle\Security\Firewall\FacebookListener($b, $f, new \Symfony\Component\Security\Http\Session\SessionAuthenticationStrategy('migrate'), $n, 'public', array('check_path' => '/login_check', 'login_path' => '/login', 'default_target_path' => '/', 'app_url' => 'http://apps.facebook.com/quorra/', 'server_url' => 'http://quorra.es/', 'use_forward' => false, 'always_use_default_target_path' => false, 'target_path_parameter' => '_target_path', 'use_referer' => false, 'failure_path' => NULL, 'failure_forward' => false, 'display' => 'page', 'create_user_if_not_exists' => false), NULL, NULL, $a, $c), 4 => new \Symfony\Component\Security\Http\Firewall\AnonymousAuthenticationListener($b, '4f34f7a0a9300', $a), 5 => new \Symfony\Component\Security\Http\Firewall\AccessListener($b, $this->get('security.access.decision_manager'), $l, $f, $a)), new \Symfony\Component\Security\Http\Firewall\ExceptionListener($b, $this->get('security.authentication.trust_resolver'), $n, new \FOS\FacebookBundle\Security\EntryPoint\FacebookAuthenticationEntryPoint($e, array('provider' => 'fos_facebook_user', 'check_path' => '/login_check', 'login_path' => '/login', 'default_target_path' => '/', 'app_url' => 'http://apps.facebook.com/quorra/', 'server_url' => 'http://quorra.es/', 'remember_me' => true, 'use_forward' => false, 'always_use_default_target_path' => false, 'target_path_parameter' => '_target_path', 'use_referer' => false, 'failure_path' => NULL, 'failure_forward' => false, 'display' => 'page', 'create_user_if_not_exists' => false), array(0 => 'email', 1 => 'user_birthday', 2 => 'user_location')), NULL, NULL, $a));
 }
 /**
  * Gets the 'security.firewall.map.context.main' service.
  *
  * This service is shared.
  * This method always returns the same instance of the service.
  *
  * @return \Symfony\Bundle\SecurityBundle\Security\FirewallContext A Symfony\Bundle\SecurityBundle\Security\FirewallContext instance.
  */
 protected function getSecurity_Firewall_Map_Context_MainService()
 {
     $a = $this->get('security.http_utils');
     $b = $this->get('security.token_storage');
     $c = $this->get('http_kernel');
     $d = $this->get('monolog.logger.security', ContainerInterface::NULL_ON_INVALID_REFERENCE);
     $e = $this->get('security.authentication.manager');
     $f = new \Symfony\Component\Security\Http\Firewall\LogoutListener($b, $a, new \Symfony\Component\Security\Http\Logout\DefaultLogoutSuccessHandler($a, '/'), array('csrf_parameter' => '_csrf_token', 'intention' => 'logout', 'logout_path' => '/logout'));
     $f->addHandler($this->get('security.logout.handler.session'));
     $g = new \Symfony\Component\Security\Http\Authentication\DefaultAuthenticationSuccessHandler($a, array());
     $g->setOptions(array('login_path' => '/login', 'always_use_default_target_path' => false, 'default_target_path' => '/', 'target_path_parameter' => '_target_path', 'use_referer' => false));
     $g->setProviderKey('main');
     $h = new \Symfony\Component\Security\Http\Authentication\DefaultAuthenticationFailureHandler($c, $a, array(), $d);
     $h->setOptions(array('login_path' => '/login', 'failure_path' => NULL, 'failure_forward' => false, 'failure_path_parameter' => '_failure_path'));
     return $this->services['security.firewall.map.context.main'] = new \Symfony\Bundle\SecurityBundle\Security\FirewallContext(array(0 => $this->get('security.channel_listener'), 1 => $this->get('security.context_listener.0'), 2 => $f, 3 => new \Symfony\Component\Security\Http\Firewall\UsernamePasswordFormAuthenticationListener($b, $e, $this->get('security.authentication.session_strategy'), $a, 'main', $g, $h, array('use_forward' => false, 'check_path' => '/login_check', 'require_previous_session' => true, 'username_parameter' => '_username', 'password_parameter' => '_password', 'csrf_parameter' => '_csrf_token', 'intention' => 'authenticate', 'post_only' => true), $d, $this->get('debug.event_dispatcher', ContainerInterface::NULL_ON_INVALID_REFERENCE), NULL), 4 => new \Symfony\Component\Security\Http\Firewall\AnonymousAuthenticationListener($b, '55f5f43daadcb1.96848803', $d, $e), 5 => $this->get('security.access_listener')), new \Symfony\Component\Security\Http\Firewall\ExceptionListener($b, $this->get('security.authentication.trust_resolver'), $a, 'main', new \Symfony\Component\Security\Http\EntryPoint\FormAuthenticationEntryPoint($c, $a, '/login', false), NULL, NULL, $d, false));
 }
예제 #26
0
 protected function getSecurity_Firewall_Map_Context_MainService()
 {
     $a = $this->get('monolog.logger.security', ContainerInterface::NULL_ON_INVALID_REFERENCE);
     $b = $this->get('security.context');
     $c = $this->get('fos_user.user_provider.username');
     $d = $this->get('event_dispatcher', ContainerInterface::NULL_ON_INVALID_REFERENCE);
     $e = $this->get('router', ContainerInterface::NULL_ON_INVALID_REFERENCE);
     $f = $this->get('http_kernel');
     $g = $this->get('security.authentication.manager');
     $h = new \Symfony\Component\HttpFoundation\RequestMatcher('^/admin');
     $i = new \Symfony\Component\Security\Http\AccessMap();
     $i->add($h, array(0 => 'ROLE_ADMIN'), NULL);
     $j = new \Symfony\Component\Security\Core\User\InMemoryUserProvider();
     $j->createUser(new \Symfony\Component\Security\Core\User\User('user', 'userpass', array(0 => 'ROLE_USER')));
     $j->createUser(new \Symfony\Component\Security\Core\User\User('admin', 'adminpass', array(0 => 'ROLE_ADMIN')));
     $k = new \Symfony\Component\Security\Http\HttpUtils($e, $e);
     $l = new \Symfony\Component\Security\Http\RememberMe\TokenBasedRememberMeServices(array(0 => $c), 'chouchou', 'main', array('name' => 'REMEMBERME', 'lifetime' => 31536000, 'path' => '/', 'domain' => NULL, 'secure' => false, 'httponly' => true, 'always_remember_me' => false, 'remember_me_parameter' => '_remember_me'), $a);
     $m = new \Symfony\Component\Security\Http\Firewall\LogoutListener($b, $k, new \Symfony\Component\Security\Http\Logout\DefaultLogoutSuccessHandler($k, '/accueil'), array('csrf_parameter' => '_csrf_token', 'intention' => 'logout', 'logout_path' => 'fos_user_security_logout'));
     $m->addHandler($l);
     $n = new \Symfony\Component\Security\Http\Authentication\DefaultAuthenticationSuccessHandler($k, array());
     $n->setOptions(array('login_path' => 'fos_user_security_login', 'always_use_default_target_path' => true, 'default_target_path' => '/admin', 'target_path_parameter' => '_target_path', 'use_referer' => false));
     $n->setProviderKey('main');
     $o = new \Symfony\Component\Security\Http\Authentication\DefaultAuthenticationFailureHandler($f, $k, array(), $a);
     $o->setOptions(array('login_path' => 'fos_user_security_login', 'failure_path' => NULL, 'failure_forward' => false, 'failure_path_parameter' => '_failure_path'));
     $p = new \Symfony\Component\Security\Http\Firewall\UsernamePasswordFormAuthenticationListener($b, $g, $this->get('security.authentication.session_strategy'), $k, 'main', $n, $o, array('check_path' => 'fos_user_security_check', 'use_forward' => false, 'require_previous_session' => true, 'username_parameter' => '_username', 'password_parameter' => '_password', 'csrf_parameter' => '_csrf_token', 'intention' => 'authenticate', 'post_only' => true), $a, $d, NULL);
     $p->setRememberMeServices($l);
     return $this->services['security.firewall.map.context.main'] = new \Symfony\Bundle\SecurityBundle\Security\FirewallContext(array(0 => new \Symfony\Component\Security\Http\Firewall\ChannelListener($i, new \Symfony\Component\Security\Http\EntryPoint\RetryAuthenticationEntryPoint(80, 443), $a), 1 => new \Symfony\Component\Security\Http\Firewall\ContextListener($b, array(0 => $j, 1 => $c), 'main', $a, $d), 2 => $m, 3 => $p, 4 => new \Symfony\Component\Security\Http\Firewall\RememberMeListener($b, $l, $g, $a, $d, true), 5 => new \Symfony\Component\Security\Http\Firewall\AnonymousAuthenticationListener($b, '5638b663aa0283.33037473', $a, $g), 6 => new \Symfony\Component\Security\Http\Firewall\AccessListener($b, $this->get('security.access.decision_manager'), $i, $g)), new \Symfony\Component\Security\Http\Firewall\ExceptionListener($b, $this->get('security.authentication.trust_resolver'), $k, 'main', new \Symfony\Component\Security\Http\EntryPoint\FormAuthenticationEntryPoint($f, $k, 'fos_user_security_login', false), NULL, NULL, $a));
 }
 /**
  * Gets the 'security.firewall.map.context.main' service.
  *
  * This service is shared.
  * This method always returns the same instance of the service.
  *
  * @return Symfony\Bundle\SecurityBundle\Security\FirewallContext A Symfony\Bundle\SecurityBundle\Security\FirewallContext instance.
  */
 protected function getSecurity_Firewall_Map_Context_MainService()
 {
     $a = $this->get('security.request_matcher.1820085cb1b3628ff974bc5d5716b9165f239553b39444dc0c340353fb6afdde6115bdc9');
     $b = $this->get('monolog.logger.security');
     $c = $this->get('security.context');
     $d = $this->get('event_dispatcher');
     $e = $this->get('security.authentication.manager');
     $f = new \Symfony\Component\HttpFoundation\RequestMatcher('/admin/.*');
     $g = new \Symfony\Component\Security\Http\AccessMap();
     $g->add($f, array(0 => 'ROLE_ADMIN'), NULL);
     $g->add($a, array(0 => 'IS_AUTHENTICATED_ANONYMOUSLY'), NULL);
     $h = new \Symfony\Component\Security\Http\Firewall\LogoutListener($c, '/logout', '/', NULL);
     $h->addHandler(new \Symfony\Component\Security\Http\Logout\SessionLogoutHandler());
     return $this->services['security.firewall.map.context.main'] = new \Symfony\Bundle\SecurityBundle\Security\FirewallContext(array(0 => new \Symfony\Component\Security\Http\Firewall\ChannelListener($g, new \Symfony\Component\Security\Http\EntryPoint\RetryAuthenticationEntryPoint(), $b), 1 => new \Symfony\Component\Security\Http\Firewall\ContextListener($c, array(0 => $this->get('security.user.provider.concrete.main')), 'main', $b, $d), 2 => $h, 3 => new \Symfony\Component\Security\Http\Firewall\UsernamePasswordFormAuthenticationListener($c, $e, new \Symfony\Component\Security\Http\Session\SessionAuthenticationStrategy('migrate'), 'main', array('check_path' => '/login_check', 'login_path' => '/login', 'use_forward' => false, 'always_use_default_target_path' => false, 'default_target_path' => '/', 'target_path_parameter' => '_target_path', 'use_referer' => false, 'failure_path' => NULL, 'failure_forward' => false, 'username_parameter' => '_username', 'password_parameter' => '_password', 'csrf_parameter' => '_csrf_token', 'intention' => 'authenticate', 'post_only' => true), NULL, NULL, $b, $d), 4 => new \Symfony\Component\Security\Http\Firewall\AnonymousAuthenticationListener($c, '4decb0bee02d3', $b), 5 => new \Symfony\Component\Security\Http\Firewall\AccessListener($c, $this->get('security.access.decision_manager'), $g, $e, $b)), new \Symfony\Component\Security\Http\Firewall\ExceptionListener($c, $this->get('security.authentication.trust_resolver'), new \Symfony\Component\Security\Http\EntryPoint\FormAuthenticationEntryPoint($this->get('http_kernel'), '/login', false), NULL, NULL, $b));
 }
 /**
  * Gets the 'security.firewall.map.context.main' service.
  *
  * This service is shared.
  * This method always returns the same instance of the service.
  *
  * @return Symfony\Bundle\SecurityBundle\Security\FirewallContext A Symfony\Bundle\SecurityBundle\Security\FirewallContext instance.
  */
 protected function getSecurity_Firewall_Map_Context_MainService()
 {
     $a = $this->get('monolog.logger.security', ContainerInterface::NULL_ON_INVALID_REFERENCE);
     $b = $this->get('security.context');
     $c = $this->get('debug.event_dispatcher', ContainerInterface::NULL_ON_INVALID_REFERENCE);
     $d = $this->get('router', ContainerInterface::NULL_ON_INVALID_REFERENCE);
     $e = $this->get('http_kernel');
     $f = $this->get('security.authentication.manager');
     $g = new \Symfony\Component\HttpFoundation\RequestMatcher('^/wdt/');
     $h = new \Symfony\Component\HttpFoundation\RequestMatcher('^/profiler/');
     $i = new \Symfony\Component\HttpFoundation\RequestMatcher('^/js/');
     $j = new \Symfony\Component\HttpFoundation\RequestMatcher('^/css/');
     $k = new \Symfony\Component\HttpFoundation\RequestMatcher('^/login$');
     $l = new \Symfony\Component\HttpFoundation\RequestMatcher('^/login_check$');
     $m = new \Symfony\Component\HttpFoundation\RequestMatcher('^/user/new$');
     $n = new \Symfony\Component\HttpFoundation\RequestMatcher('^/user/check-confirmation-email$');
     $o = new \Symfony\Component\HttpFoundation\RequestMatcher('^/user/confirm/');
     $p = new \Symfony\Component\HttpFoundation\RequestMatcher('^/user/confirmed$');
     $q = new \Symfony\Component\HttpFoundation\RequestMatcher('^/user/request-reset-password$');
     $r = new \Symfony\Component\HttpFoundation\RequestMatcher('^/user/send-resetting-email$');
     $s = new \Symfony\Component\HttpFoundation\RequestMatcher('^/user/check-resetting-email$');
     $t = new \Symfony\Component\HttpFoundation\RequestMatcher('^/user/reset-password/');
     $u = new \Symfony\Component\HttpFoundation\RequestMatcher('^/admin/');
     $v = new \Symfony\Component\Security\Http\AccessMap();
     $v->add($g, array(0 => 'IS_AUTHENTICATED_ANONYMOUSLY'), NULL);
     $v->add($h, array(0 => 'IS_AUTHENTICATED_ANONYMOUSLY'), NULL);
     $v->add($i, array(0 => 'IS_AUTHENTICATED_ANONYMOUSLY'), NULL);
     $v->add($j, array(0 => 'IS_AUTHENTICATED_ANONYMOUSLY'), NULL);
     $v->add($k, array(0 => 'IS_AUTHENTICATED_ANONYMOUSLY'), NULL);
     $v->add($l, array(0 => 'IS_AUTHENTICATED_ANONYMOUSLY'), NULL);
     $v->add($m, array(0 => 'IS_AUTHENTICATED_ANONYMOUSLY'), NULL);
     $v->add($n, array(0 => 'IS_AUTHENTICATED_ANONYMOUSLY'), NULL);
     $v->add($o, array(0 => 'IS_AUTHENTICATED_ANONYMOUSLY'), NULL);
     $v->add($p, array(0 => 'IS_AUTHENTICATED_ANONYMOUSLY'), NULL);
     $v->add($q, array(0 => 'IS_AUTHENTICATED_ANONYMOUSLY'), NULL);
     $v->add($r, array(0 => 'IS_AUTHENTICATED_ANONYMOUSLY'), NULL);
     $v->add($s, array(0 => 'IS_AUTHENTICATED_ANONYMOUSLY'), NULL);
     $v->add($t, array(0 => 'IS_AUTHENTICATED_ANONYMOUSLY'), NULL);
     $v->add($u, array(0 => 'ROLE_MODERATE'), NULL);
     $w = new \Symfony\Component\Security\Http\HttpUtils($d, $d);
     $x = new \Symfony\Component\Security\Http\Firewall\LogoutListener($b, $w, new \Symfony\Component\Security\Http\Logout\DefaultLogoutSuccessHandler($w, '/'), array('csrf_parameter' => '_csrf_token', 'intention' => 'logout', 'logout_path' => 'fos_user_security_logout'));
     $x->addHandler(new \Symfony\Component\Security\Http\Logout\SessionLogoutHandler());
     $y = new \Symfony\Component\Security\Http\Authentication\DefaultAuthenticationSuccessHandler($w, array('always_use_default_target_path' => false, 'default_target_path' => '/', 'login_path' => '/login', 'target_path_parameter' => '_target_path', 'use_referer' => false));
     $y->setProviderKey('main');
     return $this->services['security.firewall.map.context.main'] = new \Symfony\Bundle\SecurityBundle\Security\FirewallContext(array(0 => new \Symfony\Component\Security\Http\Firewall\ChannelListener($v, new \Symfony\Component\Security\Http\EntryPoint\RetryAuthenticationEntryPoint(80, 443), $a), 1 => new \Symfony\Component\Security\Http\Firewall\ContextListener($b, array(0 => $this->get('fos_user.user_provider.username')), 'main', $a, $c), 2 => $x, 3 => new \Symfony\Component\Security\Http\Firewall\UsernamePasswordFormAuthenticationListener($b, $f, $this->get('security.authentication.session_strategy'), $w, 'main', $y, new \Symfony\Component\Security\Http\Authentication\DefaultAuthenticationFailureHandler($e, $w, array('login_path' => '/login', 'failure_path' => NULL, 'failure_forward' => false, 'failure_path_parameter' => '_failure_path'), $a), array('check_path' => '/login_check', 'use_forward' => false, 'require_previous_session' => true, 'username_parameter' => '_username', 'password_parameter' => '_password', 'csrf_parameter' => '_csrf_token', 'intention' => 'authenticate', 'post_only' => true), $a, $c, $this->get('form.csrf_provider')), 4 => new \Symfony\Component\Security\Http\Firewall\AnonymousAuthenticationListener($b, '53a19f50826db', $a), 5 => new \Symfony\Component\Security\Http\Firewall\AccessListener($b, $this->get('security.access.decision_manager'), $v, $f)), new \Symfony\Component\Security\Http\Firewall\ExceptionListener($b, $this->get('security.authentication.trust_resolver'), $w, 'main', new \Symfony\Component\Security\Http\EntryPoint\FormAuthenticationEntryPoint($e, $w, '/login', false), NULL, NULL, $a));
 }
 protected function getSecurity_Firewall_Map_Context_MainService()
 {
     $a = $this->get('monolog.logger.security', ContainerInterface::NULL_ON_INVALID_REFERENCE);
     $b = $this->get('security.context');
     $c = $this->get('event_dispatcher', ContainerInterface::NULL_ON_INVALID_REFERENCE);
     $d = $this->get('router', ContainerInterface::NULL_ON_INVALID_REFERENCE);
     $e = $this->get('http_kernel');
     $f = $this->get('security.authentication.manager');
     $g = new \Symfony\Component\HttpFoundation\RequestMatcher('^/admin');
     $h = new \Symfony\Component\HttpFoundation\RequestMatcher('^/user');
     $i = new \Symfony\Component\HttpFoundation\RequestMatcher('^/login$');
     $j = new \Symfony\Component\HttpFoundation\RequestMatcher('^/register');
     $k = new \Symfony\Component\HttpFoundation\RequestMatcher('^/resetting');
     $l = new \Symfony\Component\HttpFoundation\RequestMatcher('^/');
     $m = new \Symfony\Component\Security\Http\AccessMap();
     $m->add($g, array(0 => 'ROLE_ADMIN'), NULL);
     $m->add($h, array(0 => 'ROLE_USER'), NULL);
     $m->add($i, array(0 => 'IS_AUTHENTICATED_ANONYMOUSLY'), NULL);
     $m->add($j, array(0 => 'IS_AUTHENTICATED_ANONYMOUSLY'), NULL);
     $m->add($k, array(0 => 'IS_AUTHENTICATED_ANONYMOUSLY'), NULL);
     $m->add($l, array(0 => 'IS_AUTHENTICATED_ANONYMOUSLY'), NULL);
     $n = new \Symfony\Component\Security\Http\HttpUtils($d, $d);
     $o = new \Symfony\Component\Security\Http\Firewall\LogoutListener($b, $n, new \Symfony\Component\Security\Http\Logout\DefaultLogoutSuccessHandler($n, '/login'), array('csrf_parameter' => '_csrf_token', 'intention' => 'logout', 'logout_path' => '/logout'));
     $o->addHandler(new \Symfony\Component\Security\Http\Logout\SessionLogoutHandler());
     $p = new \Symfony\Component\Security\Http\Authentication\DefaultAuthenticationSuccessHandler($n, array());
     $p->setOptions(array('default_target_path' => 'cestom_login_homepage', 'always_use_default_target_path' => true, 'use_referer' => true, 'login_path' => '/login', 'target_path_parameter' => '_target_path'));
     $p->setProviderKey('main');
     $q = new \Symfony\Component\Security\Http\Authentication\DefaultAuthenticationFailureHandler($e, $n, array(), $a);
     $q->setOptions(array('login_path' => '/login', 'failure_path' => NULL, 'failure_forward' => false, 'failure_path_parameter' => '_failure_path'));
     return $this->services['security.firewall.map.context.main'] = new \Symfony\Bundle\SecurityBundle\Security\FirewallContext(array(0 => new \Symfony\Component\Security\Http\Firewall\ChannelListener($m, new \Symfony\Component\Security\Http\EntryPoint\RetryAuthenticationEntryPoint(80, 443), $a), 1 => new \Symfony\Component\Security\Http\Firewall\ContextListener($b, array(0 => $this->get('fos_user.user_provider.username')), 'main', $a, $c), 2 => $o, 3 => new \Symfony\Component\Security\Http\Firewall\UsernamePasswordFormAuthenticationListener($b, $f, $this->get('security.authentication.session_strategy'), $n, 'main', $p, $q, array('check_path' => '/login_check', 'use_forward' => false, 'require_previous_session' => true, 'username_parameter' => '_username', 'password_parameter' => '_password', 'csrf_parameter' => '_csrf_token', 'intention' => 'authenticate', 'post_only' => true), $a, $c, $this->get('security.csrf.token_manager')), 4 => new \Symfony\Component\Security\Http\Firewall\AnonymousAuthenticationListener($b, '5650e132376740.70426776', $a, $f), 5 => new \Symfony\Component\Security\Http\Firewall\AccessListener($b, $this->get('security.access.decision_manager'), $m, $f)), new \Symfony\Component\Security\Http\Firewall\ExceptionListener($b, $this->get('security.authentication.trust_resolver'), $n, 'main', new \Symfony\Component\Security\Http\EntryPoint\FormAuthenticationEntryPoint($e, $n, '/login', false), NULL, NULL, $a));
 }
 protected function getSecurity_Firewall_Map_Context_MainService()
 {
     $a = $this->get('monolog.logger.security');
     $b = $this->get('security.context');
     $c = $this->get('fos_user.user_manager');
     $d = $this->get('event_dispatcher');
     $e = $this->get('router');
     $f = $this->get('security.authentication.manager');
     $g = new \Symfony\Component\Security\Http\AccessMap();
     $h = new \Symfony\Component\Security\Http\HttpUtils($e);
     $i = new \Symfony\Component\Security\Http\RememberMe\TokenBasedRememberMeServices(array(0 => $c), 'ThisTokenIsNotSoSecretChangeIt', 'main', array('name' => 'REMEMBERME', 'lifetime' => 31536000, 'path' => '/', 'domain' => NULL, 'secure' => false, 'httponly' => true, 'always_remember_me' => false, 'remember_me_parameter' => '_remember_me'), $a);
     $j = new \Symfony\Component\Security\Http\Firewall\LogoutListener($b, $h, '/logout', '/', NULL);
     $j->addHandler(new \Symfony\Component\Security\Http\Logout\SessionLogoutHandler());
     $j->addHandler($i);
     $k = new \Symfony\Component\Security\Http\Firewall\UsernamePasswordFormAuthenticationListener($b, $f, new \Symfony\Component\Security\Http\Session\SessionAuthenticationStrategy('migrate'), $h, 'main', array('check_path' => '/login_check', 'use_forward' => false, 'always_use_default_target_path' => false, 'default_target_path' => '/', 'login_path' => '/login', 'target_path_parameter' => '_target_path', 'use_referer' => false, 'failure_path' => NULL, 'failure_forward' => false, 'username_parameter' => '_username', 'password_parameter' => '_password', 'csrf_parameter' => '_csrf_token', 'intention' => 'authenticate', 'post_only' => true), NULL, NULL, $a, $d);
     $k->setRememberMeServices($i);
     return $this->services['security.firewall.map.context.main'] = new \Symfony\Bundle\SecurityBundle\Security\FirewallContext(array(0 => new \Symfony\Component\Security\Http\Firewall\ChannelListener($g, new \Symfony\Component\Security\Http\EntryPoint\RetryAuthenticationEntryPoint(80, 443), $a), 1 => new \Symfony\Component\Security\Http\Firewall\ContextListener($b, array(0 => $c), 'main', $a, $d), 2 => $j, 3 => $k, 4 => new \Symfony\Component\Security\Http\Firewall\RememberMeListener($b, $i, $f, $a, $d), 5 => new \Symfony\Component\Security\Http\Firewall\AnonymousAuthenticationListener($b, '5664d4f731586', $a), 6 => new \Symfony\Component\Security\Http\Firewall\AccessListener($b, $this->get('security.access.decision_manager'), $g, $f, $a)), new \Symfony\Component\Security\Http\Firewall\ExceptionListener($b, $this->get('security.authentication.trust_resolver'), $h, new \Symfony\Component\Security\Http\EntryPoint\FormAuthenticationEntryPoint($this->get('http_kernel'), $h, '/login', false), NULL, NULL, $a));
 }