summaryrefslogtreecommitdiffstats
path: root/Http/EntryPoint/RetryAuthenticationEntryPoint.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/RetryAuthenticationEntryPoint.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/RetryAuthenticationEntryPoint.php')
-rw-r--r--Http/EntryPoint/RetryAuthenticationEntryPoint.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/Http/EntryPoint/RetryAuthenticationEntryPoint.php b/Http/EntryPoint/RetryAuthenticationEntryPoint.php
index 643e944..c624c54 100644
--- a/Http/EntryPoint/RetryAuthenticationEntryPoint.php
+++ b/Http/EntryPoint/RetryAuthenticationEntryPoint.php
@@ -16,7 +16,7 @@ use Symfony\Component\Security\Http\EntryPoint\AuthenticationEntryPointInterface
use Symfony\Component\HttpFoundation\Response;
use Symfony\Component\HttpFoundation\RedirectResponse;
use Symfony\Component\HttpFoundation\Request;
-use Symfony\Component\HttpKernel\Event\RequestEventArgs;
+use Symfony\Component\HttpKernel\Event\GetResponseEventArgs;
/**
* RetryAuthenticationEntryPoint redirects URL based on the configured scheme.
@@ -36,7 +36,7 @@ class RetryAuthenticationEntryPoint implements AuthenticationEntryPointInterface
$this->httpsPort = $httpsPort;
}
- public function start(RequestEventArgs $eventArgs, Request $request, AuthenticationException $authException = null)
+ public function start(GetResponseEventArgs $eventArgs, Request $request, AuthenticationException $authException = null)
{
$scheme = $request->isSecure() ? 'http' : 'https';
if ('http' === $scheme && 80 != $this->httpPort) {