summaryrefslogtreecommitdiffstats
path: root/Http
diff options
context:
space:
mode:
authorPierre Minnieur <pm@pierre-minnieur.de>2012-03-06 17:40:30 +0100
committerPierre Minnieur <pm@pierre-minnieur.de>2012-03-06 17:40:30 +0100
commiteb6239ea9cf78f8240fdc6ef9d67bbe27bc84178 (patch)
tree00a34965ad8716b2a5c26eb4be8692cd0c630a79 /Http
parent7206c3d752b35788c82e9657aaffc18a1b24eb93 (diff)
downloadsymfony-security-eb6239ea9cf78f8240fdc6ef9d67bbe27bc84178.zip
symfony-security-eb6239ea9cf78f8240fdc6ef9d67bbe27bc84178.tar.gz
symfony-security-eb6239ea9cf78f8240fdc6ef9d67bbe27bc84178.tar.bz2
use SecurityContextInterface instead of SecurityContext
Diffstat (limited to 'Http')
-rw-r--r--Http/Firewall/ContextListener.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/Http/Firewall/ContextListener.php b/Http/Firewall/ContextListener.php
index 96b8f07..423ccb2 100644
--- a/Http/Firewall/ContextListener.php
+++ b/Http/Firewall/ContextListener.php
@@ -20,7 +20,7 @@ use Symfony\Component\Security\Core\Authentication\Token\AnonymousToken;
use Symfony\Component\Security\Core\Authentication\Token\TokenInterface;
use Symfony\Component\Security\Core\Exception\UsernameNotFoundException;
use Symfony\Component\Security\Core\Exception\UnsupportedUserException;
-use Symfony\Component\Security\Core\SecurityContext;
+use Symfony\Component\Security\Core\SecurityContextInterface;
use Symfony\Component\Security\Core\User\UserInterface;
use Symfony\Component\Security\Core\User\UserProviderInterface;
use Symfony\Component\EventDispatcher\EventDispatcherInterface;
@@ -38,7 +38,7 @@ class ContextListener implements ListenerInterface
private $logger;
private $userProviders;
- public function __construct(SecurityContext $context, array $userProviders, $contextKey, LoggerInterface $logger = null, EventDispatcherInterface $dispatcher = null)
+ public function __construct(SecurityContextInterface $context, array $userProviders, $contextKey, LoggerInterface $logger = null, EventDispatcherInterface $dispatcher = null)
{
if (empty($contextKey)) {
throw new \InvalidArgumentException('$contextKey must not be empty.');