From cf4189bdaf452fe8c92af04dd94f7c40c3a5d89c Mon Sep 17 00:00:00 2001 From: DerManoMann Date: Thu, 30 Aug 2012 11:15:49 +1200 Subject: [PATCH] Move remember me ResponseListener from security bundle into security component This move allows to implement the remember me feature in Silex without having to reference the security bundle. --- .../SecurityBundle/Resources/config/security_rememberme.xml | 2 +- .../Security/Http/RememberMe}/ResponseListener.php | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) rename src/Symfony/{Bundle/SecurityBundle/EventListener => Component/Security/Http/RememberMe}/ResponseListener.php (86%) diff --git a/src/Symfony/Bundle/SecurityBundle/Resources/config/security_rememberme.xml b/src/Symfony/Bundle/SecurityBundle/Resources/config/security_rememberme.xml index 983ef576f1..9beab1df0e 100644 --- a/src/Symfony/Bundle/SecurityBundle/Resources/config/security_rememberme.xml +++ b/src/Symfony/Bundle/SecurityBundle/Resources/config/security_rememberme.xml @@ -13,7 +13,7 @@ Symfony\Component\Security\Http\RememberMe\PersistentTokenBasedRememberMeServices Symfony\Component\Security\Http\RememberMe\TokenBasedRememberMeServices - Symfony\Bundle\SecurityBundle\EventListener\ResponseListener + Symfony\Component\Security\Http\RememberMe\ResponseListener diff --git a/src/Symfony/Bundle/SecurityBundle/EventListener/ResponseListener.php b/src/Symfony/Component/Security/Http/RememberMe/ResponseListener.php similarity index 86% rename from src/Symfony/Bundle/SecurityBundle/EventListener/ResponseListener.php rename to src/Symfony/Component/Security/Http/RememberMe/ResponseListener.php index 62d53dc1c8..11ea790037 100644 --- a/src/Symfony/Bundle/SecurityBundle/EventListener/ResponseListener.php +++ b/src/Symfony/Component/Security/Http/RememberMe/ResponseListener.php @@ -9,11 +9,10 @@ * file that was distributed with this source code. */ -namespace Symfony\Bundle\SecurityBundle\EventListener; +namespace Symfony\Component\Security\Http\RememberMe; use Symfony\Component\HttpFoundation\Response; use Symfony\Component\HttpKernel\Event\FilterResponseEvent; -use Symfony\Component\Security\Http\RememberMe\RememberMeServicesInterface; /** * Adds remember-me cookies to the Response.