org.springframework.security.core.session
Class SessionDestroyedEvent

java.lang.Object
  extended by java.util.EventObject
      extended by org.springframework.context.ApplicationEvent
          extended by org.springframework.security.core.session.SessionDestroyedEvent
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
HttpSessionDestroyedEvent

public abstract class SessionDestroyedEvent
extends ApplicationEvent

Generic "session termination" event which indicates that a session (potentially represented by a security context) has ended.

Since:
3.0
Version:
$Id: SessionDestroyedEvent.java 3650 2009-05-11 05:18:20Z ltaylor $
Author:
Luke Taylor
See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
SessionDestroyedEvent(Object source)
           
 
Method Summary
abstract  String getId()
          The identifier associated with the destroyed session.
abstract  SecurityContext getSecurityContext()
          Provides the SecurityContext under which the session was running.
 
Methods inherited from class org.springframework.context.ApplicationEvent
getTimestamp
 
Methods inherited from class java.util.EventObject
getSource, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SessionDestroyedEvent

public SessionDestroyedEvent(Object source)
Method Detail

getSecurityContext

public abstract SecurityContext getSecurityContext()
Provides the SecurityContext under which the session was running.

Returns:
the SecurityContext associated with the session, or null if there is no context.

getId

public abstract String getId()
The identifier associated with the destroyed session.

Returns:


Copyright © 2004-2009 SpringSource, Inc. All Rights Reserved.