Class SessionIdChangedEvent
- java.lang.Object
-
- java.util.EventObject
-
- org.springframework.context.ApplicationEvent
-
- org.springframework.security.core.session.AbstractSessionEvent
-
- org.springframework.security.core.session.SessionIdChangedEvent
-
- All Implemented Interfaces:
java.io.Serializable
- Direct Known Subclasses:
HttpSessionIdChangedEvent
public abstract class SessionIdChangedEvent extends AbstractSessionEvent
Generic "session ID changed" event which indicates that a session identifier (potentially represented by a security context) has changed.- Since:
- 5.4
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description SessionIdChangedEvent(java.lang.Object source)
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description abstract java.lang.String
getNewSessionId()
Returns the new session ID.abstract java.lang.String
getOldSessionId()
Returns the old session ID.
-
-
-
Method Detail
-
getOldSessionId
public abstract java.lang.String getOldSessionId()
Returns the old session ID.- Returns:
- the identifier that was previously associated with the session.
-
getNewSessionId
public abstract java.lang.String getNewSessionId()
Returns the new session ID.- Returns:
- the new identifier that is associated with the session.
-
-