var/cache/dev/ContainerLDoDmgb/getSamlListener_SsoService.php line 32

Open in your IDE?
  1. <?php
  2. namespace ContainerLDoDmgb;
  3. use Symfony\Component\DependencyInjection\Argument\RewindableGenerator;
  4. use Symfony\Component\DependencyInjection\Exception\RuntimeException;
  5. /**
  6.  * @internal This class has been auto-generated by the Symfony Dependency Injection Component.
  7.  */
  8. class getSamlListener_SsoService extends App_KernelDevDebugContainer
  9. {
  10.     /**
  11.      * Gets the private 'Hslavich\OneloginSamlBundle\Security\Firewall\SamlListener.sso' shared service.
  12.      *
  13.      * @return \Hslavich\OneloginSamlBundle\Security\Firewall\SamlListener
  14.      */
  15.     public static function do($container$lazyLoad true)
  16.     {
  17.         include_once \dirname(__DIR__4).'/vendor/symfony/security-http/Firewall/FirewallListenerInterface.php';
  18.         include_once \dirname(__DIR__4).'/vendor/symfony/security-http/Firewall/AbstractListener.php';
  19.         include_once \dirname(__DIR__4).'/vendor/symfony/security-http/Firewall/AbstractAuthenticationListener.php';
  20.         include_once \dirname(__DIR__4).'/vendor/hslavich/oneloginsaml-bundle/Security/Firewall/SamlListener.php';
  21.         include_once \dirname(__DIR__4).'/vendor/symfony/security-http/Authentication/AuthenticationSuccessHandlerInterface.php';
  22.         include_once \dirname(__DIR__4).'/vendor/symfony/security-http/Authentication/CustomAuthenticationSuccessHandler.php';
  23.         include_once \dirname(__DIR__4).'/vendor/symfony/security-http/Util/TargetPathTrait.php';
  24.         include_once \dirname(__DIR__4).'/vendor/symfony/security-http/Authentication/DefaultAuthenticationSuccessHandler.php';
  25.         include_once \dirname(__DIR__4).'/vendor/hslavich/oneloginsaml-bundle/Security/Http/Authentication/SamlAuthenticationSuccessHandler.php';
  26.         include_once \dirname(__DIR__4).'/vendor/symfony/security-http/Authentication/AuthenticationFailureHandlerInterface.php';
  27.         include_once \dirname(__DIR__4).'/vendor/symfony/security-http/Authentication/DefaultAuthenticationFailureHandler.php';
  28.         $a = ($container->privates['security.authentication.manager'] ?? $container->load('getSecurity_Authentication_ManagerService'));
  29.         if (isset($container->privates['Hslavich\\OneloginSamlBundle\\Security\\Firewall\\SamlListener.sso'])) {
  30.             return $container->privates['Hslavich\\OneloginSamlBundle\\Security\\Firewall\\SamlListener.sso'];
  31.         }
  32.         $b = ($container->services['http_kernel'] ?? $container->getHttpKernelService());
  33.         if (isset($container->privates['Hslavich\\OneloginSamlBundle\\Security\\Firewall\\SamlListener.sso'])) {
  34.             return $container->privates['Hslavich\\OneloginSamlBundle\\Security\\Firewall\\SamlListener.sso'];
  35.         }
  36.         $c = ($container->services['event_dispatcher'] ?? $container->getEventDispatcherService());
  37.         if (isset($container->privates['Hslavich\\OneloginSamlBundle\\Security\\Firewall\\SamlListener.sso'])) {
  38.             return $container->privates['Hslavich\\OneloginSamlBundle\\Security\\Firewall\\SamlListener.sso'];
  39.         }
  40.         $d = ($container->privates['security.http_utils'] ?? $container->load('getSecurity_HttpUtilsService'));
  41.         $e = ($container->privates['monolog.logger.security'] ?? $container->load('getMonolog_Logger_SecurityService'));
  42.         $f = new \Symfony\Component\Security\Http\Authentication\DefaultAuthenticationFailureHandler($b$d, [], $e);
  43.         $f->setOptions(['login_path' => 'saml_login''failure_path' => NULL'failure_forward' => false'failure_path_parameter' => '_failure_path']);
  44.         $container->privates['Hslavich\\OneloginSamlBundle\\Security\\Firewall\\SamlListener.sso'] = $instance = new \Hslavich\OneloginSamlBundle\Security\Firewall\SamlListener(($container->services['.container.private.security.token_storage'] ?? $container->get_Container_Private_Security_TokenStorageService()), $a, ($container->privates['security.authentication.session_strategy'] ?? $container->load('getSecurity_Authentication_SessionStrategyService')), $d'sso', new \Symfony\Component\Security\Http\Authentication\CustomAuthenticationSuccessHandler(new \Hslavich\OneloginSamlBundle\Security\Http\Authentication\SamlAuthenticationSuccessHandler($d, [], ($container->privates['monolog.logger'] ?? $container->getMonolog_LoggerService())), ['login_path' => 'saml_login''default_target_path' => '/sso/check''always_use_default_target_path' => true'target_path_parameter' => '_target_path''use_referer' => false], 'sso'), $f, ['username_attribute' => 'uid''user_factory' => 'sso_user_factory''use_attribute_friendly_name' => true'persist_user' => true'check_path' => 'saml_acs''login_path' => 'saml_login''success_handler' => 'Hslavich\\OneloginSamlBundle\\Security\\Http\\Authentication\\SamlAuthenticationSuccessHandler''use_forward' => false'require_previous_session' => false'token_factory' => NULL], $e$c);
  45.         $instance->setOneLoginAuth(($container->privates['OneLogin\\Saml2\\Auth'] ?? $container->load('getAuthService')));
  46.         return $instance;
  47.     }
  48. }