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:
Serializable
public class HttpSessionIdChangedEvent
extends org.springframework.security.core.session.SessionIdChangedEvent
Published by the
HttpSessionEventPublisher
when an HttpSession
ID is
changed.- Since:
- 5.4
- See Also:
-
Field Summary
Fields inherited from class java.util.EventObject
source
-
Constructor Summary
ConstructorDescriptionHttpSessionIdChangedEvent
(jakarta.servlet.http.HttpSession session, String oldSessionId) -
Method Summary
Methods inherited from class org.springframework.context.ApplicationEvent
getTimestamp
Methods inherited from class java.util.EventObject
getSource, toString
-
Constructor Details
-
HttpSessionIdChangedEvent
-
-
Method Details
-
getOldSessionId
- Specified by:
getOldSessionId
in classorg.springframework.security.core.session.SessionIdChangedEvent
-
getNewSessionId
- Specified by:
getNewSessionId
in classorg.springframework.security.core.session.SessionIdChangedEvent
-