org.springframework.flex.security
Class FlexSessionInvalidatingAuthenticationListener

java.lang.Object
  extended by 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 InteractiveAuthenticationSuccessEvents 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

Constructor Summary
FlexSessionInvalidatingAuthenticationListener()
           
 
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
 

Constructor Detail

FlexSessionInvalidatingAuthenticationListener

public FlexSessionInvalidatingAuthenticationListener()
Method Detail

onApplicationEvent

public void onApplicationEvent(org.springframework.context.ApplicationEvent event)

Specified by:
onApplicationEvent in interface org.springframework.context.ApplicationListener