From 6ac858814407cee65e3c30779cb271ecaf3abd19 Mon Sep 17 00:00:00 2001 From: Luke Taylor Date: Thu, 4 Mar 2010 22:06:04 +0000 Subject: [PATCH] Fix to Javadoc for AbstractAuthenticationProcessingFilter.(cherry picked from commit a3263753d93bba781471135448c4de5564fe464a) --- .../AbstractAuthenticationProcessingFilter.java | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/web/src/main/java/org/springframework/security/web/authentication/AbstractAuthenticationProcessingFilter.java b/web/src/main/java/org/springframework/security/web/authentication/AbstractAuthenticationProcessingFilter.java index 2ec631dcc7..8539aefa86 100644 --- a/web/src/main/java/org/springframework/security/web/authentication/AbstractAuthenticationProcessingFilter.java +++ b/web/src/main/java/org/springframework/security/web/authentication/AbstractAuthenticationProcessingFilter.java @@ -86,17 +86,16 @@ import org.springframework.web.filter.GenericFilterBean; * If authentication is successful, an {@link InteractiveAuthenticationSuccessEvent} will be published via the * application context. No events will be published if authentication was unsuccessful, because this would generally be * recorded via an {@code AuthenticationManager}-specific application event. - *

- * The filter has an optional attribute invalidateSessionOnSuccessfulAuthentication that will invalidate - * the current session on successful authentication. This is to protect against session fixation attacks (see - * this Wikipedia article for more information). - * The behaviour is turned off by default. Additionally there is a property migrateInvalidatedSessionAttributes - * which tells if on session invalidation we are to migrate all session attributes from the old session to a newly - * created one. This is turned on by default, but not used unless invalidateSessionOnSuccessfulAuthentication - * is true. If you are using this feature in combination with concurrent session control, you should set the - * sessionRegistry property to make sure that the session information is updated consistently. + * + *

Session Authentication

+ * + * The class has an optional {@link SessionAuthenticationStrategy} which will be invoked immediately after a + * successful call to {@code attemptAuthentication()}. Different implementations + * {@link #setSessionAuthenticationStrategy(SessionAuthenticationStrategy) can be injected} to enable things like + * session-fixation attack prevention or to control the number of simultaneous sessions a principal may have. * * @author Ben Alex + * @author Luke Taylor */ public abstract class AbstractAuthenticationProcessingFilter extends GenericFilterBean implements ApplicationEventPublisherAware, MessageSourceAware {