org.springframework.flex.security
Class FlexSessionInvalidatingAuthenticationListener
java.lang.Object
org.springframework.flex.security.FlexSessionInvalidatingAuthenticationListener
- All Implemented Interfaces:
- java.util.EventListener, org.springframework.context.ApplicationListener
public class FlexSessionInvalidatingAuthenticationListener
- extends java.lang.Object
- implements org.springframework.context.ApplicationListener
ApplicationListener
implementation that listens for InteractiveAuthenticationSuccessEvent
s and cleans
up any existing FlexSession, forcing it to be re-created.
This listener is provided for compatability with Spring Security's session fixation protection feature, and should be
included in the ApplicationContext if session fixation protection is enabled.
When using the config namespace, this listener will be configured automatically if necessary when Spring Security
integration is enabled.
- Author:
- Jeremy Grelle
Method Summary |
void |
onApplicationEvent(org.springframework.context.ApplicationEvent event)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FlexSessionInvalidatingAuthenticationListener
public FlexSessionInvalidatingAuthenticationListener()
onApplicationEvent
public void onApplicationEvent(org.springframework.context.ApplicationEvent event)
-
- Specified by:
onApplicationEvent
in interface org.springframework.context.ApplicationListener