summaryrefslogtreecommitdiffstats
path: root/Http/EntryPoint/DigestAuthenticationEntryPoint.php
diff options
context:
space:
mode:
authorBernhard Schussek <bernhard.schussek@symfony-project.com>2011-03-07 15:42:52 +0100
committerBernhard Schussek <bernhard.schussek@symfony-project.com>2011-03-07 19:16:05 +0100
commit4a5d6729bc8c7f4adc89c153606617390bb24ca4 (patch)
treee31633b8ef04acfc224c6649d4656e380b6f6b25 /Http/EntryPoint/DigestAuthenticationEntryPoint.php
parentdb1564445584b2bf354558534efa6532e8cb3959 (diff)
downloadsymfony-security-4a5d6729bc8c7f4adc89c153606617390bb24ca4.zip
symfony-security-4a5d6729bc8c7f4adc89c153606617390bb24ca4.tar.gz
symfony-security-4a5d6729bc8c7f4adc89c153606617390bb24ca4.tar.bz2
Renamed EventArgs classes and adapted remaining code to EventManager
The only missing part is ContainerAwareEventManager::addEventSubscriberService(), because I'm not sure how to find out the class name of a service in the DIC. Also, inline documentation of this code needs to be finished once it is accepted.
Diffstat (limited to 'Http/EntryPoint/DigestAuthenticationEntryPoint.php')
-rw-r--r--Http/EntryPoint/DigestAuthenticationEntryPoint.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/Http/EntryPoint/DigestAuthenticationEntryPoint.php b/Http/EntryPoint/DigestAuthenticationEntryPoint.php
index d779bc8..06799bc 100644
--- a/Http/EntryPoint/DigestAuthenticationEntryPoint.php
+++ b/Http/EntryPoint/DigestAuthenticationEntryPoint.php
@@ -17,7 +17,7 @@ use Symfony\Component\Security\Core\Exception\NonceExpiredException;
use Symfony\Component\HttpFoundation\Response;
use Symfony\Component\HttpFoundation\Request;
use Symfony\Component\HttpKernel\Log\LoggerInterface;
-use Symfony\Component\HttpKernel\Event\RequestEventArgs;
+use Symfony\Component\HttpKernel\Event\GetResponseEventArgs;
/**
* DigestAuthenticationEntryPoint starts an HTTP Digest authentication.
@@ -39,7 +39,7 @@ class DigestAuthenticationEntryPoint implements AuthenticationEntryPointInterfac
$this->logger = $logger;
}
- public function start(RequestEventArgs $eventArgs, Request $request, AuthenticationException $authException = null)
+ public function start(GetResponseEventArgs $eventArgs, Request $request, AuthenticationException $authException = null)
{
$expiryTime = microtime(true) + $this->nonceValiditySeconds * 1000;
$signatureValue = md5($expiryTime.':'.$this->key);