Пример #1
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.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('^/login/');
     $h = new \Symfony\Component\HttpFoundation\RequestMatcher('^/admin/');
     $i = new \Symfony\Component\HttpFoundation\RequestMatcher('^/initdb/');
     $j = new \Symfony\Component\HttpFoundation\RequestMatcher('^/addlink/');
     $k = new \Symfony\Component\HttpFoundation\RequestMatcher('^/addtag/');
     $l = new \Symfony\Component\HttpFoundation\RequestMatcher('^/deletelink/');
     $m = new \Symfony\Component\HttpFoundation\RequestMatcher('^/deletetag/');
     $n = new \Symfony\Component\HttpFoundation\RequestMatcher('^/updatelink/');
     $o = new \Symfony\Component\HttpFoundation\RequestMatcher('^/updatetag/');
     $p = new \Symfony\Component\Security\Http\AccessMap();
     $p->add($g, array(0 => 'IS_AUTHENTICATED_ANONYMOUSLY'), NULL);
     $p->add($h, array(0 => 'ROLE_ADMIN'), NULL);
     $p->add($i, array(0 => 'ROLE_ADMIN'), NULL);
     $p->add($j, array(0 => 'ROLE_ADMIN'), NULL);
     $p->add($k, array(0 => 'ROLE_ADMIN'), NULL);
     $p->add($l, array(0 => 'ROLE_ADMIN'), NULL);
     $p->add($m, array(0 => 'ROLE_ADMIN'), NULL);
     $p->add($n, array(0 => 'ROLE_ADMIN'), NULL);
     $p->add($o, array(0 => 'ROLE_ADMIN'), NULL);
     $q = new \Symfony\Component\Security\Http\HttpUtils($d, $d);
     $r = new \Symfony\Component\Security\Http\Authentication\DefaultAuthenticationSuccessHandler($q, array());
     $r->setOptions(array('login_path' => '/login/', 'always_use_default_target_path' => false, 'default_target_path' => '/', 'target_path_parameter' => '_target_path', 'use_referer' => false));
     $r->setProviderKey('main');
     $s = new \Symfony\Component\Security\Http\Authentication\DefaultAuthenticationFailureHandler($e, $q, array(), $a);
     $s->setOptions(array('login_path' => '/login/', 'failure_path' => NULL, 'failure_forward' => false, 'failure_path_parameter' => '_failure_path'));
     $t = new \Symfony\Component\Security\Http\EntryPoint\FormAuthenticationEntryPoint($e, $q, '/login/', false);
     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 => $this->get('security.user.provider.concrete.in_memory')), 'main', $a, $c), 2 => 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/')), 3 => new \Symfony\Component\Security\Http\Firewall\UsernamePasswordFormAuthenticationListener($b, $f, new \Symfony\Component\Security\Http\Session\SessionAuthenticationStrategy('migrate'), $q, 'main', $r, $s, 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\BasicAuthenticationListener($b, $f, 'main', $t, $a), 5 => new \Symfony\Component\Security\Http\Firewall\AnonymousAuthenticationListener($b, '562e7db55374b9.14757486', $a, $f), 6 => new \Symfony\Component\Security\Http\Firewall\AccessListener($b, $this->get('security.access.decision_manager'), $p, $f)), new \Symfony\Component\Security\Http\Firewall\ExceptionListener($b, $this->get('security.authentication.trust_resolver'), $q, 'main', $t, 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.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));
 }
Пример #4
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));
 }
