summaryrefslogtreecommitdiffstats
path: root/Http/EntryPoint/FormAuthenticationEntryPoint.php
diff options
context:
space:
mode:
authorJohannes M. Schmitt <schmittjoh@gmail.com>2011-02-01 21:59:24 +0100
committerFabien Potencier <fabien.potencier@gmail.com>2011-02-02 11:31:28 +0100
commit8ae19be583eac472874c0760e075fe6e7db19359 (patch)
tree1e1820a6b1800e79e5bc8e513df33066a2278ee4 /Http/EntryPoint/FormAuthenticationEntryPoint.php
parenta204c9269152bf429c366eb238d9a95ea2e8bf9b (diff)
downloadsymfony-security-8ae19be583eac472874c0760e075fe6e7db19359.zip
symfony-security-8ae19be583eac472874c0760e075fe6e7db19359.tar.gz
symfony-security-8ae19be583eac472874c0760e075fe6e7db19359.tar.bz2
[Security] bug fix in FormAuthenticationEntryPoint
Diffstat (limited to 'Http/EntryPoint/FormAuthenticationEntryPoint.php')
-rw-r--r--Http/EntryPoint/FormAuthenticationEntryPoint.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/Http/EntryPoint/FormAuthenticationEntryPoint.php b/Http/EntryPoint/FormAuthenticationEntryPoint.php
index 0902507..7a18b2f 100644
--- a/Http/EntryPoint/FormAuthenticationEntryPoint.php
+++ b/Http/EntryPoint/FormAuthenticationEntryPoint.php
@@ -11,10 +11,11 @@
namespace Symfony\Component\Security\Http\EntryPoint;
+use Symfony\Component\EventDispatcher\EventInterface;
use Symfony\Component\HttpFoundation\Request;
use Symfony\Component\HttpFoundation\Response;
use Symfony\Component\Security\Core\Exception\AuthenticationException;
-use Symfony\Component\Security\Core\Authentication\EntryPoint\AuthenticationEntryPointInterface;
+use Symfony\Component\Security\Http\EntryPoint\AuthenticationEntryPointInterface;
use Symfony\Component\Security\Core\SecurityContext;
/**
@@ -42,7 +43,7 @@ class FormAuthenticationEntryPoint implements AuthenticationEntryPointInterface
/**
* {@inheritdoc}
*/
- public function start(Request $request, AuthenticationException $authException = null)
+ public function start(EventInterface $event, Request $request, AuthenticationException $authException = null)
{
if ($this->useForward) {
return $event->getSubject()->handle(Request::create($this->loginPath), HttpKernelInterface::SUB_REQUEST);