org.springframework.security.web.session
Class HttpSessionDestroyedEvent
java.lang.Object
   java.util.EventObject
java.util.EventObject
       org.springframework.context.ApplicationEvent
org.springframework.context.ApplicationEvent
           org.springframework.security.core.session.SessionDestroyedEvent
org.springframework.security.core.session.SessionDestroyedEvent
               org.springframework.security.web.session.HttpSessionDestroyedEvent
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
- See Also:
- Serialized Form
 
 
 
 
 
 
 
HttpSessionDestroyedEvent
public HttpSessionDestroyedEvent(javax.servlet.http.HttpSession session)
getSession
public javax.servlet.http.HttpSession getSession()
- 
 
getSecurityContext
public SecurityContext getSecurityContext()
- Description copied from class: SessionDestroyedEvent
- Provides the SecurityContext under which the session was running.
 
- 
- Specified by:
- getSecurityContextin class- SessionDestroyedEvent
 
- 
- Returns:
- the SecurityContext associated with the session, or null if there is no context.
 
getId
public String getId()
- 
- Specified by:
- getIdin class- SessionDestroyedEvent
 
- 
- Returns:
- the identifier associated with the destroyed session.