summaryrefslogtreecommitdiffstats
path: root/Http/EntryPoint/BasicAuthenticationEntryPoint.php
diff options
context:
space:
mode:
authorBernhard Schussek <bernhard.schussek@symfony-project.com>2011-03-13 19:16:56 +0100
committerBernhard Schussek <bernhard.schussek@symfony-project.com>2011-03-13 19:49:10 +0100
commit27a103510af2a2a730937e39db0530b57f9b507a (patch)
tree7973136ac2d2fccf1b5c79e12d1de6bafaa99935 /Http/EntryPoint/BasicAuthenticationEntryPoint.php
parent263ba4d42870ef5f991540c8b039c2472ba8b204 (diff)
downloadsymfony-security-27a103510af2a2a730937e39db0530b57f9b507a.zip
symfony-security-27a103510af2a2a730937e39db0530b57f9b507a.tar.gz
symfony-security-27a103510af2a2a730937e39db0530b57f9b507a.tar.bz2
Switched from Doctrine's EventManager implementation to the EventManager clone in Symfony2 (now called EventDispatcher again)
Diffstat (limited to 'Http/EntryPoint/BasicAuthenticationEntryPoint.php')
-rw-r--r--Http/EntryPoint/BasicAuthenticationEntryPoint.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/Http/EntryPoint/BasicAuthenticationEntryPoint.php b/Http/EntryPoint/BasicAuthenticationEntryPoint.php
index 984fbec..8ac0f64 100644
--- a/Http/EntryPoint/BasicAuthenticationEntryPoint.php
+++ b/Http/EntryPoint/BasicAuthenticationEntryPoint.php
@@ -15,7 +15,7 @@ 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\GetResponseEventArgs;
+use Symfony\Component\HttpKernel\Event\GetResponseEvent;
/**
* BasicAuthenticationEntryPoint starts an HTTP Basic authentication.
@@ -31,7 +31,7 @@ class BasicAuthenticationEntryPoint implements AuthenticationEntryPointInterface
$this->realmName = $realmName;
}
- public function start(GetResponseEventArgs $event, Request $request, AuthenticationException $authException = null)
+ public function start(GetResponseEvent $event, Request $request, AuthenticationException $authException = null)
{
$response = new Response();
$response->headers->set('WWW-Authenticate', sprintf('Basic realm="%s"', $this->realmName));