This repository has been archived on 2023-08-20. You can view files and clone it, but cannot push or open issues or pull requests.
symfony/tests/Symfony/Tests/Component/Security/Http/Firewall
Jeremy Mikola 49a8654cb8 [Security] Use LogoutException for invalid CSRF token in LogoutListener
On the advice of @schmittjoh, this commit adds a LogoutException class for use by LogoutListener if the CSRF token is invalid.

The handling in the Security component's ExceptionListener is modeled after AccessDeniedException, which gets wrapped in an AccessDeniedHttpException in the absence of handler service or error page (I didn't think it was appropriate to re-use those for LogoutException).
2012-02-14 19:03:52 -05:00
..
AccessListenerTest.php [Security] Update access listener constructor's prototype and add tests 2011-06-26 10:28:10 +02:00
AnonymousAuthenticationListenerTest.php [Security] Add tests for the anonymous authentication listener 2011-06-26 11:28:17 +02:00
BasicAuthenticationListenerTest.php Fixed typo 2011-10-31 09:00:49 +01:00
ChannelListenerTest.php [Security] Add tests for the channel listener 2011-06-26 11:56:08 +02:00
ContextListenerTest.php reverted 5b7ef11650 (Simplify session 2012-02-11 12:04:50 +01:00
LogoutListenerTest.php [Security] Use LogoutException for invalid CSRF token in LogoutListener 2012-02-14 19:03:52 -05:00
RememberMeListenerTest.php removed unused use statements 2011-11-24 07:16:14 +01:00