diff options
author | Bernhard Schussek <bernhard.schussek@symfony-project.com> | 2011-03-07 15:42:52 +0100 |
---|---|---|
committer | Bernhard Schussek <bernhard.schussek@symfony-project.com> | 2011-03-07 19:16:05 +0100 |
commit | 4a5d6729bc8c7f4adc89c153606617390bb24ca4 (patch) | |
tree | e31633b8ef04acfc224c6649d4656e380b6f6b25 /Http/EntryPoint/FormAuthenticationEntryPoint.php | |
parent | db1564445584b2bf354558534efa6532e8cb3959 (diff) | |
download | symfony-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/FormAuthenticationEntryPoint.php')
-rw-r--r-- | Http/EntryPoint/FormAuthenticationEntryPoint.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Http/EntryPoint/FormAuthenticationEntryPoint.php b/Http/EntryPoint/FormAuthenticationEntryPoint.php index 96b233c..ddd9bb7 100644 --- a/Http/EntryPoint/FormAuthenticationEntryPoint.php +++ b/Http/EntryPoint/FormAuthenticationEntryPoint.php @@ -17,7 +17,7 @@ use Symfony\Component\HttpFoundation\RedirectResponse; use Symfony\Component\Security\Core\Exception\AuthenticationException; use Symfony\Component\Security\Http\EntryPoint\AuthenticationEntryPointInterface; use Symfony\Component\HttpKernel\HttpKernelInterface; -use Symfony\Component\HttpKernel\Event\RequestEventArgs; +use Symfony\Component\HttpKernel\Event\GetResponseEventArgs; /** * FormAuthenticationEntryPoint starts an authentication via a login form. @@ -44,7 +44,7 @@ class FormAuthenticationEntryPoint implements AuthenticationEntryPointInterface /** * {@inheritdoc} */ - public function start(RequestEventArgs $eventArgs, Request $request, AuthenticationException $authException = null) + public function start(GetResponseEventArgs $eventArgs, Request $request, AuthenticationException $authException = null) { if ($this->useForward) { return $event->getKernel()->handle(Request::create($this->loginPath), HttpKernelInterface::SUB_REQUEST); |