Skip to content

Commit

Permalink
merged branch sli-systems/master (PR #5380)
Browse files Browse the repository at this point in the history
Commits
-------

cf4189b Move remember me ResponseListener from security bundle into security component

Discussion
----------

Move remember me response listener from security bundle into security component

...ponent

This move allows to implement the remember me feature in Silex without having to reference the security bundle.

This is the pull request for issue #5264
  • Loading branch information
fabpot committed Aug 30, 2012
2 parents ecab04c + cf4189b commit c4fa0b1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
Expand Up @@ -13,7 +13,7 @@
<parameter key="security.authentication.rememberme.services.persistent.class">Symfony\Component\Security\Http\RememberMe\PersistentTokenBasedRememberMeServices</parameter>
<parameter key="security.authentication.rememberme.services.simplehash.class">Symfony\Component\Security\Http\RememberMe\TokenBasedRememberMeServices</parameter>

<parameter key="security.rememberme.response_listener.class">Symfony\Bundle\SecurityBundle\EventListener\ResponseListener</parameter>
<parameter key="security.rememberme.response_listener.class">Symfony\Component\Security\Http\RememberMe\ResponseListener</parameter>
</parameters>

<services>
Expand Down
Expand Up @@ -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.
Expand Down

0 comments on commit c4fa0b1

Please sign in to comment.