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:
Serializable
- Direct Known Subclasses:
HttpSessionIdChangedEvent
Generic "session ID changed" event which indicates that a session identifier
(potentially represented by a security context) has changed.
- Since:
- 5.4
- See Also:
-
Field Summary
Fields inherited from class java.util.EventObject
source
-
Constructor Summary
-
Method Summary
Methods inherited from class org.springframework.context.ApplicationEvent
getTimestamp
Methods inherited from class java.util.EventObject
getSource, toString
-
Constructor Details
-
SessionIdChangedEvent
-
-
Method Details
-
getOldSessionId
Returns the old session ID.- Returns:
- the identifier that was previously associated with the session.
-
getNewSessionId
Returns the new session ID.- Returns:
- the new identifier that is associated with the session.
-