/**
  * Gets the 'security.access_map' service.
  *
  * This service is shared.
  * This method always returns the same instance of the service.
  *
  * This service is private.
  * If you want to be able to request this service from the container directly,
  * make it public, otherwise you might end up with broken code.
  *
  * @return Symfony\Component\Security\Http\AccessMap A Symfony\Component\Security\Http\AccessMap instance.
  */
 protected function getSecurity_AccessMapService()
 {
     $this->services['security.access_map'] = $instance = new \Symfony\Component\Security\Http\AccessMap();
     $instance->add(new \Symfony\Component\HttpFoundation\RequestMatcher('/references'), array(0 => 'ROLE_LOCAL_AUTHOR'), NULL);
     $instance->add(new \Symfony\Component\HttpFoundation\RequestMatcher('/e-guides/(?!purchased)'), array(0 => 'ROLE_LOCAL_AUTHOR'), NULL);
     $instance->add(new \Symfony\Component\HttpFoundation\RequestMatcher('/gallery-and-spots'), array(0 => 'ROLE_LOCAL_AUTHOR'), NULL);
     $instance->add(new \Symfony\Component\HttpFoundation\RequestMatcher('/add-travel-guide-info'), array(0 => 'ROLE_LOCAL_AUTHOR'), NULL);
     $instance->add(new \Symfony\Component\HttpFoundation\RequestMatcher('/travel-guide-info'), array(0 => 'ROLE_LOCAL_AUTHOR'), NULL);
     $instance->add(new \Symfony\Component\HttpFoundation\RequestMatcher('/earn-more'), array(0 => 'ROLE_LOCAL_AUTHOR'), NULL);
     $instance->add(new \Symfony\Component\HttpFoundation\RequestMatcher('/vouch'), array(0 => 'ROLE_LOCAL_AUTHOR'), NULL);
     $instance->add(new \Symfony\Component\HttpFoundation\RequestMatcher('^/(?!admin)'), array(0 => 'ROLE_LOCAL_AUTHOR', 1 => 'IS_AUTHENTICATED_ANONYMOUSLY'), NULL);
     $instance->add(new \Symfony\Component\HttpFoundation\RequestMatcher('/admin'), array(0 => 'ROLE_ADMIN', 1 => 'ROLE_SUPER_ADMIN'), NULL);
     return $instance;
 }
 /**
  * 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));
 }
 /**
  * Gets the 'security.access_map' service.
  *
  * This service is shared.
  * This method always returns the same instance of the service.
  *
  * This service is private.
  * If you want to be able to request this service from the container directly,
  * make it public, otherwise you might end up with broken code.
  *
  * @return \Symfony\Component\Security\Http\AccessMap A Symfony\Component\Security\Http\AccessMap instance.
  */
 protected function getSecurity_AccessMapService()
 {
     $this->services['security.access_map'] = $instance = new \Symfony\Component\Security\Http\AccessMap();
     $instance->add(new \Symfony\Component\HttpFoundation\RequestMatcher('^/admin'), array(0 => 'ROLE_ADMIN'), NULL);
     return $instance;
 }
 /**
  * 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));
 }
 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('^/demo/secured/hello/admin/');
     $h = new \Symfony\Component\Security\Http\AccessMap();
     $h->add($g, array(0 => 'ROLE_ADMIN'), 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, '_demo'), array('csrf_parameter' => '_csrf_token', 'intention' => 'logout', 'logout_path' => '_demo_logout'));
     $j->addHandler(new \Symfony\Component\Security\Http\Logout\SessionLogoutHandler());
     $k = new \Symfony\Component\Security\Http\Authentication\DefaultAuthenticationSuccessHandler($i, array('login_path' => '_demo_login', 'always_use_default_target_path' => false, 'default_target_path' => '/', 'target_path_parameter' => '_target_path', 'use_referer' => false));
     $k->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($h, 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')), 'secured_area', $a, $c), 2 => $j, 3 => new \Symfony\Component\Security\Http\Firewall\UsernamePasswordFormAuthenticationListener($b, $f, new \Symfony\Component\Security\Http\Session\SessionAuthenticationStrategy('migrate'), $i, 'secured_area', $k, new \Symfony\Component\Security\Http\Authentication\DefaultAuthenticationFailureHandler($e, $i, array('login_path' => '_demo_login', 'failure_path' => NULL, 'failure_forward' => false, 'failure_path_parameter' => '_failure_path'), $a), array('check_path' => '_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), 4 => new \Symfony\Component\Security\Http\Firewall\AccessListener($b, $this->get('security.access.decision_manager'), $h, $f, $a)), 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, '_demo_login', false), NULL, NULL, $a));
 }
 /**
  * Gets the 'security.access_map' service.
  *
  * This service is shared.
  * This method always returns the same instance of the service.
  *
  * This service is private.
  * If you want to be able to request this service from the container directly,
  * make it public, otherwise you might end up with broken code.
  *
  * @return \Symfony\Component\Security\Http\AccessMap A Symfony\Component\Security\Http\AccessMap instance
  */
 protected function getSecurity_AccessMapService()
 {
     $this->services['security.access_map'] = $instance = new \Symfony\Component\Security\Http\AccessMap();
     $instance->add(new \Symfony\Component\HttpFoundation\RequestMatcher('^/admin/login'), array(0 => 'IS_AUTHENTICATED_ANONYMOUSLY'), NULL);
     $instance->add(new \Symfony\Component\HttpFoundation\RequestMatcher('^/admin/forgot-password'), array(0 => 'IS_AUTHENTICATED_ANONYMOUSLY'), NULL);
     $instance->add(new \Symfony\Component\HttpFoundation\RequestMatcher('^/admin/reset-password'), array(0 => 'IS_AUTHENTICATED_ANONYMOUSLY'), NULL);
     $instance->add(new \Symfony\Component\HttpFoundation\RequestMatcher('^/admin'), array(0 => 'IS_AUTHENTICATED_FULLY', 1 => 'IS_AUTHENTICATED_REMEMBERED'), NULL);
     return $instance;
 }
 /**
  * Gets the 'security.firewall.map.context.main' service.
  *
  * This service is shared.
  * This method always returns the same instance of the service.
  *
  * @return \Symfony\Bundle\SecurityBundle\Security\FirewallContext A Symfony\Bundle\SecurityBundle\Security\FirewallContext instance.
  */
 protected function getSecurity_Firewall_Map_Context_MainService()
 {
     $a = $this->get('monolog.logger.security', ContainerInterface::NULL_ON_INVALID_REFERENCE);
     $b = $this->get('security.token_storage');
     $c = $this->get('debug.event_dispatcher', ContainerInterface::NULL_ON_INVALID_REFERENCE);
     $d = $this->get('router', ContainerInterface::NULL_ON_INVALID_REFERENCE);
     $e = $this->get('http_kernel');
     $f = $this->get('security.authentication.manager');
     $g = new \Symfony\Component\HttpFoundation\RequestMatcher('^/adminQuizs');
     $h = new \Symfony\Component\Security\Http\AccessMap();
     $h->add($g, array(0 => 'ROLE_USER'), NULL);
     $i = new \Symfony\Component\Security\Core\User\InMemoryUserProvider();
     $i->createUser(new \Symfony\Component\Security\Core\User\User('user', 'userpass', array(0 => 'ROLE_USER')));
     $i->createUser(new \Symfony\Component\Security\Core\User\User('admin', 'adminpass', array(0 => 'ROLE_ADMIN')));
     $j = new \Symfony\Component\Security\Http\HttpUtils($d, $d);
     $k = new \Symfony\Component\Security\Http\Firewall\LogoutListener($b, $j, new \Symfony\Component\Security\Http\Logout\DefaultLogoutSuccessHandler($j, '/'), array('csrf_parameter' => '_csrf_token', 'intention' => 'logout', 'logout_path' => 'logout'));
     $k->addHandler(new \Symfony\Component\Security\Http\Logout\SessionLogoutHandler());
     $l = new \Symfony\Component\Security\Http\Authentication\DefaultAuthenticationSuccessHandler($j, array());
     $l->setOptions(array('login_path' => '/login', 'always_use_default_target_path' => false, 'default_target_path' => '/', 'target_path_parameter' => '_target_path', 'use_referer' => false));
     $l->setProviderKey('main');
     $m = new \Symfony\Component\Security\Http\Authentication\DefaultAuthenticationFailureHandler($e, $j, array(), $a);
     $m->setOptions(array('login_path' => '/login', 'failure_path' => NULL, 'failure_forward' => false, 'failure_path_parameter' => '_failure_path'));
     return $this->services['security.firewall.map.context.main'] = new \Symfony\Bundle\SecurityBundle\Security\FirewallContext(array(0 => new \Symfony\Component\Security\Http\Firewall\ChannelListener($h, new \Symfony\Component\Security\Http\EntryPoint\RetryAuthenticationEntryPoint(80, 443), $a), 1 => new \Symfony\Component\Security\Http\Firewall\ContextListener($b, array(0 => $i, 1 => $this->get('security.user.provider.concrete.main')), 'main', $a, $c), 2 => $k, 3 => new \Symfony\Component\Security\Http\Firewall\UsernamePasswordFormAuthenticationListener($b, $f, new \Symfony\Component\Security\Http\Session\SessionAuthenticationStrategy('migrate'), $j, 'main', $l, $m, array('check_path' => 'login_check', 'use_forward' => false, 'require_previous_session' => true, 'username_parameter' => '_username', 'password_parameter' => '_password', 'csrf_parameter' => '_csrf_token', 'intention' => 'authenticate', 'post_only' => true), $a, $c, NULL), 4 => new \Symfony\Component\Security\Http\Firewall\AnonymousAuthenticationListener($b, '566e9bc216e399.45424227', $a, $f), 5 => new \Symfony\Component\Security\Http\Firewall\AccessListener($b, $this->get('security.access.decision_manager'), $h, $f)), new \Symfony\Component\Security\Http\Firewall\ExceptionListener($b, $this->get('security.authentication.trust_resolver'), $j, 'main', new \Symfony\Component\Security\Http\EntryPoint\FormAuthenticationEntryPoint($e, $j, '/login', false), NULL, NULL, $a, false));
 }
 /**
  * Gets the 'security.firewall.map.context.secured_area' service.
  *
  * This service is shared.
  * This method always returns the same instance of the service.
  *
  * @return \Symfony\Bundle\SecurityBundle\Security\FirewallContext A Symfony\Bundle\SecurityBundle\Security\FirewallContext instance.
  */
 protected function getSecurity_Firewall_Map_Context_SecuredAreaService()
 {
     $a = $this->get('monolog.logger.security', ContainerInterface::NULL_ON_INVALID_REFERENCE);
     $b = $this->get('security.context');
     $c = $this->get('debug.event_dispatcher', ContainerInterface::NULL_ON_INVALID_REFERENCE);
     $d = $this->get('router', ContainerInterface::NULL_ON_INVALID_REFERENCE);
     $e = $this->get('http_kernel');
     $f = $this->get('security.authentication.manager');
     $g = new \Symfony\Component\HttpFoundation\RequestMatcher('^/login$');
     $h = new \Symfony\Component\HttpFoundation\RequestMatcher('^/register');
     $i = new \Symfony\Component\HttpFoundation\RequestMatcher('^/resetting');
     $j = new \Symfony\Component\HttpFoundation\RequestMatcher('^/empresa/*');
     $k = new \Symfony\Component\HttpFoundation\RequestMatcher('^/clasificadorticket/*');
     $l = new \Symfony\Component\HttpFoundation\RequestMatcher('^/clasificadorprioridad/*');
     $m = new \Symfony\Component\HttpFoundation\RequestMatcher('^/clasificadorestado/*');
     $n = new \Symfony\Component\HttpFoundation\RequestMatcher('^/clasificadoretapa/*');
     $o = new \Symfony\Component\HttpFoundation\RequestMatcher('^/proyecto/new');
     $p = new \Symfony\Component\HttpFoundation\RequestMatcher('^/proyecto/edit/*');
     $q = new \Symfony\Component\HttpFoundation\RequestMatcher('^/proyecto/*', NULL, array(0 => 'DELETE', 1 => 'PUT'));
     $r = new \Symfony\Component\HttpFoundation\RequestMatcher('^/proyectos/');
     $s = new \Symfony\Component\HttpFoundation\RequestMatcher('^/security/');
     $t = new \Symfony\Component\HttpFoundation\RequestMatcher('^/');
     $u = new \Symfony\Component\Security\Http\AccessMap();
     $u->add($g, array(0 => 'IS_AUTHENTICATED_ANONYMOUSLY'), NULL);
     $u->add($h, array(0 => 'IS_AUTHENTICATED_ANONYMOUSLY'), NULL);
     $u->add($i, array(0 => 'IS_AUTHENTICATED_ANONYMOUSLY'), NULL);
     $u->add($j, array(0 => 'ROLE_ADMIN'), NULL);
     $u->add($k, array(0 => 'ROLE_ADMIN'), NULL);
     $u->add($l, array(0 => 'ROLE_ADMIN'), NULL);
     $u->add($m, array(0 => 'ROLE_ADMIN'), NULL);
     $u->add($n, array(0 => 'ROLE_ADMIN'), NULL);
     $u->add($o, array(0 => 'ROLE_ADMIN'), NULL);
     $u->add($p, array(0 => 'ROLE_ADMIN'), NULL);
     $u->add($q, array(0 => 'ROLE_ADMIN'), NULL);
     $u->add($r, array(0 => 'ROLE_USER'), NULL);
     $u->add($s, array(0 => 'ROLE_SUPER_ADMIN'), NULL);
     $u->add($t, array(0 => 'ROLE_USER'), NULL);
     $v = new \Symfony\Component\Security\Http\HttpUtils($d, $d);
     $w = new \Symfony\Component\Security\Http\Firewall\LogoutListener($b, $v, new \Symfony\Component\Security\Http\Logout\DefaultLogoutSuccessHandler($v, '/'), array('csrf_parameter' => '_csrf_token', 'intention' => 'logout', 'logout_path' => '/logout'));
     $w->addHandler(new \Symfony\Component\Security\Http\Logout\SessionLogoutHandler());
     $x = new \Symfony\Component\Security\Http\Authentication\DefaultAuthenticationSuccessHandler($v, array('always_use_default_target_path' => false, 'default_target_path' => '/', 'login_path' => '/login', 'target_path_parameter' => '_target_path', 'use_referer' => false));
     $x->setProviderKey('secured_area');
     $y = new \Symfony\Component\Security\Http\EntryPoint\FormAuthenticationEntryPoint($e, $v, '/login', false);
     return $this->services['security.firewall.map.context.secured_area'] = new \Symfony\Bundle\SecurityBundle\Security\FirewallContext(array(0 => new \Symfony\Component\Security\Http\Firewall\ChannelListener($u, new \Symfony\Component\Security\Http\EntryPoint\RetryAuthenticationEntryPoint(80, 443), $a), 1 => new \Symfony\Component\Security\Http\Firewall\ContextListener($b, array(0 => $this->get('security.user.provider.concrete.chain_provider'), 1 => $this->get('fos_user.user_provider.username'), 2 => $this->get('security.user.provider.concrete.in_memory')), 'secured_area', $a, $c), 2 => $w, 3 => new \Symfony\Component\Security\Http\Firewall\UsernamePasswordFormAuthenticationListener($b, $f, $this->get('security.authentication.session_strategy'), $v, 'secured_area', $x, new \Symfony\Component\Security\Http\Authentication\DefaultAuthenticationFailureHandler($e, $v, array('login_path' => '/login', 'failure_path' => NULL, 'failure_forward' => false, 'failure_path_parameter' => '_failure_path'), $a), array('check_path' => '/login_check', 'use_forward' => false, 'require_previous_session' => true, 'username_parameter' => '_username', 'password_parameter' => '_password', 'csrf_parameter' => '_csrf_token', 'intention' => 'authenticate', 'post_only' => true), $a, $c, $this->get('form.csrf_provider')), 4 => new \Symfony\Component\Security\Http\Firewall\BasicAuthenticationListener($b, $f, 'secured_area', $y, $a), 5 => new \Symfony\Component\Security\Http\Firewall\AnonymousAuthenticationListener($b, '56b6005964447', $a), 6 => new \Symfony\Component\Security\Http\Firewall\AccessListener($b, $this->get('security.access.decision_manager'), $u, $f)), new \Symfony\Component\Security\Http\Firewall\ExceptionListener($b, $this->get('security.authentication.trust_resolver'), $v, 'secured_area', $y, NULL, NULL, $a));
 }
 protected function getSecurity_Firewall_Map_Context_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 = $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('/user/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/upload$');
     $l = new \JMS\SecurityExtraBundle\Security\Authorization\Expression\Expression('isAuthenticated()');
     $m = new \Symfony\Component\Security\Http\AccessMap();
     $m->add($g, array(0 => 'ROLE_ADMIN'), NULL);
     $m->add($h, array(0 => $i), NULL);
     $m->add($j, array(0 => $i), NULL);
     $m->add($k, array(0 => $l), 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', 'csrf_token_id' => 'logout', 'logout_path' => '/user/logout'));
     $o->addHandler(new \Symfony\Component\Security\Http\Logout\SessionLogoutHandler());
     $p = new \Symfony\Component\Security\Http\Authentication\DefaultAuthenticationSuccessHandler($n, array());
     $p->setOptions(array('login_path' => '/user/login', 'default_target_path' => '/', 'always_use_default_target_path' => false, 'target_path_parameter' => '_target_path', 'use_referer' => false));
     $p->setProviderKey('secured_area');
     $q = new \Symfony\Component\Security\Http\Authentication\DefaultAuthenticationFailureHandler($e, $n, array(), $a);
     $q->setOptions(array('login_path' => '/user/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.our_db_provider')), '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' => '/user/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, '566c9a5e682ba9.70288161', $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, '/user/login', false), NULL, NULL, $a, false));
 }
 /**
  * Gets the 'security.access_map' service.
  *
  * This service is shared.
  * This method always returns the same instance of the service.
  *
  * This service is private.
  * If you want to be able to request this service from the container directly,
  * make it public, otherwise you might end up with broken code.
  *
  * @return \Symfony\Component\Security\Http\AccessMap A Symfony\Component\Security\Http\AccessMap instance.
  */
 protected function getSecurity_AccessMapService()
 {
     $this->services['security.access_map'] = $instance = new \Symfony\Component\Security\Http\AccessMap();
     $instance->add(new \Symfony\Component\HttpFoundation\RequestMatcher('^/(hardware|software|maquinasvirtuales|sistemas)/conSeguridad'), array(0 => 'ROLE_ADMIN'), NULL);
     return $instance;
 }
 /**
  * Gets the 'security.access_map' service.
  *
  * This service is shared.
  * This method always returns the same instance of the service.
  *
  * This service is private.
  * If you want to be able to request this service from the container directly,
  * make it public, otherwise you might end up with broken code.
  *
  * @return \Symfony\Component\Security\Http\AccessMap A Symfony\Component\Security\Http\AccessMap instance.
  */
 protected function getSecurity_AccessMapService()
 {
     $this->services['security.access_map'] = $instance = new \Symfony\Component\Security\Http\AccessMap();
     $instance->add(new \Symfony\Component\HttpFoundation\RequestMatcher('^/.*'), array(0 => 'IS_AUTHENTICATED_ANONYMOUSLY'), NULL);
     $instance->add(new \Symfony\Component\HttpFoundation\RequestMatcher('^/payment'), array(0 => 'ROLE_USER_NOT_PAID'), NULL);
     return $instance;
 }
 /**
  * Gets the 'security.access_map' service.
  *
  * This service is shared.
  * This method always returns the same instance of the service.
  *
  * This service is private.
  * If you want to be able to request this service from the container directly,
  * make it public, otherwise you might end up with broken code.
  *
  * @return \Symfony\Component\Security\Http\AccessMap A Symfony\Component\Security\Http\AccessMap instance.
  */
 protected function getSecurity_AccessMapService()
 {
     $this->services['security.access_map'] = $instance = new \Symfony\Component\Security\Http\AccessMap();
     $instance->add(new \Symfony\Component\HttpFoundation\RequestMatcher('^/login'), array(0 => 'IS_AUTHENTICATED_ANONYMOUSLY'), NULL);
     $instance->add(new \Symfony\Component\HttpFoundation\RequestMatcher('^/connect'), array(0 => 'IS_AUTHENTICATED_ANONYMOUSLY'), NULL);
     $instance->add(new \Symfony\Component\HttpFoundation\RequestMatcher('^/logout$'), array(0 => 'IS_AUTHENTICATED_ANONYMOUSLY'), NULL);
     $instance->add(new \Symfony\Component\HttpFoundation\RequestMatcher('^/login-check$'), array(0 => 'IS_AUTHENTICATED_ANONYMOUSLY'), NULL);
     $instance->add(new \Symfony\Component\HttpFoundation\RequestMatcher('^/register/confirm'), array(0 => 'IS_AUTHENTICATED_ANONYMOUSLY'), NULL);
     $instance->add(new \Symfony\Component\HttpFoundation\RequestMatcher('^/register'), array(0 => 'ROLE_USER_REGISTER'), NULL);
     $instance->add(new \Symfony\Component\HttpFoundation\RequestMatcher('^/promo'), array(0 => 'ROLE_USER_REGISTER'), NULL);
     $instance->add(new \Symfony\Component\HttpFoundation\RequestMatcher('^/resetting'), array(0 => 'IS_AUTHENTICATED_ANONYMOUSLY'), NULL);
     $instance->add(new \Symfony\Component\HttpFoundation\RequestMatcher('^/confirmed$'), array(0 => 'ROLE_USER_REGISTER'), NULL);
     $instance->add(new \Symfony\Component\HttpFoundation\RequestMatcher('^/questionnaire'), array(0 => 'ROLE_USER_QUESTIONNAIRE'), NULL);
     $instance->add(new \Symfony\Component\HttpFoundation\RequestMatcher('^/additional'), array(0 => 'ROLE_USER_QUESTIONNAIRE'), NULL);
     $instance->add(new \Symfony\Component\HttpFoundation\RequestMatcher('^/success'), array(0 => 'ROLE_USER_APP'), NULL);
     $instance->add(new \Symfony\Component\HttpFoundation\RequestMatcher('^/admin/login$'), array(0 => 'IS_AUTHENTICATED_ANONYMOUSLY'), NULL);
     $instance->add(new \Symfony\Component\HttpFoundation\RequestMatcher('^/admin/logout$'), array(0 => 'IS_AUTHENTICATED_ANONYMOUSLY'), NULL);
     $instance->add(new \Symfony\Component\HttpFoundation\RequestMatcher('^/admin/login-check$'), array(0 => 'IS_AUTHENTICATED_ANONYMOUSLY'), NULL);
     $instance->add(new \Symfony\Component\HttpFoundation\RequestMatcher('^/payment/notify'), array(0 => 'IS_AUTHENTICATED_ANONYMOUSLY'), NULL);
     $instance->add(new \Symfony\Component\HttpFoundation\RequestMatcher('^/payment'), array(0 => 'ROLE_USER_REGISTER'), NULL);
     $instance->add(new \Symfony\Component\HttpFoundation\RequestMatcher('^/admin/'), array(0 => 'ROLE_ADMIN', 1 => 'ROLE_SONATA_ADMIN'), NULL);
     $instance->add(new \Symfony\Component\HttpFoundation\RequestMatcher('^/api/doc'), array(0 => 'IS_AUTHENTICATED_ANONYMOUSLY'), NULL);
     $instance->add(new \Symfony\Component\HttpFoundation\RequestMatcher('^/api/.*'), array(0 => 'ROLE_USER_APP'), NULL);
     $instance->add(new \Symfony\Component\HttpFoundation\RequestMatcher('^/.*'), array(0 => 'ROLE_USER_APP'), NULL);
     return $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_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.access_map' service.
  *
  * This service is shared.
  * This method always returns the same instance of the service.
  *
  * This service is private.
  * If you want to be able to request this service from the container directly,
  * make it public, otherwise you might end up with broken code.
  *
  * @return \Symfony\Component\Security\Http\AccessMap A Symfony\Component\Security\Http\AccessMap instance.
  */
 protected function getSecurity_AccessMapService()
 {
     $this->services['security.access_map'] = $instance = new \Symfony\Component\Security\Http\AccessMap();
     $instance->add(new \Symfony\Component\HttpFoundation\RequestMatcher('^/[a-z]+/admin'), array(0 => 'ROLE_APP_ADMIN'), NULL);
     $instance->add(new \Symfony\Component\HttpFoundation\RequestMatcher('^/[a-z]+/product/list'), array(0 => 'ROLE_APP_ADMIN', 1 => 'ROLE_USER'), NULL);
     $instance->add(new \Symfony\Component\HttpFoundation\RequestMatcher('^/[a-z]+/product/edit'), array(0 => 'ROLE_APP_ADMIN'), NULL);
     $instance->add(new \Symfony\Component\HttpFoundation\RequestMatcher('^/[a-z]+/product/delete'), array(0 => 'ROLE_APP_ADMIN'), NULL);
     $instance->add(new \Symfony\Component\HttpFoundation\RequestMatcher('^/[a-z]+/product/show'), array(0 => 'ROLE_USER'), NULL);
     $instance->add(new \Symfony\Component\HttpFoundation\RequestMatcher('^/[a-z]+/category/list'), array(0 => 'ROLE_APP_ADMIN', 1 => 'ROLE_USER'), NULL);
     $instance->add(new \Symfony\Component\HttpFoundation\RequestMatcher('^/[a-z]+/category/edit'), array(0 => 'ROLE_APP_ADMIN'), NULL);
     $instance->add(new \Symfony\Component\HttpFoundation\RequestMatcher('^/[a-z]+/category/delete'), array(0 => 'ROLE_APP_ADMIN'), NULL);
     $instance->add(new \Symfony\Component\HttpFoundation\RequestMatcher('^/[a-z]+/category/new'), array(0 => 'ROLE_APP_ADMIN'), NULL);
     $instance->add(new \Symfony\Component\HttpFoundation\RequestMatcher('^/[a-z]+/category/show'), array(0 => 'ROLE_USER'), NULL);
     $instance->add(new \Symfony\Component\HttpFoundation\RequestMatcher('^/[a-z]+/product/new'), array(0 => 'ROLE_APP_ADMIN'), NULL);
     $instance->add(new \Symfony\Component\HttpFoundation\RequestMatcher('^/[a-z]+/person/new'), array(0 => 'ROLE_APP_ADMIN'), NULL);
     $instance->add(new \Symfony\Component\HttpFoundation\RequestMatcher('^/[a-z]+/person/list'), array(0 => 'ROLE_APP_ADMIN', 1 => 'ROLE_USER'), NULL);
     $instance->add(new \Symfony\Component\HttpFoundation\RequestMatcher('^/[a-z]+/person/delete'), array(0 => 'ROLE_APP_ADMIN'), NULL);
     $instance->add(new \Symfony\Component\HttpFoundation\RequestMatcher('^/[a-z]+/person/show'), array(0 => 'ROLE_APP_ADMIN', 1 => 'ROLE_USER'), NULL);
     $instance->add(new \Symfony\Component\HttpFoundation\RequestMatcher('^/[a-z]+/login$'), array(0 => 'IS_AUTHENTICATED_ANONYMOUSLY'), NULL);
     $instance->add(new \Symfony\Component\HttpFoundation\RequestMatcher('^/[a-z]+/register'), array(0 => 'IS_AUTHENTICATED_ANONYMOUSLY'), NULL);
     $instance->add(new \Symfony\Component\HttpFoundation\RequestMatcher('^/[a-z]+/resetting'), array(0 => 'IS_AUTHENTICATED_ANONYMOUSLY'), NULL);
     return $instance;
 }
 /**
  * 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));
 }
 /**
  * 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));
 }
 protected function getSecurity_Firewall_Map_Context_MainService()
 {
     $a = $this->get('monolog.logger.security', ContainerInterface::NULL_ON_INVALID_REFERENCE);
     $b = $this->get('security.context');
     $c = $this->get('fos_user.user_provider.username_email');
     $d = $this->get('event_dispatcher', ContainerInterface::NULL_ON_INVALID_REFERENCE);
     $e = $this->get('router', ContainerInterface::NULL_ON_INVALID_REFERENCE);
     $f = $this->get('http_kernel');
     $g = $this->get('security.authentication.manager');
     $h = $this->get('security.access.decision_manager');
     $i = new \Symfony\Component\HttpFoundation\RequestMatcher('^/login$');
     $j = new \Symfony\Component\HttpFoundation\RequestMatcher('^/register');
     $k = new \Symfony\Component\HttpFoundation\RequestMatcher('^/resetting');
     $l = new \Symfony\Component\HttpFoundation\RequestMatcher('^/my-rides');
     $m = new \Symfony\Component\HttpFoundation\RequestMatcher('^/profile');
     $n = new \Symfony\Component\HttpFoundation\RequestMatcher('^/account-info');
     $o = new \Symfony\Component\HttpFoundation\RequestMatcher('^/offer-ride/new/');
     $p = new \Symfony\Component\Security\Http\AccessMap();
     $p->add($i, array(0 => 'IS_AUTHENTICATED_ANONYMOUSLY'), NULL);
     $p->add($j, array(0 => 'IS_AUTHENTICATED_ANONYMOUSLY'), NULL);
     $p->add($k, array(0 => 'IS_AUTHENTICATED_ANONYMOUSLY'), NULL);
     $p->add($l, array(0 => 'IS_AUTHENTICATED_REMEMBERED', 1 => 'IS_AUTHENTICATED_FULLY'), NULL);
     $p->add($m, array(0 => 'IS_AUTHENTICATED_REMEMBERED', 1 => 'IS_AUTHENTICATED_FULLY'), NULL);
     $p->add($n, array(0 => 'IS_AUTHENTICATED_REMEMBERED', 1 => 'IS_AUTHENTICATED_FULLY'), NULL);
     $p->add($o, array(0 => 'IS_AUTHENTICATED_REMEMBERED', 1 => 'IS_AUTHENTICATED_FULLY'), NULL);
     $q = new \Symfony\Component\Security\Http\HttpUtils($e, $e);
     $r = new \Symfony\Component\Security\Http\Firewall\LogoutListener($b, $q, new \Symfony\Component\Security\Http\Logout\DefaultLogoutSuccessHandler($q, '/'), array('csrf_parameter' => '_csrf_token', 'intention' => 'logout', 'logout_path' => '/logout'));
     $r->addHandler(new \Symfony\Component\Security\Http\Logout\SessionLogoutHandler());
     $s = new \Symfony\Component\Security\Http\Authentication\DefaultAuthenticationSuccessHandler($q, array('login_path' => '/login', 'default_target_path' => '/', 'always_use_default_target_path' => false, 'target_path_parameter' => '_target_path', 'use_referer' => false));
     $s->setProviderKey('main');
     return $this->services['security.firewall.map.context.main'] = new \Symfony\Bundle\SecurityBundle\Security\FirewallContext(array(0 => new \Symfony\Component\Security\Http\Firewall\ChannelListener($p, new \Symfony\Component\Security\Http\EntryPoint\RetryAuthenticationEntryPoint(80, 443), $a), 1 => new \Symfony\Component\Security\Http\Firewall\ContextListener($b, array(0 => $c), 'main', $a, $d), 2 => $r, 3 => new \Symfony\Component\Security\Http\Firewall\UsernamePasswordFormAuthenticationListener($b, $g, $this->get('security.authentication.session_strategy'), $q, 'main', $s, new \Symfony\Component\Security\Http\Authentication\DefaultAuthenticationFailureHandler($f, $q, array('login_path' => '/login', 'failure_path' => NULL, 'failure_forward' => false, 'failure_path_parameter' => '_failure_path'), $a), array('check_path' => '/login_check', 'use_forward' => false, 'require_previous_session' => true, 'username_parameter' => '_username', 'password_parameter' => '_password', 'csrf_parameter' => '_csrf_token', 'intention' => 'authenticate', 'post_only' => true), $a, $d, $this->get('form.csrf_provider')), 4 => new \Symfony\Component\Security\Http\Firewall\AnonymousAuthenticationListener($b, '5400ec6aceafb', $a), 5 => new \Symfony\Component\Security\Http\Firewall\AccessListener($b, $h, $p, $g), 6 => new \Symfony\Component\Security\Http\Firewall\SwitchUserListener($b, $c, $this->get('security.user_checker'), 'main', $h, $a, '_switch_user', 'ROLE_ALLOWED_TO_SWITCH', $d)), new \Symfony\Component\Security\Http\Firewall\ExceptionListener($b, $this->get('security.authentication.trust_resolver'), $q, 'main', new \Symfony\Component\Security\Http\EntryPoint\FormAuthenticationEntryPoint($f, $q, '/login', false), NULL, NULL, $a));
 }
 /**
  * Gets the 'security.access_map' service.
  *
  * This service is shared.
  * This method always returns the same instance of the service.
  *
  * This service is private.
  * If you want to be able to request this service from the container directly,
  * make it public, otherwise you might end up with broken code.
  *
  * @return \Symfony\Component\Security\Http\AccessMap A Symfony\Component\Security\Http\AccessMap instance.
  */
 protected function getSecurity_AccessMapService()
 {
     $this->services['security.access_map'] = $instance = new \Symfony\Component\Security\Http\AccessMap();
     $instance->add(new \Symfony\Component\HttpFoundation\RequestMatcher('^/utilisateur_connexion'), array(0 => 'IS_AUTHENTICATED_ANONYMOUSLY'), NULL);
     $instance->add(new \Symfony\Component\HttpFoundation\RequestMatcher('^/admin/utilisateur'), array(0 => 'ROLE_SUPER_ADMIN'), NULL);
     return $instance;
 }
 /**
  * Gets the 'security.firewall.map.context.main' service.
  *
  * This service is shared.
  * This method always returns the same instance of the service.
  *
  * @return \Symfony\Bundle\SecurityBundle\Security\FirewallContext A Symfony\Bundle\SecurityBundle\Security\FirewallContext instance.
  */
 protected function getSecurity_Firewall_Map_Context_MainService()
 {
     $a = $this->get('monolog.logger.security', ContainerInterface::NULL_ON_INVALID_REFERENCE);
     $b = $this->get('security.context');
     $c = $this->get('event_dispatcher', ContainerInterface::NULL_ON_INVALID_REFERENCE);
     $d = $this->get('router', ContainerInterface::NULL_ON_INVALID_REFERENCE);
     $e = $this->get('http_kernel');
     $f = $this->get('security.authentication.manager');
     $g = new \Symfony\Component\HttpFoundation\RequestMatcher('^/login$');
     $h = new \Symfony\Component\HttpFoundation\RequestMatcher('^/register');
     $i = new \Symfony\Component\HttpFoundation\RequestMatcher('^/resetting');
     $j = new \Symfony\Component\HttpFoundation\RequestMatcher('^/admin/');
     $k = new \Symfony\Component\HttpFoundation\RequestMatcher('^/indexSUPAD');
     $l = new \Symfony\Component\HttpFoundation\RequestMatcher('^/updateProfile');
     $m = new \Symfony\Component\HttpFoundation\RequestMatcher('^/updOtherUser');
     $n = new \Symfony\Component\HttpFoundation\RequestMatcher('^/deleteUser');
     $o = new \Symfony\Component\HttpFoundation\RequestMatcher('^/listerUsers');
     $p = new \Symfony\Component\HttpFoundation\RequestMatcher('^/displayProfile');
     $q = new \Symfony\Component\HttpFoundation\RequestMatcher('^/chartGantt');
     $r = new \Symfony\Component\HttpFoundation\RequestMatcher('^/suivieChart');
     $s = new \Symfony\Component\HttpFoundation\RequestMatcher('^/calculTole');
     $t = new \Symfony\Component\HttpFoundation\RequestMatcher('^/listerTole');
     $u = new \Symfony\Component\HttpFoundation\RequestMatcher('^/listProjet');
     $v = new \Symfony\Component\HttpFoundation\RequestMatcher('^/listAvancement');
     $w = new \Symfony\Component\HttpFoundation\RequestMatcher('^/listPlanification');
     $x = new \Symfony\Component\HttpFoundation\RequestMatcher('^/listGantt');
     $y = new \Symfony\Component\HttpFoundation\RequestMatcher('^/listMAD');
     $z = new \Symfony\Component\HttpFoundation\RequestMatcher('^/addProjet');
     $aa = new \Symfony\Component\HttpFoundation\RequestMatcher('^/addClient');
     $ba = new \Symfony\Component\HttpFoundation\RequestMatcher('^/listClient');
     $ca = new \Symfony\Component\HttpFoundation\RequestMatcher('^/listTole');
     $da = new \Symfony\Component\HttpFoundation\RequestMatcher('^/addAvancement');
     $ea = new \Symfony\Component\HttpFoundation\RequestMatcher('^/addGantt');
     $fa = new \Symfony\Component\HttpFoundation\RequestMatcher('^/addPlanification');
     $ga = new \Symfony\Component\HttpFoundation\RequestMatcher('^/addMAD');
     $ha = new \Symfony\Component\HttpFoundation\RequestMatcher('^/indexTech');
     $ia = new \Symfony\Component\HttpFoundation\RequestMatcher('^/updTole');
     $ja = new \Symfony\Component\HttpFoundation\RequestMatcher('^/indexLog');
     $ka = new \Symfony\Component\HttpFoundation\RequestMatcher('^/addStock');
     $la = new \Symfony\Component\HttpFoundation\RequestMatcher('^/listStock');
     $ma = new \Symfony\Component\HttpFoundation\RequestMatcher('^/addMvt');
     $na = new \Symfony\Component\HttpFoundation\RequestMatcher('^/listMvt');
     $oa = new \Symfony\Component\HttpFoundation\RequestMatcher('^/listAllMvt');
     $pa = new \Symfony\Component\HttpFoundation\RequestMatcher('^/listDmd');
     $qa = new \Symfony\Component\HttpFoundation\RequestMatcher('^/updDmd');
     $ra = new \Symfony\Component\Security\Http\AccessMap();
     $ra->add($g, array(0 => 'IS_AUTHENTICATED_ANONYMOUSLY'), NULL);
     $ra->add($h, array(0 => 'ROLE_ADMIN'), NULL);
     $ra->add($i, array(0 => 'ROLE_ADMIN'), NULL);
     $ra->add($j, array(0 => 'ROLE_ADMIN'), NULL);
     $ra->add($k, array(0 => 'ROLE_ADMIN'), NULL);
     $ra->add($l, array(0 => 'ROLE_ADMIN'), NULL);
     $ra->add($m, array(0 => 'ROLE_ADMIN'), NULL);
     $ra->add($n, array(0 => 'ROLE_ADMIN'), NULL);
     $ra->add($o, array(0 => 'ROLE_ADMIN'), NULL);
     $ra->add($p, array(0 => 'ROLE_ADMIN'), NULL);
     $ra->add($q, array(0 => 'ROLE_ADMIN', 1 => 'ROLE_TECHNIQUE'), NULL);
     $ra->add($r, array(0 => 'ROLE_ADMIN', 1 => 'ROLE_TECHNIQUE'), NULL);
     $ra->add($s, array(0 => 'ROLE_ADMIN', 1 => 'ROLE_TECHNIQUE'), NULL);
     $ra->add($t, array(0 => 'ROLE_ADMIN', 1 => 'ROLE_TECHNIQUE'), NULL);
     $ra->add($u, array(0 => 'ROLE_ADMIN', 1 => 'ROLE_TECHNIQUE'), NULL);
     $ra->add($v, array(0 => 'ROLE_ADMIN', 1 => 'ROLE_TECHNIQUE'), NULL);
     $ra->add($w, array(0 => 'ROLE_ADMIN', 1 => 'ROLE_TECHNIQUE'), NULL);
     $ra->add($x, array(0 => 'ROLE_ADMIN', 1 => 'ROLE_TECHNIQUE'), NULL);
     $ra->add($y, array(0 => 'ROLE_ADMIN', 1 => 'ROLE_TECHNIQUE'), NULL);
     $ra->add($z, array(0 => 'ROLE_ADMIN', 1 => 'ROLE_TECHNIQUE'), NULL);
     $ra->add($aa, array(0 => 'ROLE_ADMIN', 1 => 'ROLE_TECHNIQUE'), NULL);
     $ra->add($ba, array(0 => 'ROLE_ADMIN', 1 => 'ROLE_TECHNIQUE'), NULL);
     $ra->add($ca, array(0 => 'ROLE_ADMIN', 1 => 'ROLE_TECHNIQUE'), NULL);
     $ra->add($da, array(0 => 'ROLE_ADMIN', 1 => 'ROLE_TECHNIQUE'), NULL);
     $ra->add($ea, array(0 => 'ROLE_ADMIN', 1 => 'ROLE_TECHNIQUE'), NULL);
     $ra->add($fa, array(0 => 'ROLE_ADMIN', 1 => 'ROLE_TECHNIQUE'), NULL);
     $ra->add($ga, array(0 => 'ROLE_ADMIN', 1 => 'ROLE_TECHNIQUE'), NULL);
     $ra->add($ha, array(0 => 'ROLE_ADMIN', 1 => 'ROLE_TECHNIQUE'), NULL);
     $ra->add($ia, array(0 => 'ROLE_ADMIN', 1 => 'ROLE_TECHNIQUE'), NULL);
     $ra->add($ja, array(0 => 'ROLE_ADMIN', 1 => 'ROLE_LOGISTIQUE'), NULL);
     $ra->add($ka, array(0 => 'ROLE_ADMIN', 1 => 'ROLE_LOGISTIQUE'), NULL);
     $ra->add($la, array(0 => 'ROLE_ADMIN', 1 => 'ROLE_LOGISTIQUE'), NULL);
     $ra->add($ma, array(0 => 'ROLE_ADMIN', 1 => 'ROLE_LOGISTIQUE'), NULL);
     $ra->add($na, array(0 => 'ROLE_ADMIN', 1 => 'ROLE_LOGISTIQUE'), NULL);
     $ra->add($oa, array(0 => 'ROLE_ADMIN', 1 => 'ROLE_LOGISTIQUE'), NULL);
     $ra->add($pa, array(0 => 'ROLE_ADMIN', 1 => 'ROLE_LOGISTIQUE'), NULL);
     $ra->add($qa, array(0 => 'ROLE_ADMIN', 1 => 'ROLE_LOGISTIQUE'), NULL);
     $sa = new \Symfony\Component\Security\Http\HttpUtils($d, $d);
     $ta = new \Symfony\Component\Security\Http\Firewall\LogoutListener($b, $sa, new \Symfony\Component\Security\Http\Logout\DefaultLogoutSuccessHandler($sa, '/login'), array('csrf_parameter' => '_csrf_token', 'intention' => 'logout', 'logout_path' => '/logout'));
     $ta->addHandler(new \Symfony\Component\Security\Http\Logout\SessionLogoutHandler());
     return $this->services['security.firewall.map.context.main'] = new \Symfony\Bundle\SecurityBundle\Security\FirewallContext(array(0 => new \Symfony\Component\Security\Http\Firewall\ChannelListener($ra, new \Symfony\Component\Security\Http\EntryPoint\RetryAuthenticationEntryPoint(80, 443), $a), 1 => new \Symfony\Component\Security\Http\Firewall\ContextListener($b, array(0 => $this->get('fos_user.user_provider.username')), 'main', $a, $c), 2 => $ta, 3 => new \Symfony\Component\Security\Http\Firewall\UsernamePasswordFormAuthenticationListener($b, $f, $this->get('security.authentication.session_strategy'), $sa, 'main', $this->get('redirect.after.login'), new \Symfony\Component\Security\Http\Authentication\DefaultAuthenticationFailureHandler($e, $sa, array('login_path' => '/login', 'failure_path' => NULL, 'failure_forward' => false, 'failure_path_parameter' => '_failure_path'), $a), array('check_path' => '/login_check', 'use_forward' => false, 'require_previous_session' => true, 'username_parameter' => '_username', 'password_parameter' => '_password', 'csrf_parameter' => '_csrf_token', 'intention' => 'authenticate', 'post_only' => true), $a, $c, $this->get('form.csrf_provider')), 4 => new \Symfony\Component\Security\Http\Firewall\AnonymousAuthenticationListener($b, '56073aa7d921c', $a), 5 => new \Symfony\Component\Security\Http\Firewall\AccessListener($b, $this->get('security.access.decision_manager'), $ra, $f)), new \Symfony\Component\Security\Http\Firewall\ExceptionListener($b, $this->get('security.authentication.trust_resolver'), $sa, 'main', new \Symfony\Component\Security\Http\EntryPoint\FormAuthenticationEntryPoint($e, $sa, '/login', false), NULL, NULL, $a));
 }
 /**
  * Gets the 'security.firewall.map.context.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.access_map' service.
  *
  * This service is shared.
  * This method always returns the same instance of the service.
  *
  * This service is private.
  * If you want to be able to request this service from the container directly,
  * make it public, otherwise you might end up with broken code.
  *
  * @return \Symfony\Component\Security\Http\AccessMap A Symfony\Component\Security\Http\AccessMap instance.
  */
 protected function getSecurity_AccessMapService()
 {
     $this->services['security.access_map'] = $instance = new \Symfony\Component\Security\Http\AccessMap();
     $instance->add(new \Symfony\Component\HttpFoundation\RequestMatcher('^/(peliculas|comentarios|noticias|categorias)/conSeguridad'), array(0 => 'ROLE_ADMIN'), NULL);
     return $instance;
 }
    /**
     * Gets the 'security.firewall.map.context.public' service.
     *
     * This service is shared.
     * This method always returns the same instance of the service.
     *
     * @return \Symfony\Bundle\SecurityBundle\Security\FirewallContext A Symfony\Bundle\SecurityBundle\Security\FirewallContext instance.
     */
    protected function getSecurity_Firewall_Map_Context_PublicService()
    {
        $a = $this->get('monolog.logger.security', ContainerInterface::NULL_ON_INVALID_REFERENCE);
        $b = $this->get('fos_user.user_manager');
        $c = $this->get('my.facebook.user');
        $d = $this->get('security.context');
        $e = $this->get('debug.event_dispatcher', ContainerInterface::NULL_ON_INVALID_REFERENCE);
        $f = $this->get('router', ContainerInterface::NULL_ON_INVALID_REFERENCE);
        $g = $this->get('http_kernel');
        $h = $this->get('security.authentication.manager');
        $i = $this->get('security.authentication.session_strategy');

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

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

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

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

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

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

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

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

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

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

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

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

        return $this->services['security.firewall.map.context.public'] = new \Symfony\Bundle\SecurityBundle\Security\FirewallContext(array(0 => new \Symfony\Component\Security\Http\Firewall\ChannelListener($o, new \Symfony\Component\Security\Http\EntryPoint\RetryAuthenticationEntryPoint(80, 443), $a), 1 => new \Symfony\Component\Security\Http\Firewall\ContextListener($d, array(0 => new \Symfony\Component\Security\Core\User\ChainUserProvider(array(0 => $b, 1 => $c)), 1 => $b, 2 => $c), 'public', $a, $e), 2 => $q, 3 => new \FOS\FacebookBundle\Security\Firewall\FacebookListener($d, $h, $i, $p, 'public', $r, $s, array('app_url' => 'https://apps.facebook.com/seekerplus', 'server_url' => 'http://localhost/SeekerPlusWeb/web/app_dev.php/', 'check_path' => '_security_check', 'use_forward' => false, 'require_previous_session' => true, 'display' => 'page', 'create_user_if_not_exists' => false, 'redirect_to_facebook_login' => true), $a, $e), 4 => new \Symfony\Component\Security\Http\Firewall\UsernamePasswordFormAuthenticationListener($d, $h, $i, $p, 'public', $t, $u, array('check_path' => 'fos_user_security_check', 'use_forward' => false, 'require_previous_session' => true, 'username_parameter' => '_username', 'password_parameter' => '_password', 'csrf_parameter' => '_csrf_token', 'intention' => 'authenticate', 'post_only' => true), $a, $e, NULL), 5 => new \Symfony\Component\Security\Http\Firewall\AnonymousAuthenticationListener($d, '55e5e195a8f41', $a, $h), 6 => new \Symfony\Component\Security\Http\Firewall\AccessListener($d, $this->get('security.access.decision_manager'), $o, $h)), new \Symfony\Component\Security\Http\Firewall\ExceptionListener($d, $this->get('security.authentication.trust_resolver'), $p, 'public', new \Symfony\Component\Security\Http\EntryPoint\FormAuthenticationEntryPoint($g, $p, 'fos_user_security_login', false), NULL, NULL, $a));
    }
 /**
  * Gets the 'security.firewall.map.context.main' service.
  *
  * This service is shared.
  * This method always returns the same instance of the service.
  *
  * @return \Symfony\Bundle\SecurityBundle\Security\FirewallContext A Symfony\Bundle\SecurityBundle\Security\FirewallContext instance.
  */
 protected function getSecurity_Firewall_Map_Context_MainService()
 {
     $a = $this->get('monolog.logger.security', ContainerInterface::NULL_ON_INVALID_REFERENCE);
     $b = $this->get('security.token_storage');
     $c = $this->get('security.authentication.manager');
     $d = $this->get('router', ContainerInterface::NULL_ON_INVALID_REFERENCE);
     $e = new \Symfony\Component\HttpFoundation\RequestMatcher('^/admin');
     $f = new \Symfony\Component\Security\Http\AccessMap();
     $f->add($e, array(0 => 'ROLE_ADMIN'), NULL);
     return $this->services['security.firewall.map.context.main'] = new \Symfony\Bundle\SecurityBundle\Security\FirewallContext(array(0 => new \Symfony\Component\Security\Http\Firewall\ChannelListener($f, new \Symfony\Component\Security\Http\EntryPoint\RetryAuthenticationEntryPoint(80, 443), $a), 1 => new \Symfony\Component\Security\Http\Firewall\ContextListener($b, array(0 => new \Symfony\Component\Security\Core\User\InMemoryUserProvider()), 'main', $a, $this->get('debug.event_dispatcher', ContainerInterface::NULL_ON_INVALID_REFERENCE)), 2 => new \Symfony\Component\Security\Http\Firewall\AnonymousAuthenticationListener($b, '56c04a1ff05e33.81082870', $a, $c), 3 => new \Symfony\Component\Security\Http\Firewall\AccessListener($b, $this->get('security.access.decision_manager'), $f, $c)), new \Symfony\Component\Security\Http\Firewall\ExceptionListener($b, $this->get('security.authentication.trust_resolver'), new \Symfony\Component\Security\Http\HttpUtils($d, $d), 'main', NULL, NULL, NULL, $a, false));
 }
 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')));
 }
 /**
  * Gets the 'security.access_map' service.
  *
  * This service is shared.
  * This method always returns the same instance of the service.
  *
  * This service is private.
  * If you want to be able to request this service from the container directly,
  * make it public, otherwise you might end up with broken code.
  *
  * @return \Symfony\Component\Security\Http\AccessMap A Symfony\Component\Security\Http\AccessMap instance.
  */
 protected function getSecurity_AccessMapService()
 {
     $this->services['security.access_map'] = $instance = new \Symfony\Component\Security\Http\AccessMap();
     $instance->add(new \Symfony\Component\HttpFoundation\RequestMatcher('^/login$'), array(0 => 'IS_AUTHENTICATED_ANONYMOUSLY'), NULL);
     $instance->add(new \Symfony\Component\HttpFoundation\RequestMatcher('^/register'), array(0 => 'IS_AUTHENTICATED_ANONYMOUSLY'), NULL);
     $instance->add(new \Symfony\Component\HttpFoundation\RequestMatcher('^/resetting'), array(0 => 'IS_AUTHENTICATED_ANONYMOUSLY'), NULL);
     $instance->add(new \Symfony\Component\HttpFoundation\RequestMatcher('^/admin/login$'), array(0 => 'IS_AUTHENTICATED_ANONYMOUSLY'), NULL);
     $instance->add(new \Symfony\Component\HttpFoundation\RequestMatcher('^/admin/logout$'), array(0 => 'IS_AUTHENTICATED_ANONYMOUSLY'), NULL);
     $instance->add(new \Symfony\Component\HttpFoundation\RequestMatcher('^/admin/login_check$'), array(0 => 'IS_AUTHENTICATED_ANONYMOUSLY'), NULL);
     $instance->add(new \Symfony\Component\HttpFoundation\RequestMatcher('^/admin/'), array(0 => 'ROLE_ADMIN', 1 => 'ROLE_SONATA_ADMIN'), NULL);
     $instance->add(new \Symfony\Component\HttpFoundation\RequestMatcher('^/.*'), array(0 => 'IS_AUTHENTICATED_ANONYMOUSLY'), NULL);
     return $instance;
 }
 /**
  * Gets the 'security.firewall.map.context.public' service.
  *
  * This service is shared.
  * This method always returns the same instance of the service.
  *
  * @return Symfony\Bundle\SecurityBundle\Security\FirewallContext A Symfony\Bundle\SecurityBundle\Security\FirewallContext instance.
  */
 protected function getSecurity_Firewall_Map_Context_PublicService()
 {
     $a = $this->get('monolog.logger.security');
     $b = $this->get('security.context');
     $c = $this->get('event_dispatcher');
     $d = $this->get('router');
     $e = $this->get('fos_facebook.api');
     $f = $this->get('security.authentication.manager');
     $g = new \Symfony\Component\HttpFoundation\RequestMatcher('^/login$');
     $h = new \Symfony\Component\HttpFoundation\RequestMatcher('^/register');
     $i = new \Symfony\Component\HttpFoundation\RequestMatcher('^/resetting');
     $j = new \Symfony\Component\HttpFoundation\RequestMatcher('^/admin/');
     $k = new \Symfony\Component\HttpFoundation\RequestMatcher('^/.*');
     $l = new \Symfony\Component\Security\Http\AccessMap();
     $l->add($g, array(0 => 'IS_AUTHENTICATED_ANONYMOUSLY'), NULL);
     $l->add($h, array(0 => 'IS_AUTHENTICATED_ANONYMOUSLY'), NULL);
     $l->add($i, array(0 => 'IS_AUTHENTICATED_ANONYMOUSLY'), NULL);
     $l->add($j, array(0 => 'ROLE_ADMIN'), NULL);
     $l->add($k, array(0 => 'IS_AUTHENTICATED_ANONYMOUSLY'), NULL);
     $m = new \Symfony\Component\Security\Core\User\InMemoryUserProvider();
     $m->createUser(new \Symfony\Component\Security\Core\User\User('user', 'userpass', array(0 => 'ROLE_USER')));
     $m->createUser(new \Symfony\Component\Security\Core\User\User('admin', 'adminpass', array(0 => 'ROLE_ADMIN')));
     $n = new \Symfony\Component\Security\Http\HttpUtils($d);
     $o = new \Symfony\Component\Security\Http\Firewall\LogoutListener($b, $n, '/logout', '/', NULL);
     $o->addHandler(new \Symfony\Component\Security\Http\Logout\SessionLogoutHandler());
     $o->addHandler(new \FOS\FacebookBundle\Security\Logout\FacebookHandler($e));
     return $this->services['security.firewall.map.context.public'] = new \Symfony\Bundle\SecurityBundle\Security\FirewallContext(array(0 => new \Symfony\Component\Security\Http\Firewall\ChannelListener($l, new \Symfony\Component\Security\Http\EntryPoint\RetryAuthenticationEntryPoint(), $a), 1 => new \Symfony\Component\Security\Http\Firewall\ContextListener($b, array(0 => $this->get('fos.facebook.user'), 1 => $m), 'public', $a, $c), 2 => $o, 3 => new \FOS\FacebookBundle\Security\Firewall\FacebookListener($b, $f, new \Symfony\Component\Security\Http\Session\SessionAuthenticationStrategy('migrate'), $n, 'public', array('check_path' => '/login_check', 'login_path' => '/login', 'default_target_path' => '/', 'app_url' => 'http://apps.facebook.com/quorra/', 'server_url' => 'http://quorra.es/', 'use_forward' => false, 'always_use_default_target_path' => false, 'target_path_parameter' => '_target_path', 'use_referer' => false, 'failure_path' => NULL, 'failure_forward' => false, 'display' => 'page', 'create_user_if_not_exists' => false), NULL, NULL, $a, $c), 4 => new \Symfony\Component\Security\Http\Firewall\AnonymousAuthenticationListener($b, '4f34f7a0a9300', $a), 5 => new \Symfony\Component\Security\Http\Firewall\AccessListener($b, $this->get('security.access.decision_manager'), $l, $f, $a)), new \Symfony\Component\Security\Http\Firewall\ExceptionListener($b, $this->get('security.authentication.trust_resolver'), $n, new \FOS\FacebookBundle\Security\EntryPoint\FacebookAuthenticationEntryPoint($e, array('provider' => 'fos_facebook_user', 'check_path' => '/login_check', 'login_path' => '/login', 'default_target_path' => '/', 'app_url' => 'http://apps.facebook.com/quorra/', 'server_url' => 'http://quorra.es/', 'remember_me' => true, 'use_forward' => false, 'always_use_default_target_path' => false, 'target_path_parameter' => '_target_path', 'use_referer' => false, 'failure_path' => NULL, 'failure_forward' => false, 'display' => 'page', 'create_user_if_not_exists' => false), array(0 => 'email', 1 => 'user_birthday', 2 => 'user_location')), NULL, NULL, $a));
 }
 /**
  * Gets the 'security.firewall.map.context.main' service.
  *
  * This service is shared.
  * This method always returns the same instance of the service.
  *
  * @return Symfony\Bundle\SecurityBundle\Security\FirewallContext A Symfony\Bundle\SecurityBundle\Security\FirewallContext instance.
  */
 protected function getSecurity_Firewall_Map_Context_MainService()
 {
     $a = $this->get('security.request_matcher.1820085cb1b3628ff974bc5d5716b9165f239553b39444dc0c340353fb6afdde6115bdc9');
     $b = $this->get('monolog.logger.security');
     $c = $this->get('security.context');
     $d = $this->get('event_dispatcher');
     $e = $this->get('security.authentication.manager');
     $f = new \Symfony\Component\HttpFoundation\RequestMatcher('/admin/.*');
     $g = new \Symfony\Component\Security\Http\AccessMap();
     $g->add($f, array(0 => 'ROLE_ADMIN'), NULL);
     $g->add($a, array(0 => 'IS_AUTHENTICATED_ANONYMOUSLY'), NULL);
     $h = new \Symfony\Component\Security\Http\Firewall\LogoutListener($c, '/logout', '/', NULL);
     $h->addHandler(new \Symfony\Component\Security\Http\Logout\SessionLogoutHandler());
     return $this->services['security.firewall.map.context.main'] = new \Symfony\Bundle\SecurityBundle\Security\FirewallContext(array(0 => new \Symfony\Component\Security\Http\Firewall\ChannelListener($g, new \Symfony\Component\Security\Http\EntryPoint\RetryAuthenticationEntryPoint(), $b), 1 => new \Symfony\Component\Security\Http\Firewall\ContextListener($c, array(0 => $this->get('security.user.provider.concrete.main')), 'main', $b, $d), 2 => $h, 3 => new \Symfony\Component\Security\Http\Firewall\UsernamePasswordFormAuthenticationListener($c, $e, new \Symfony\Component\Security\Http\Session\SessionAuthenticationStrategy('migrate'), 'main', array('check_path' => '/login_check', 'login_path' => '/login', 'use_forward' => false, 'always_use_default_target_path' => false, 'default_target_path' => '/', 'target_path_parameter' => '_target_path', 'use_referer' => false, 'failure_path' => NULL, 'failure_forward' => false, 'username_parameter' => '_username', 'password_parameter' => '_password', 'csrf_parameter' => '_csrf_token', 'intention' => 'authenticate', 'post_only' => true), NULL, NULL, $b, $d), 4 => new \Symfony\Component\Security\Http\Firewall\AnonymousAuthenticationListener($c, '4decb0bee02d3', $b), 5 => new \Symfony\Component\Security\Http\Firewall\AccessListener($c, $this->get('security.access.decision_manager'), $g, $e, $b)), new \Symfony\Component\Security\Http\Firewall\ExceptionListener($c, $this->get('security.authentication.trust_resolver'), new \Symfony\Component\Security\Http\EntryPoint\FormAuthenticationEntryPoint($this->get('http_kernel'), '/login', false), NULL, NULL, $b));
 }
 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));
 }
 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', 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));
 }