<?php
namespace ContainerLDoDmgb;
use Symfony\Component\DependencyInjection\Argument\RewindableGenerator;
use Symfony\Component\DependencyInjection\Exception\RuntimeException;
/**
* @internal This class has been auto-generated by the Symfony Dependency Injection Component.
*/
class getSamlListener_SsoService extends App_KernelDevDebugContainer
{
/**
* Gets the private 'Hslavich\OneloginSamlBundle\Security\Firewall\SamlListener.sso' shared service.
*
* @return \Hslavich\OneloginSamlBundle\Security\Firewall\SamlListener
*/
public static function do($container, $lazyLoad = true)
{
include_once \dirname(__DIR__, 4).'/vendor/symfony/security-http/Firewall/FirewallListenerInterface.php';
include_once \dirname(__DIR__, 4).'/vendor/symfony/security-http/Firewall/AbstractListener.php';
include_once \dirname(__DIR__, 4).'/vendor/symfony/security-http/Firewall/AbstractAuthenticationListener.php';
include_once \dirname(__DIR__, 4).'/vendor/hslavich/oneloginsaml-bundle/Security/Firewall/SamlListener.php';
include_once \dirname(__DIR__, 4).'/vendor/symfony/security-http/Authentication/AuthenticationSuccessHandlerInterface.php';
include_once \dirname(__DIR__, 4).'/vendor/symfony/security-http/Authentication/CustomAuthenticationSuccessHandler.php';
include_once \dirname(__DIR__, 4).'/vendor/symfony/security-http/Util/TargetPathTrait.php';
include_once \dirname(__DIR__, 4).'/vendor/symfony/security-http/Authentication/DefaultAuthenticationSuccessHandler.php';
include_once \dirname(__DIR__, 4).'/vendor/hslavich/oneloginsaml-bundle/Security/Http/Authentication/SamlAuthenticationSuccessHandler.php';
include_once \dirname(__DIR__, 4).'/vendor/symfony/security-http/Authentication/AuthenticationFailureHandlerInterface.php';
include_once \dirname(__DIR__, 4).'/vendor/symfony/security-http/Authentication/DefaultAuthenticationFailureHandler.php';
$a = ($container->privates['security.authentication.manager'] ?? $container->load('getSecurity_Authentication_ManagerService'));
if (isset($container->privates['Hslavich\\OneloginSamlBundle\\Security\\Firewall\\SamlListener.sso'])) {
return $container->privates['Hslavich\\OneloginSamlBundle\\Security\\Firewall\\SamlListener.sso'];
}
$b = ($container->services['http_kernel'] ?? $container->getHttpKernelService());
if (isset($container->privates['Hslavich\\OneloginSamlBundle\\Security\\Firewall\\SamlListener.sso'])) {
return $container->privates['Hslavich\\OneloginSamlBundle\\Security\\Firewall\\SamlListener.sso'];
}
$c = ($container->services['event_dispatcher'] ?? $container->getEventDispatcherService());
if (isset($container->privates['Hslavich\\OneloginSamlBundle\\Security\\Firewall\\SamlListener.sso'])) {
return $container->privates['Hslavich\\OneloginSamlBundle\\Security\\Firewall\\SamlListener.sso'];
}
$d = ($container->privates['security.http_utils'] ?? $container->load('getSecurity_HttpUtilsService'));
$e = ($container->privates['monolog.logger.security'] ?? $container->load('getMonolog_Logger_SecurityService'));
$f = new \Symfony\Component\Security\Http\Authentication\DefaultAuthenticationFailureHandler($b, $d, [], $e);
$f->setOptions(['login_path' => 'saml_login', 'failure_path' => NULL, 'failure_forward' => false, 'failure_path_parameter' => '_failure_path']);
$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);
$instance->setOneLoginAuth(($container->privates['OneLogin\\Saml2\\Auth'] ?? $container->load('getAuthService')));
return $instance;
}
}