diff options
author | Bernhard Schussek <bernhard.schussek@symfony-project.com> | 2011-03-17 13:24:23 +0100 |
---|---|---|
committer | Bernhard Schussek <bernhard.schussek@symfony-project.com> | 2011-03-17 13:24:23 +0100 |
commit | 59f3260f97e218b4a88ee458ffa6ab0ba3b86aa5 (patch) | |
tree | 88862308a3bda4ee7bb5885502d0ab4eaa07a1b5 /Http | |
parent | a7c5a4f08c35edf4e2c2362a403aab228078e9f8 (diff) | |
download | symfony-security-59f3260f97e218b4a88ee458ffa6ab0ba3b86aa5.zip symfony-security-59f3260f97e218b4a88ee458ffa6ab0ba3b86aa5.tar.gz symfony-security-59f3260f97e218b4a88ee458ffa6ab0ba3b86aa5.tar.bz2 |
[Security] Fixed method names in the Firewall listeners
Diffstat (limited to 'Http')
-rw-r--r-- | Http/Authentication/AuthenticationFailureHandlerInterface.php | 2 | ||||
-rw-r--r-- | Http/Authentication/AuthenticationSuccessHandlerInterface.php | 2 | ||||
-rw-r--r-- | Http/EntryPoint/AuthenticationEntryPointInterface.php | 2 | ||||
-rw-r--r-- | Http/Firewall/AbstractAuthenticationListener.php | 2 | ||||
-rw-r--r-- | Http/Firewall/AbstractPreAuthenticatedListener.php | 2 | ||||
-rw-r--r-- | Http/Firewall/AccessListener.php | 2 | ||||
-rw-r--r-- | Http/Firewall/AnonymousAuthenticationListener.php | 2 | ||||
-rw-r--r-- | Http/Firewall/BasicAuthenticationListener.php | 2 | ||||
-rw-r--r-- | Http/Firewall/ChannelListener.php | 2 | ||||
-rw-r--r-- | Http/Firewall/ContextListener.php | 2 | ||||
-rw-r--r-- | Http/Firewall/DigestAuthenticationListener.php | 2 | ||||
-rw-r--r-- | Http/Firewall/ListenerInterface.php | 2 | ||||
-rw-r--r-- | Http/Firewall/LogoutListener.php | 2 | ||||
-rw-r--r-- | Http/Firewall/RememberMeListener.php | 2 | ||||
-rw-r--r-- | Http/Firewall/SwitchUserListener.php | 2 |
15 files changed, 15 insertions, 15 deletions
diff --git a/Http/Authentication/AuthenticationFailureHandlerInterface.php b/Http/Authentication/AuthenticationFailureHandlerInterface.php index e2d8eb2..02db734 100644 --- a/Http/Authentication/AuthenticationFailureHandlerInterface.php +++ b/Http/Authentication/AuthenticationFailureHandlerInterface.php @@ -22,7 +22,7 @@ interface AuthenticationFailureHandlerInterface * called by authentication listeners inheriting from * AbstractAuthenticationListener. * - * @param GetResponseEvent $event the "onCoreSecurity" event, this event always + * @param GetResponseEvent $event the "onCoreRequest" event, this event always * has the kernel as target * @param Request $request * @param AuthenticationException $exception diff --git a/Http/Authentication/AuthenticationSuccessHandlerInterface.php b/Http/Authentication/AuthenticationSuccessHandlerInterface.php index d7f8488..0af47c9 100644 --- a/Http/Authentication/AuthenticationSuccessHandlerInterface.php +++ b/Http/Authentication/AuthenticationSuccessHandlerInterface.php @@ -22,7 +22,7 @@ interface AuthenticationSuccessHandlerInterface * is called by authentication listeners inheriting from * AbstractAuthenticationListener. * - * @param GetResponseEvent $event the "onCoreSecurity" event, this event always + * @param GetResponseEvent $event the "onCoreRequest" event, this event always * has the kernel as target * @param Request $request * @param TokenInterface $token diff --git a/Http/EntryPoint/AuthenticationEntryPointInterface.php b/Http/EntryPoint/AuthenticationEntryPointInterface.php index 0cf6240..3095b5c 100644 --- a/Http/EntryPoint/AuthenticationEntryPointInterface.php +++ b/Http/EntryPoint/AuthenticationEntryPointInterface.php @@ -26,7 +26,7 @@ interface AuthenticationEntryPointInterface /** * Starts the authentication scheme. * - * @param GetResponseEvent $event The "onCoreSecurity" event + * @param GetResponseEvent $event The "onCoreRequest" event * @param object $request The request that resulted in an AuthenticationException * @param AuthenticationException $authException The exception that started the authentication process */ diff --git a/Http/Firewall/AbstractAuthenticationListener.php b/Http/Firewall/AbstractAuthenticationListener.php index 506d49e..b3d2af9 100644 --- a/Http/Firewall/AbstractAuthenticationListener.php +++ b/Http/Firewall/AbstractAuthenticationListener.php @@ -107,7 +107,7 @@ abstract class AbstractAuthenticationListener implements ListenerInterface * * @param GetResponseEvent $event A GetResponseEvent instance */ - public final function onCoreSecurity(GetResponseEvent $event) + public final function handle(GetResponseEvent $event) { $request = $event->getRequest(); diff --git a/Http/Firewall/AbstractPreAuthenticatedListener.php b/Http/Firewall/AbstractPreAuthenticatedListener.php index 49039cd..7bb4e0d 100644 --- a/Http/Firewall/AbstractPreAuthenticatedListener.php +++ b/Http/Firewall/AbstractPreAuthenticatedListener.php @@ -52,7 +52,7 @@ abstract class AbstractPreAuthenticatedListener implements ListenerInterface * * @param GetResponseEvent $event A GetResponseEvent instance */ - public final function onCoreSecurity(GetResponseEvent $event) + public final function handle(GetResponseEvent $event) { $request = $event->getRequest(); diff --git a/Http/Firewall/AccessListener.php b/Http/Firewall/AccessListener.php index 02c5e71..bbcd932 100644 --- a/Http/Firewall/AccessListener.php +++ b/Http/Firewall/AccessListener.php @@ -48,7 +48,7 @@ class AccessListener implements ListenerInterface * * @param GetResponseEvent $event A GetResponseEvent instance */ - public function onCoreSecurity(GetResponseEvent $event) + public function handle(GetResponseEvent $event) { if (null === $token = $this->context->getToken()) { throw new AuthenticationCredentialsNotFoundException('A Token was not found in the SecurityContext.'); diff --git a/Http/Firewall/AnonymousAuthenticationListener.php b/Http/Firewall/AnonymousAuthenticationListener.php index 26d6464..c5c2376 100644 --- a/Http/Firewall/AnonymousAuthenticationListener.php +++ b/Http/Firewall/AnonymousAuthenticationListener.php @@ -41,7 +41,7 @@ class AnonymousAuthenticationListener implements ListenerInterface * * @param GetResponseEvent $event A GetResponseEvent instance */ - public function onCoreSecurity(GetResponseEvent $event) + public function handle(GetResponseEvent $event) { if (null !== $this->context->getToken()) { return; diff --git a/Http/Firewall/BasicAuthenticationListener.php b/Http/Firewall/BasicAuthenticationListener.php index 002e292..efeb963 100644 --- a/Http/Firewall/BasicAuthenticationListener.php +++ b/Http/Firewall/BasicAuthenticationListener.php @@ -53,7 +53,7 @@ class BasicAuthenticationListener implements ListenerInterface * * @param GetResponseEvent $event A GetResponseEvent instance */ - public function onCoreSecurity(GetResponseEvent $event) + public function handle(GetResponseEvent $event) { $request = $event->getRequest(); diff --git a/Http/Firewall/ChannelListener.php b/Http/Firewall/ChannelListener.php index 4abe7b7..64176e1 100644 --- a/Http/Firewall/ChannelListener.php +++ b/Http/Firewall/ChannelListener.php @@ -41,7 +41,7 @@ class ChannelListener implements ListenerInterface * * @param GetResponseEvent $event A GetResponseEvent instance */ - public function onCoreSecurity(GetResponseEvent $event) + public function handle(GetResponseEvent $event) { $request = $event->getRequest(); diff --git a/Http/Firewall/ContextListener.php b/Http/Firewall/ContextListener.php index cc49c8e..2adbf41 100644 --- a/Http/Firewall/ContextListener.php +++ b/Http/Firewall/ContextListener.php @@ -58,7 +58,7 @@ class ContextListener implements ListenerInterface * * @param GetResponseEvent $event A GetResponseEvent instance */ - public function onCoreSecurity(GetResponseEvent $event) + public function handle(GetResponseEvent $event) { $request = $event->getRequest(); diff --git a/Http/Firewall/DigestAuthenticationListener.php b/Http/Firewall/DigestAuthenticationListener.php index f2f925f..f550c07 100644 --- a/Http/Firewall/DigestAuthenticationListener.php +++ b/Http/Firewall/DigestAuthenticationListener.php @@ -56,7 +56,7 @@ class DigestAuthenticationListener implements ListenerInterface * * @param GetResponseEvent $event A GetResponseEvent instance */ - public function onCoreSecurity(GetResponseEvent $event) + public function handle(GetResponseEvent $event) { $request = $event->getRequest(); diff --git a/Http/Firewall/ListenerInterface.php b/Http/Firewall/ListenerInterface.php index e451103..9d5084e 100644 --- a/Http/Firewall/ListenerInterface.php +++ b/Http/Firewall/ListenerInterface.php @@ -26,5 +26,5 @@ interface ListenerInterface * * @param GetResponseEvent $event */ - function onCoreSecurity(GetResponseEvent $event); + function handle(GetResponseEvent $event); }
\ No newline at end of file diff --git a/Http/Firewall/LogoutListener.php b/Http/Firewall/LogoutListener.php index 18b37f3..ce757c8 100644 --- a/Http/Firewall/LogoutListener.php +++ b/Http/Firewall/LogoutListener.php @@ -65,7 +65,7 @@ class LogoutListener implements ListenerInterface * * @param GetResponseEvent $event A GetResponseEvent instance */ - public function onCoreSecurity(GetResponseEvent $event) + public function handle(GetResponseEvent $event) { $request = $event->getRequest(); diff --git a/Http/Firewall/RememberMeListener.php b/Http/Firewall/RememberMeListener.php index 0706410..6b59c21 100644 --- a/Http/Firewall/RememberMeListener.php +++ b/Http/Firewall/RememberMeListener.php @@ -62,7 +62,7 @@ class RememberMeListener implements ListenerInterface * * @param GetResponseEvent $event A GetResponseEvent instance */ - public function onCoreSecurity(GetResponseEvent $event) + public function handle(GetResponseEvent $event) { if (null !== $this->securityContext->getToken()) { return; diff --git a/Http/Firewall/SwitchUserListener.php b/Http/Firewall/SwitchUserListener.php index c95ff0d..71cae95 100644 --- a/Http/Firewall/SwitchUserListener.php +++ b/Http/Firewall/SwitchUserListener.php @@ -73,7 +73,7 @@ class SwitchUserListener implements ListenerInterface * * @param GetResponseEvent $event A GetResponseEvent instance */ - public function onCoreSecurity(GetResponseEvent $event) + public function handle(GetResponseEvent $event) { $request = $event->getRequest(); |