From 791e6d48d2f9b641ccaf5c086ef018aff8d3a0fb Mon Sep 17 00:00:00 2001 From: Klaas Naaijkens Date: Tue, 22 Feb 2011 09:23:25 +0100 Subject: [PATCH] Make constructor of AbstractPreAuthenticatedListener same as for AbstractAuthenticationListener and make it compatible with caller in PreAuthenticatedAuthenticationProvider --- .../Http/Firewall/AbstractPreAuthenticatedListener.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/Symfony/Component/Security/Http/Firewall/AbstractPreAuthenticatedListener.php b/src/Symfony/Component/Security/Http/Firewall/AbstractPreAuthenticatedListener.php index 555dadb2ceed5..823aad42d54f4 100644 --- a/src/Symfony/Component/Security/Http/Firewall/AbstractPreAuthenticatedListener.php +++ b/src/Symfony/Component/Security/Http/Firewall/AbstractPreAuthenticatedListener.php @@ -20,6 +20,8 @@ use Symfony\Component\Security\Core\Authentication\Token\PreAuthenticatedToken; use Symfony\Component\Security\Core\Exception\AuthenticationException; use Symfony\Component\HttpFoundation\Request; +use Symfony\Component\Security\Http\Session\SessionAuthenticationStrategyInterface; + /** * AbstractPreAuthenticatedListener is the base class for all listener that @@ -36,7 +38,7 @@ abstract class AbstractPreAuthenticatedListener implements ListenerInterface protected $logger; protected $eventDispatcher; - public function __construct(SecurityContextInterface $securityContext, AuthenticationManagerInterface $authenticationManager, $providerKey, LoggerInterface $logger = null) + public function __construct(SecurityContextInterface $securityContext, AuthenticationManagerInterface $authenticationManager, SessionAuthenticationStrategyInterface $sessionStrategy, $providerKey, array $options = array(), AuthenticationSuccessHandlerInterface $successHandler = null, AuthenticationFailureHandlerInterface $failureHandler = null, LoggerInterface $logger = null) { $this->securityContext = $securityContext; $this->authenticationManager = $authenticationManager; pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy