var/cache/dev/ContainerIJfVU2K/getSecurity_Firewall_Map_Context_MainService.php line 30

Open in your IDE?
  1. <?php
  2. use Symfony\Component\DependencyInjection\Argument\RewindableGenerator;
  3. use Symfony\Component\DependencyInjection\Exception\RuntimeException;
  4. // This file has been auto-generated by the Symfony Dependency Injection Component for internal use.
  5. // Returns the private 'security.firewall.map.context.main' shared service.
  6. include_once \dirname(__DIR__4).'/vendor/symfony/security-bundle/Security/FirewallContext.php';
  7. include_once \dirname(__DIR__4).'/vendor/symfony/security-http/Util/TargetPathTrait.php';
  8. include_once \dirname(__DIR__4).'/vendor/symfony/security-http/Firewall/ExceptionListener.php';
  9. include_once \dirname(__DIR__4).'/vendor/symfony/security-http/EntryPoint/AuthenticationEntryPointInterface.php';
  10. include_once \dirname(__DIR__4).'/vendor/symfony/security-http/EntryPoint/FormAuthenticationEntryPoint.php';
  11. include_once \dirname(__DIR__4).'/vendor/symfony/security-http/Firewall/AbstractListener.php';
  12. include_once \dirname(__DIR__4).'/vendor/symfony/security-http/Firewall/ListenerInterface.php';
  13. include_once \dirname(__DIR__4).'/vendor/symfony/security-http/Firewall/LegacyListenerTrait.php';
  14. include_once \dirname(__DIR__4).'/vendor/symfony/security-http/Firewall/LogoutListener.php';
  15. include_once \dirname(__DIR__4).'/vendor/symfony/security-http/Logout/LogoutSuccessHandlerInterface.php';
  16. include_once \dirname(__DIR__4).'/vendor/symfony/security-http/Logout/DefaultLogoutSuccessHandler.php';
  17. include_once \dirname(__DIR__4).'/vendor/symfony/security-http/Logout/LogoutHandlerInterface.php';
  18. include_once \dirname(__DIR__4).'/vendor/symfony/security-http/Logout/CsrfTokenClearingLogoutHandler.php';
  19. include_once \dirname(__DIR__4).'/vendor/symfony/security-http/Logout/SessionLogoutHandler.php';
  20. include_once \dirname(__DIR__4).'/vendor/symfony/security-bundle/Security/FirewallConfig.php';
  21. $a = ($this->services['security.token_storage'] ?? $this->getSecurity_TokenStorageService());
  22. $b = ($this->privates['security.http_utils'] ?? $this->load('getSecurity_HttpUtilsService.php'));
  23. $c = new \Symfony\Component\Security\Http\Firewall\LogoutListener($a$b, new \Symfony\Component\Security\Http\Logout\DefaultLogoutSuccessHandler($b'/login'), ['csrf_parameter' => '_csrf_token''csrf_token_id' => 'logout''logout_path' => '/logout']);
  24. $c->addHandler(new \Symfony\Component\Security\Http\Logout\CsrfTokenClearingLogoutHandler(($this->privates['security.csrf.token_storage'] ?? $this->load('getSecurity_Csrf_TokenStorageService.php'))));
  25. $c->addHandler(new \Symfony\Component\Security\Http\Logout\SessionLogoutHandler());
  26. $c->addHandler(($this->privates['security.authentication.rememberme.services.simplehash.main'] ?? $this->load('getSecurity_Authentication_Rememberme_Services_Simplehash_MainService.php')));
  27. return $this->privates['security.firewall.map.context.main'] = new \Symfony\Bundle\SecurityBundle\Security\FirewallContext(new RewindableGenerator(function () {
  28.     yield => ($this->privates['security.channel_listener'] ?? $this->load('getSecurity_ChannelListenerService.php'));
  29.     yield => ($this->privates['security.context_listener.0'] ?? $this->load('getSecurity_ContextListener_0Service.php'));
  30.     yield => ($this->privates['security.authentication.listener.form.main'] ?? $this->load('getSecurity_Authentication_Listener_Form_MainService.php'));
  31.     yield => ($this->privates['security.authentication.listener.rememberme.main'] ?? $this->load('getSecurity_Authentication_Listener_Rememberme_MainService.php'));
  32.     yield => ($this->privates['security.authentication.listener.anonymous.main'] ?? $this->load('getSecurity_Authentication_Listener_Anonymous_MainService.php'));
  33.     yield => ($this->privates['security.authentication.switchuser_listener.main'] ?? $this->load('getSecurity_Authentication_SwitchuserListener_MainService.php'));
  34.     yield => ($this->privates['security.access_listener'] ?? $this->load('getSecurity_AccessListenerService.php'));
  35. }, 7), new \Symfony\Component\Security\Http\Firewall\ExceptionListener($a, ($this->privates['security.authentication.trust_resolver'] ?? ($this->privates['security.authentication.trust_resolver'] = new \Symfony\Component\Security\Core\Authentication\AuthenticationTrustResolver(NULLNULL))), $b'main', new \Symfony\Component\Security\Http\EntryPoint\FormAuthenticationEntryPoint(($this->services['http_kernel'] ?? $this->getHttpKernelService()), $b'/login'false), NULLNULL, ($this->privates['monolog.logger.security'] ?? $this->load('getMonolog_Logger_SecurityService.php')), false), $c, new \Symfony\Bundle\SecurityBundle\Security\FirewallConfig('main''security.user_checker''.security.request_matcher.3UEFixr'truefalse'fos_user.user_provider.username_email''main''security.authentication.form_entry_point.main'NULLNULL, [=> 'switch_user'=> 'form_login'=> 'remember_me'=> 'anonymous'], ['parameter' => '_switch_user''role' => 'ROLE_ALLOWED_TO_SWITCH''stateless' => false]));