org.jasig.cas.client.session
Class SingleSignOutHttpSessionListener

java.lang.Object
  extended by org.jasig.cas.client.session.SingleSignOutHttpSessionListener
All Implemented Interfaces:
java.util.EventListener, javax.servlet.http.HttpSessionListener

public final class SingleSignOutHttpSessionListener
extends java.lang.Object
implements javax.servlet.http.HttpSessionListener

Listener to detect when an HTTP session is destroyed and remove it from the map of managed sessions. Also allows for the programmatic removal of sessions.

Enables the CAS Single Sign out feature. Scott Battaglia

Since:
3.1
Version:
$Revision$ Date$

Constructor Summary
SingleSignOutHttpSessionListener()
           
 
Method Summary
protected static SessionMappingStorage getSessionMappingStorage()
          Obtains a SessionMappingStorage object.
 void sessionCreated(javax.servlet.http.HttpSessionEvent event)
           
 void sessionDestroyed(javax.servlet.http.HttpSessionEvent event)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SingleSignOutHttpSessionListener

public SingleSignOutHttpSessionListener()
Method Detail

sessionCreated

public void sessionCreated(javax.servlet.http.HttpSessionEvent event)
Specified by:
sessionCreated in interface javax.servlet.http.HttpSessionListener

sessionDestroyed

public void sessionDestroyed(javax.servlet.http.HttpSessionEvent event)
Specified by:
sessionDestroyed in interface javax.servlet.http.HttpSessionListener

getSessionMappingStorage

protected static SessionMappingStorage getSessionMappingStorage()
Obtains a SessionMappingStorage object. Assumes this method will always return the same instance of the object. It assumes this because it generally lazily calls the method.

Returns:
the SessionMappingStorage


Copyright © 2006-2009 JA-SIG. All Rights Reserved.