diff options
author | Johannes Schmitt <schmittjoh@gmail.com> | 2011-03-18 18:26:55 +0100 |
---|---|---|
committer | Johannes Schmitt <schmittjoh@gmail.com> | 2011-03-18 18:26:55 +0100 |
commit | df50cc3b4031f45308ea05f7d40a5327fb8bf295 (patch) | |
tree | ef0afd5390b426ef5de123be8017e5b83447e5b2 /Http/EntryPoint/BasicAuthenticationEntryPoint.php | |
parent | 66ddc5d30f049972a4ce9ba4b1f1c0206bd78ee9 (diff) | |
download | symfony-security-df50cc3b4031f45308ea05f7d40a5327fb8bf295.zip symfony-security-df50cc3b4031f45308ea05f7d40a5327fb8bf295.tar.gz symfony-security-df50cc3b4031f45308ea05f7d40a5327fb8bf295.tar.bz2 |
[Security] removed un-needed event parameter from many interfaces
Diffstat (limited to 'Http/EntryPoint/BasicAuthenticationEntryPoint.php')
-rw-r--r-- | Http/EntryPoint/BasicAuthenticationEntryPoint.php | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Http/EntryPoint/BasicAuthenticationEntryPoint.php b/Http/EntryPoint/BasicAuthenticationEntryPoint.php index 8ac0f64..4f13c90 100644 --- a/Http/EntryPoint/BasicAuthenticationEntryPoint.php +++ b/Http/EntryPoint/BasicAuthenticationEntryPoint.php @@ -15,7 +15,6 @@ use Symfony\Component\Security\Core\Exception\AuthenticationException; use Symfony\Component\Security\Http\EntryPoint\AuthenticationEntryPointInterface; use Symfony\Component\HttpFoundation\Response; use Symfony\Component\HttpFoundation\Request; -use Symfony\Component\HttpKernel\Event\GetResponseEvent; /** * BasicAuthenticationEntryPoint starts an HTTP Basic authentication. @@ -31,7 +30,7 @@ class BasicAuthenticationEntryPoint implements AuthenticationEntryPointInterface $this->realmName = $realmName; } - public function start(GetResponseEvent $event, Request $request, AuthenticationException $authException = null) + public function start(Request $request, AuthenticationException $authException = null) { $response = new Response(); $response->headers->set('WWW-Authenticate', sprintf('Basic realm="%s"', $this->realmName)); |