org.springframework.flex.security3
Class FlexSessionInvalidatingAuthenticationListener

java.lang.Object
  extended by org.springframework.flex.security3.FlexSessionInvalidatingAuthenticationListener

public class FlexSessionInvalidatingAuthenticationListener
extends java.lang.Object

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.security.authentication.event.InteractiveAuthenticationSuccessEvent 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.security.authentication.event.InteractiveAuthenticationSuccessEvent event)