org.springframework.security.web.session
Class HttpSessionDestroyedEvent
java.lang.Object
java.util.EventObject
org.springframework.context.ApplicationEvent
org.springframework.security.core.session.SessionDestroyedEvent
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
HttpSessionDestroyedEvent
public HttpSessionDestroyedEvent(HttpSession session)
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.