org.springframework.security.web.session
Class HttpSessionDestroyedEvent

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

public class HttpSessionDestroyedEvent
extends SessionDestroyedEvent

Published by the HttpSessionEventPublisher when a HttpSession is created in the container

Author:
Ray Krueger, Luke Taylor
See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
HttpSessionDestroyedEvent(HttpSession session)
           
 
Method Summary
 String getId()
          The identifier associated with the destroyed session.
 SecurityContext getSecurityContext()
          Provides the SecurityContext under which the session was running.
 HttpSession getSession()
           
 
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

HttpSessionDestroyedEvent

public HttpSessionDestroyedEvent(HttpSession session)
Method Detail

getSession

public HttpSession getSession()

getSecurityContext

public SecurityContext getSecurityContext()
Description copied from class: SessionDestroyedEvent
Provides the SecurityContext under which the session was running.

Specified by:
getSecurityContext in class SessionDestroyedEvent
Returns:
the SecurityContext associated with the session, or null if there is no context.

getId

public String getId()
Description copied from class: SessionDestroyedEvent
The identifier associated with the destroyed session.

Specified by:
getId in class SessionDestroyedEvent
Returns:


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