Пример #5
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('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));
 }
 /**
  * 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));
 }
 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));
 }
 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_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.authentication.session_strategy');
     $i = new \Symfony\Component\HttpFoundation\RequestMatcher('^/profil');
     $j = new \Symfony\Component\HttpFoundation\RequestMatcher('^/creationStage');
     $k = new \Symfony\Component\HttpFoundation\RequestMatcher('^/creationEtudiant');
     $l = new \Symfony\Component\Security\Http\AccessMap();
     $l->add($i, array(0 => 'IS_AUTHENTICATED_FULLY'), NULL);
     $l->add($j, array(0 => 'ROLE_ETUDIANT'), NULL);
     $l->add($k, array(0 => 'ROLE_ENSEIGNANT'), NULL);
     $m = new \Symfony\Component\Security\Http\HttpUtils($e, $e);
     $n = new \Symfony\Component\Security\Http\RememberMe\TokenBasedRememberMeServices(array(0 => $c), 'fdee32dc903968bb56803f6ae60f8f122525b301', 'main', array('lifetime' => 604800, 'path' => '/', 'name' => 'REMEMBERME', 'domain' => NULL, 'secure' => false, 'httponly' => true, 'always_remember_me' => false, 'remember_me_parameter' => '_remember_me'), $a);
     $o = new \Symfony\Component\Security\Http\Firewall\LogoutListener($b, $m, new \Symfony\Component\Security\Http\Logout\DefaultLogoutSuccessHandler($m, '/'), array('csrf_parameter' => '_csrf_token', 'intention' => 'logout', 'logout_path' => 'fos_user_security_logout'));
     $o->addHandler(new \Symfony\Component\Security\Http\Logout\SessionLogoutHandler());
     $o->addHandler($n);
     $p = new \Symfony\Component\Security\Http\Authentication\DefaultAuthenticationSuccessHandler($m, array());
     $p->setOptions(array('login_path' => 'fos_user_security_login', 'default_target_path' => '/accueil', 'always_use_default_target_path' => false, 'target_path_parameter' => '_target_path', 'use_referer' => false));
     $p->setProviderKey('main');
     $q = new \Symfony\Component\Security\Http\Authentication\DefaultAuthenticationFailureHandler($f, $m, array(), $a);
     $q->setOptions(array('login_path' => 'fos_user_security_login', 'failure_path' => NULL, 'failure_forward' => false, 'failure_path_parameter' => '_failure_path'));
     $r = new \Symfony\Component\Security\Http\Firewall\UsernamePasswordFormAuthenticationListener($b, $g, $h, $m, 'main', $p, $q, 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);
     $r->setRememberMeServices($n);
     return $this->services['security.firewall.map.context.main'] = new \Symfony\Bundle\SecurityBundle\Security\FirewallContext(array(0 => new \Symfony\Component\Security\Http\Firewall\ChannelListener($l, 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 => $o, 3 => $r, 4 => new \Symfony\Component\Security\Http\Firewall\RememberMeListener($b, $n, $g, $a, $d, true, $h), 5 => new \Symfony\Component\Security\Http\Firewall\AnonymousAuthenticationListener($b, '56a53df458b248.53999727', $a, $g), 6 => new \Symfony\Component\Security\Http\Firewall\AccessListener($b, $this->get('security.access.decision_manager'), $l, $g)), new \Symfony\Component\Security\Http\Firewall\ExceptionListener($b, $this->get('security.authentication.trust_resolver'), $m, 'main', new \Symfony\Component\Security\Http\EntryPoint\FormAuthenticationEntryPoint($f, $m, 'fos_user_security_login', false), '/accueil', 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.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));
 }
 /**
  * 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('^/news/(new|(\\d+\\/edit))');
     $h = new \Symfony\Component\Security\Http\AccessMap();
     $h->add($g, array(0 => 'IS_AUTHENTICATED_FULLY'), NULL);
     $i = new \Symfony\Component\Security\Http\HttpUtils($d, $d);
     $j = new \Symfony\Component\Security\Http\Firewall\LogoutListener($b, $i, new \Symfony\Component\Security\Http\Logout\DefaultLogoutSuccessHandler($i, '/'), array('csrf_parameter' => '_csrf_token', 'intention' => 'logout', 'logout_path' => '/logout'));
     $j->addHandler(new \Symfony\Component\Security\Http\Logout\SessionLogoutHandler());
     $k = new \Symfony\Component\Security\Http\Authentication\DefaultAuthenticationSuccessHandler($i, array());
     $k->setOptions(array('always_use_default_target_path' => false, 'default_target_path' => '/', 'login_path' => '/login', 'target_path_parameter' => '_target_path', 'use_referer' => false));
     $k->setProviderKey('secured_area');
     $l = new \Symfony\Component\Security\Http\Authentication\DefaultAuthenticationFailureHandler($e, $i, array(), $a);
     $l->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($h, 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')), 'secured_area', $a, $c), 2 => $j, 3 => new \Symfony\Component\Security\Http\Firewall\UsernamePasswordFormAuthenticationListener($b, $f, $this->get('security.authentication.session_strategy'), $i, 'secured_area', $k, $l, 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, '563244f81b10b9.59981334', $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'), $i, 'secured_area', new \Symfony\Component\Security\Http\EntryPoint\FormAuthenticationEntryPoint($e, $i, '/login', false), NULL, NULL, $a, false));
 }
 /**
  * Gets the 'security.firewall.map.context.default' 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_DefaultService()
 {
     $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('^/user/admin');
     $h = new \Symfony\Component\HttpFoundation\RequestMatcher('/login$');
     $i = new \JMS\SecurityExtraBundle\Security\Authorization\Expression\Expression('!isAuthenticated()');
     $j = new \Symfony\Component\HttpFoundation\RequestMatcher('/user/register$');
     $k = new \Symfony\Component\HttpFoundation\RequestMatcher('^/multimedia/search');
     $l = new \Symfony\Component\HttpFoundation\RequestMatcher('^/multimedia/upload');
     $m = new \JMS\SecurityExtraBundle\Security\Authorization\Expression\Expression('isAuthenticated()');
     $n = new \Symfony\Component\HttpFoundation\RequestMatcher('^/multimedia/galleryAcess');
     $o = new \Symfony\Component\HttpFoundation\RequestMatcher('^/multimedia/createGallery');
     $p = new \Symfony\Component\HttpFoundation\RequestMatcher('^/multimedia/delete');
     $q = new \Symfony\Component\Security\Http\AccessMap();
     $q->add($g, array(0 => 'ROLE_ADMIN'), NULL);
     $q->add($h, array(0 => $i), NULL);
     $q->add($j, array(0 => $i), NULL);
     $q->add($k, array(0 => 'IS_AUTHENTICATED_ANONYMOUSLY'), NULL);
     $q->add($l, array(0 => $m), NULL);
     $q->add($n, array(0 => $m), NULL);
     $q->add($o, array(0 => $m), NULL);
     $q->add($p, array(0 => $m), NULL);
     $r = new \Symfony\Component\Security\Http\HttpUtils($d, $d);
     $s = new \Symfony\Component\Security\Http\Firewall\LogoutListener($b, $r, new \Symfony\Component\Security\Http\Logout\DefaultLogoutSuccessHandler($r, '/'), array('csrf_parameter' => '_csrf_token', 'csrf_token_id' => 'logout', 'logout_path' => '/logout'));
     $s->addHandler(new \Symfony\Component\Security\Http\Logout\SessionLogoutHandler());
     $t = new \Symfony\Component\Security\Http\Authentication\DefaultAuthenticationSuccessHandler($r, array());
     $t->setOptions(array('login_path' => '/login', 'default_target_path' => '/', 'always_use_default_target_path' => false, 'target_path_parameter' => '_target_path', 'use_referer' => false));
     $t->setProviderKey('default');
     $u = new \Symfony\Component\Security\Http\Authentication\DefaultAuthenticationFailureHandler($e, $r, array(), $a);
     $u->setOptions(array('login_path' => '/login', 'failure_path' => NULL, 'failure_forward' => false, 'failure_path_parameter' => '_failure_path'));
     return $this->services['security.firewall.map.context.default'] = new \Symfony\Bundle\SecurityBundle\Security\FirewallContext(array(0 => new \Symfony\Component\Security\Http\Firewall\ChannelListener($q, 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.our_db_provider')), 'default', $a, $c), 2 => $s, 3 => new \Symfony\Component\Security\Http\Firewall\UsernamePasswordFormAuthenticationListener($b, $f, new \Symfony\Component\Security\Http\Session\SessionAuthenticationStrategy('migrate'), $r, 'default', $t, $u, array('check_path' => '/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), $a, $c, NULL), 4 => new \Symfony\Component\Security\Http\Firewall\AnonymousAuthenticationListener($b, '5673acb07e60d9.67430416', $a, $f), 5 => new \Symfony\Component\Security\Http\Firewall\AccessListener($b, $this->get('security.access.decision_manager'), $q, $f)), new \Symfony\Component\Security\Http\Firewall\ExceptionListener($b, $this->get('security.authentication.trust_resolver'), $r, 'default', new \Symfony\Component\Security\Http\EntryPoint\FormAuthenticationEntryPoint($e, $r, '/login', false), NULL, NULL, $a, false));
 }
 /**
  * Gets the 'security.firewall.map.context.admin_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_AdminAreaService()
 {
     $a = $this->get('security.context');
     $b = $this->get('debug.event_dispatcher', ContainerInterface::NULL_ON_INVALID_REFERENCE);
     $c = $this->get('router', ContainerInterface::NULL_ON_INVALID_REFERENCE);
     $d = $this->get('http_kernel');
     $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 => 'IS_AUTHENTICATED_ANONYMOUSLY'), NULL);
     $h = new \Symfony\Component\Security\Http\HttpUtils($c, $c);
     $i = new \Symfony\Component\Security\Http\Firewall\LogoutListener($a, $h, new \Symfony\Component\Security\Http\Logout\DefaultLogoutSuccessHandler($h, '/admin/login'), array('csrf_parameter' => '_csrf_token', 'intention' => 'logout', 'logout_path' => '/admin/logout'));
     $i->addHandler(new \Symfony\Component\Security\Http\Logout\SessionLogoutHandler());
     $j = new \Symfony\Component\Security\Http\Authentication\DefaultAuthenticationSuccessHandler($h, array());
     $j->setOptions(array('login_path' => '/admin/login', 'default_target_path' => '/admin/dashboard', 'always_use_default_target_path' => false, 'target_path_parameter' => '_target_path', 'use_referer' => false));
     $j->setProviderKey('admin_area');
     $k = new \Symfony\Component\Security\Http\Authentication\DefaultAuthenticationFailureHandler($d, $h, array(), NULL);
     $k->setOptions(array('login_path' => '/admin/login', 'failure_path' => NULL, 'failure_forward' => false, 'failure_path_parameter' => '_failure_path'));
     $l = new \Symfony\Component\Security\Http\EntryPoint\FormAuthenticationEntryPoint($d, $h, '/admin/login', false);
     return $this->services['security.firewall.map.context.admin_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), NULL), 1 => new \Symfony\Component\Security\Http\Firewall\ContextListener($a, array(0 => $this->get('security.user.provider.concrete.administrators')), 'admin_area', NULL, $b), 2 => $i, 3 => new \Symfony\Component\Security\Http\Firewall\UsernamePasswordFormAuthenticationListener($a, $e, new \Symfony\Component\Security\Http\Session\SessionAuthenticationStrategy('migrate'), $h, 'admin_area', $j, $k, array('check_path' => '/admin/login_check', 'use_forward' => false, 'require_previous_session' => true, 'username_parameter' => '_username', 'password_parameter' => '_password', 'csrf_parameter' => '_csrf_token', 'intention' => 'authenticate', 'post_only' => true), NULL, $b, NULL), 4 => new \Symfony\Component\Security\Http\Firewall\BasicAuthenticationListener($a, $e, 'admin_area', $l, NULL), 5 => new \Symfony\Component\Security\Http\Firewall\AccessListener($a, $this->get('security.access.decision_manager'), $g, $e)), new \Symfony\Component\Security\Http\Firewall\ExceptionListener($a, $this->get('security.authentication.trust_resolver'), $h, 'admin_area', $l, NULL, NULL, NULL));
 }
Пример #14
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.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.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_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_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));
 }
 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.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));
 }
Пример #21
0
 protected function getSecurity_Firewall_Map_Context_Oauth2AreaService()
 {
     $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 = $this->get('security.authentication.manager');
     $g = new \Symfony\Component\Security\Http\Authentication\DefaultAuthenticationSuccessHandler($d, array());
     $g->setOptions(array('login_path' => '/oauth/v2/authorize_login', 'always_use_default_target_path' => false, 'default_target_path' => '/', 'target_path_parameter' => '_target_path', 'use_referer' => false));
     $g->setProviderKey('oauth2_area');
     $h = new \Symfony\Component\Security\Http\Authentication\DefaultAuthenticationFailureHandler($e, $d, array(), $b);
     $h->setOptions(array('login_path' => '/oauth/v2/authorize_login', 'failure_path' => NULL, 'failure_forward' => false, 'failure_path_parameter' => '_failure_path'));
     return $this->services['security.firewall.map.context.oauth2_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('mautic.user.provider')), 'oauth2_area', $b, $c), 2 => new \Symfony\Component\Security\Http\Firewall\UsernamePasswordFormAuthenticationListener($a, $f, $this->get('security.authentication.session_strategy'), $d, 'oauth2_area', $g, $h, array('check_path' => '/oauth/v2/authorize_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, NULL), 3 => new \Symfony\Component\Security\Http\Firewall\AnonymousAuthenticationListener($a, '567aa2dbd72de8.36627330', $b, $f), 4 => $this->get('security.access_listener')), new \Symfony\Component\Security\Http\Firewall\ExceptionListener($a, $this->get('security.authentication.trust_resolver'), $d, 'oauth2_area', new \Symfony\Component\Security\Http\EntryPoint\FormAuthenticationEntryPoint($e, $d, '/oauth/v2/authorize_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('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.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('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));
 }
    /**
     * 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.default' 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_DefaultService()
 {
     $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.http_utils');
     $e = $this->get('http_kernel');
     $f = $this->get('security.authentication.manager');
     $g = new \Symfony\Component\Security\Http\Authentication\DefaultAuthenticationSuccessHandler($d, 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('default');
     $h = new \Symfony\Component\Security\Http\Authentication\DefaultAuthenticationFailureHandler($e, $d, array(), $b);
     $h->setOptions(array('login_path' => '/login', 'failure_path' => NULL, 'failure_forward' => false, 'failure_path_parameter' => '_failure_path'));
     $i = 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('api_key_user_provider')), 'default', $b, $c), 2 => new \Symfony\Component\Security\Http\Firewall\UsernamePasswordFormAuthenticationListener($a, $f, new \Symfony\Component\Security\Http\Session\SessionAuthenticationStrategy('migrate'), $d, 'default', $g, $h, 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, NULL), 3 => new \Symfony\Component\Security\Http\Firewall\BasicAuthenticationListener($a, $f, 'default', $i, $b), 4 => new \Symfony\Component\Security\Http\Firewall\AnonymousAuthenticationListener($a, '56522bd4ef2fd7.44707804', $b, $f), 5 => $this->get('security.access_listener')), new \Symfony\Component\Security\Http\Firewall\ExceptionListener($a, $this->get('security.authentication.trust_resolver'), $d, 'default', $i, NULL, NULL, $b, false));
 }
Пример #27
0
 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('event_dispatcher', ContainerInterface::NULL_ON_INVALID_REFERENCE);
     $d = ${($_ = isset($this->services['security.authentication.trust_resolver']) ? $this->services['security.authentication.trust_resolver'] : $this->getSecurity_Authentication_TrustResolverService()) && false ?: '_'};
     $e = $this->get('router', ContainerInterface::NULL_ON_INVALID_REFERENCE);
     $f = $this->get('http_kernel');
     $g = ${($_ = isset($this->services['security.authentication.manager']) ? $this->services['security.authentication.manager'] : $this->getSecurity_Authentication_ManagerService()) && false ?: '_'};
     $h = new \Symfony\Component\HttpFoundation\RequestMatcher('^/login$');
     $i = new \Symfony\Component\HttpFoundation\RequestMatcher('^/');
     $j = new \Symfony\Component\Security\Http\AccessMap();
     $j->add($h, array(0 => 'IS_AUTHENTICATED_ANONYMOUSLY'), NULL);
     $j->add($i, array(0 => 'ROLE_ADMIN'), NULL);
     $k = new \Symfony\Component\Security\Http\HttpUtils($e, $e);
     $l = new \Symfony\Component\Security\Http\Authentication\DefaultAuthenticationSuccessHandler($k, 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('secured_area');
     $m = new \Symfony\Component\Security\Http\Authentication\DefaultAuthenticationFailureHandler($f, $k, 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.secured_area'] = 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 => ${($_ = isset($this->services['security.user.provider.concrete.in_memory']) ? $this->services['security.user.provider.concrete.in_memory'] : $this->getSecurity_User_Provider_Concrete_InMemoryService()) && false ?: '_'}), 'secured_area', $a, $c, $d), 2 => new \Symfony\Component\Security\Http\Firewall\UsernamePasswordFormAuthenticationListener($b, $g, new \Symfony\Component\Security\Http\Session\SessionAuthenticationStrategy('migrate'), $k, 'secured_area', $l, $m, array('check_path' => 'login', 'use_forward' => false, 'require_previous_session' => true, 'username_parameter' => '_username', 'password_parameter' => '_password', 'csrf_parameter' => '_csrf_token', 'csrf_token_id' => 'authenticate', 'post_only' => true), $a, $c, NULL), 3 => new \Symfony\Component\Security\Http\Firewall\AccessListener($b, ${($_ = isset($this->services['security.access.decision_manager']) ? $this->services['security.access.decision_manager'] : $this->getSecurity_Access_DecisionManagerService()) && false ?: '_'}, $j, $g)), new \Symfony\Component\Security\Http\Firewall\ExceptionListener($b, $d, $k, 'secured_area', new \Symfony\Component\Security\Http\EntryPoint\FormAuthenticationEntryPoint($f, $k, 'login', false), NULL, NULL, $a, false), new \Symfony\Bundle\SecurityBundle\Security\FirewallConfig('secured_area', 'security.user_checker', NULL, true, false, 'security.user.provider.concrete.in_memory', 'secured_area', 'security.authentication.form_entry_point.secured_area', NULL, NULL, array(0 => 'form_login')));
 }
 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));
 }
 /**
  * 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('security.http_utils');
     $e = $this->get('http_kernel');
     $f = $this->get('security.authentication.manager');
     $g = new \Symfony\Component\HttpFoundation\RequestMatcher('^/login');
     $h = new \Symfony\Component\HttpFoundation\RequestMatcher('/Taches');
     $i = new \Symfony\Component\HttpFoundation\RequestMatcher('/LaTaches');
     $j = new \Symfony\Component\HttpFoundation\RequestMatcher('/rechercheTaches');
     $k = new \Symfony\Component\HttpFoundation\RequestMatcher('/tachesY1');
     $l = new \Symfony\Component\HttpFoundation\RequestMatcher('/Outils');
     $m = new \Symfony\Component\HttpFoundation\RequestMatcher('/preferences');
     $n = new \Symfony\Component\HttpFoundation\RequestMatcher('/LierDelier');
     $o = new \Symfony\Component\HttpFoundation\RequestMatcher('/LierDelierPOST');
     $p = new \Symfony\Component\HttpFoundation\RequestMatcher('/LeComposantsPOST');
     $q = new \Symfony\Component\HttpFoundation\RequestMatcher('/LeComposantsSuppr');
     $r = new \Symfony\Component\HttpFoundation\RequestMatcher('/LefluxPOST');
     $s = new \Symfony\Component\HttpFoundation\RequestMatcher('/LefluxSuppr');
     $t = new \Symfony\Component\HttpFoundation\RequestMatcher('/LeServeursPOST');
     $u = new \Symfony\Component\HttpFoundation\RequestMatcher('/LeServeursSuppr');
     $v = new \Symfony\Component\HttpFoundation\RequestMatcher('/LaConnexionServeurPOST');
     $w = new \Symfony\Component\HttpFoundation\RequestMatcher('/LaConnexionServeurSuppr');
     $x = new \Symfony\Component\HttpFoundation\RequestMatcher('/LEnvironnementServeurPOST');
     $y = new \Symfony\Component\HttpFoundation\RequestMatcher('/LaSauvegardeServeurPOST');
     $z = new \Symfony\Component\HttpFoundation\RequestMatcher('/LaSauvegardeServeurSuppr');
     $aa = new \Symfony\Component\HttpFoundation\RequestMatcher('/ModifIntervenantsPOST');
     $ba = new \Symfony\Component\HttpFoundation\RequestMatcher('/SupprIntervenantsPOST');
     $ca = new \Symfony\Component\HttpFoundation\RequestMatcher('/SupprSGBD');
     $da = new \Symfony\Component\HttpFoundation\RequestMatcher('/creationIntervenant');
     $ea = new \Symfony\Component\HttpFoundation\RequestMatcher('/creationComposant');
     $fa = new \Symfony\Component\HttpFoundation\RequestMatcher('/creationFlux');
     $ga = new \Symfony\Component\HttpFoundation\RequestMatcher('/creationSauvegarde');
     $ha = new \Symfony\Component\HttpFoundation\RequestMatcher('/creationConnexionSAN');
     $ia = new \Symfony\Component\HttpFoundation\RequestMatcher('/creationServeurAppliance');
     $ja = new \Symfony\Component\HttpFoundation\RequestMatcher('/creationApplication');
     $ka = new \Symfony\Component\HttpFoundation\RequestMatcher('/applicationsPOST');
     $la = new \Symfony\Component\HttpFoundation\RequestMatcher('/SupprConnexions');
     $ma = new \Symfony\Component\HttpFoundation\RequestMatcher('/EnvironnementPost');
     $na = new \Symfony\Component\HttpFoundation\RequestMatcher('/AssociationEnvironnementPOST');
     $oa = new \Symfony\Component\HttpFoundation\RequestMatcher('/SupprIntervenant');
     $pa = new \Symfony\Component\HttpFoundation\RequestMatcher('/AssociationIntervenantPOST');
     $qa = new \Symfony\Component\HttpFoundation\RequestMatcher('/AssociationCreationIntervenantPOST');
     $ra = new \Symfony\Component\HttpFoundation\RequestMatcher('/SupprLaTaches');
     $sa = new \Symfony\Component\HttpFoundation\RequestMatcher('/importServeur');
     $ta = new \Symfony\Component\HttpFoundation\RequestMatcher('/importApplication');
     $ua = new \Symfony\Component\HttpFoundation\RequestMatcher('/importSgbd');
     $va = new \Symfony\Component\HttpFoundation\RequestMatcher('/modifUtil');
     $wa = new \Symfony\Component\HttpFoundation\RequestMatcher('/ajoutEnvironnement');
     $xa = new \Symfony\Component\HttpFoundation\RequestMatcher('/ajoutEnvironnement2013');
     $ya = new \Symfony\Component\HttpFoundation\RequestMatcher('/ajoutTaches');
     $za = new \Symfony\Component\HttpFoundation\RequestMatcher('^/Cartopli');
     $ab = new \Symfony\Component\HttpFoundation\RequestMatcher('/AcceeInterdit');
     $bb = new \Symfony\Component\Security\Http\AccessMap();
     $bb->add($g, array(0 => 'IS_AUTHENTICATED_ANONYMOUSLY'), NULL);
     $bb->add($h, array(0 => 'ROLE_ADMIN'), NULL);
     $bb->add($i, array(0 => 'ROLE_ADMIN'), NULL);
     $bb->add($j, array(0 => 'ROLE_ADMIN'), NULL);
     $bb->add($k, array(0 => 'ROLE_ADMIN'), NULL);
     $bb->add($l, array(0 => 'ROLE_CORRECTEUR'), NULL);
     $bb->add($m, array(0 => 'ROLE_LECTEUR'), NULL);
     $bb->add($n, array(0 => 'ROLE_CORRECTEUR'), NULL);
     $bb->add($o, array(0 => 'ROLE_CORRECTEUR'), NULL);
     $bb->add($p, array(0 => 'ROLE_CORRECTEUR'), NULL);
     $bb->add($q, array(0 => 'ROLE_UTILISATEUR'), NULL);
     $bb->add($r, array(0 => 'ROLE_CORRECTEUR'), NULL);
     $bb->add($s, array(0 => 'ROLE_CORRECTEUR'), NULL);
     $bb->add($t, array(0 => 'ROLE_CORRECTEUR'), NULL);
     $bb->add($u, array(0 => 'ROLE_UTILISATEUR'), NULL);
     $bb->add($v, array(0 => 'ROLE_CORRECTEUR'), NULL);
     $bb->add($w, array(0 => 'ROLE_UTILISATEUR'), NULL);
     $bb->add($x, array(0 => 'ROLE_CORRECTEUR'), NULL);
     $bb->add($y, array(0 => 'ROLE_CORRECTEUR'), NULL);
     $bb->add($z, array(0 => 'ROLE_UTILISATEUR'), NULL);
     $bb->add($aa, array(0 => 'ROLE_CORRECTEUR'), NULL);
     $bb->add($ba, array(0 => 'ROLE_CORRECTEUR'), NULL);
     $bb->add($ca, array(0 => 'ROLE_UTILISATEUR'), NULL);
     $bb->add($da, array(0 => 'ROLE_UTILISATEUR'), NULL);
     $bb->add($ea, array(0 => 'ROLE_UTILISATEUR'), NULL);
     $bb->add($fa, array(0 => 'ROLE_UTILISATEUR'), NULL);
     $bb->add($ga, array(0 => 'ROLE_UTILISATEUR'), NULL);
     $bb->add($ha, array(0 => 'ROLE_CORRECTEURTEMP'), NULL);
     $bb->add($ia, array(0 => 'ROLE_CORRECTEUR'), NULL);
     $bb->add($ja, array(0 => 'ROLE_UTILISATEUR'), NULL);
     $bb->add($ka, array(0 => 'ROLE_CORRECTEUR', 1 => 'ROLE_ADMIN_CST'), NULL);
     $bb->add($la, array(0 => 'ROLE_UTILISATEUR'), NULL);
     $bb->add($ma, array(0 => 'ROLE_CORRECTEUR'), NULL);
     $bb->add($na, array(0 => 'ROLE_UTILISATEUR'), NULL);
     $bb->add($oa, array(0 => 'ROLE_UTILISATEUR'), NULL);
     $bb->add($pa, array(0 => 'ROLE_CORRECTEUR'), NULL);
     $bb->add($qa, array(0 => 'ROLE_UTILISATEUR'), NULL);
     $bb->add($ra, array(0 => 'ROLE_UTILISATEUR'), NULL);
     $bb->add($sa, array(0 => 'ROLE_ADMIN'), NULL);
     $bb->add($ta, array(0 => 'ROLE_ADMIN'), NULL);
     $bb->add($ua, array(0 => 'ROLE_ADMIN'), NULL);
     $bb->add($va, array(0 => 'ROLE_CORRECTEUR'), NULL);
     $bb->add($wa, array(0 => 'ROLE_ADMIN'), NULL);
     $bb->add($xa, array(0 => 'ROLE_ADMIN'), NULL);
     $bb->add($ya, array(0 => 'ROLE_ADMIN'), NULL);
     $bb->add($za, array(0 => 'ROLE_USER', 1 => 'IS_AUTHENTICATED_ANONYMOUSLY'), NULL);
     $bb->add($ab, array(0 => 'ROLE_USER', 1 => 'IS_AUTHENTICATED_ANONYMOUSLY'), NULL);
     $cb = new \Symfony\Component\Security\Http\Firewall\LogoutListener($b, $d, new \Symfony\Component\Security\Http\Logout\DefaultLogoutSuccessHandler($d, '/login'), array('csrf_parameter' => '_csrf_token', 'intention' => 'logout', 'logout_path' => '/logout'));
     $cb->addHandler(new \Symfony\Component\Security\Http\Logout\SessionLogoutHandler());
     $db = new \Symfony\Component\Security\Http\Authentication\DefaultAuthenticationSuccessHandler($d, array('login_path' => '/login', 'always_use_default_target_path' => false, 'default_target_path' => '/', 'target_path_parameter' => '_target_path', 'use_referer' => false));
     $db->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($bb, new \Symfony\Component\Security\Http\EntryPoint\RetryAuthenticationEntryPoint(80, 443), $a), 1 => new \Symfony\Component\Security\Http\Firewall\ContextListener($b, array(0 => $this->get('ldap_user_provider'), 1 => new \Symfony\Bridge\Doctrine\Security\User\EntityUserProvider($this->get('doctrine'), 'Developpement\\CartopliBundle\\Entity\\Utilisateurs', 'username', NULL)), 'secured_area', $a, $c), 2 => $cb, 3 => $this->get('security.authentication.listener.user.secured_area'), 4 => new \Symfony\Component\Security\Http\Firewall\UsernamePasswordFormAuthenticationListener($b, $f, $this->get('security.authentication.session_strategy'), $d, 'secured_area', $db, new \Symfony\Component\Security\Http\Authentication\DefaultAuthenticationFailureHandler($e, $d, array('login_path' => '/login', 'failure_path' => NULL, 'failure_forward' => false), $a), array('check_path' => '/login_check', 'use_forward' => false, 'username_parameter' => '_username', 'password_parameter' => '_password', 'csrf_parameter' => '_csrf_token', 'intention' => 'authenticate', 'post_only' => true), $a, $c), 5 => new \Symfony\Component\Security\Http\Firewall\AnonymousAuthenticationListener($b, '557ffdacd552f', $a), 6 => new \Symfony\Component\Security\Http\Firewall\AccessListener($b, $this->get('security.access.decision_manager'), $bb, $f, $a)), new \Symfony\Component\Security\Http\Firewall\ExceptionListener($b, $this->get('security.authentication.trust_resolver'), $d, 'secured_area', new \Symfony\Component\Security\Http\EntryPoint\FormAuthenticationEntryPoint($e, $d, '/login', false), '/AcceeInterdit', NULL, $a));
 }