Class HttpSessionIdChangedEvent
- java.lang.Object
 - 
- java.util.EventObject
 - 
- org.springframework.context.ApplicationEvent
 - 
- org.springframework.security.core.session.AbstractSessionEvent
 - 
- org.springframework.security.core.session.SessionIdChangedEvent
 - 
- org.springframework.security.web.session.HttpSessionIdChangedEvent
 
 
 
 
 
 
- 
- All Implemented Interfaces:
 java.io.Serializable
public class HttpSessionIdChangedEvent extends SessionIdChangedEvent
Published by theHttpSessionEventPublisherwhen anHttpSessionID is changed.- Since:
 - 5.4
 - See Also:
 - Serialized Form
 
 
- 
- 
Constructor Summary
Constructors Constructor Description HttpSessionIdChangedEvent(javax.servlet.http.HttpSession session, java.lang.String oldSessionId) 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetNewSessionId()Returns the new session ID.java.lang.StringgetOldSessionId()Returns the old session ID. 
 - 
 
- 
- 
Method Detail
- 
getOldSessionId
public java.lang.String getOldSessionId()
Description copied from class:SessionIdChangedEventReturns the old session ID.- Specified by:
 getOldSessionIdin classSessionIdChangedEvent- Returns:
 - the identifier that was previously associated with the session.
 
 
- 
getNewSessionId
public java.lang.String getNewSessionId()
Description copied from class:SessionIdChangedEventReturns the new session ID.- Specified by:
 getNewSessionIdin classSessionIdChangedEvent- Returns:
 - the new identifier that is associated with the session.
 
 
 - 
 
 -