8000 Fix constructor AbstractPreAuthenticatedListener by klaasn · Pull Request #74 · symfony/symfony · GitHub
[go: up one dir, main page]

Skip to content

Fix constructor AbstractPreAuthenticatedListener #74

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Make constructor of AbstractPreAuthenticatedListener same as for Abst…
…ractAuthenticationListener and make it compatible with caller in PreAuthenticatedAuthenticationProvider
  • Loading branch information
Klaas Naaijkens committed Feb 22, 2011
commit 791e6d48d2f9b641ccaf5c086ef018aff8d3a0fb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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;
Expand Down
0