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:
  • Constructor Details

    • HttpSessionIdChangedEvent

      public HttpSessionIdChangedEvent(jakarta.servlet.http.HttpSession session, String oldSessionId)
  • Method Details

    • getOldSessionId

      public String getOldSessionId()
      Specified by:
      getOldSessionId in class org.springframework.security.core.session.SessionIdChangedEvent
    • getNewSessionId

      public String getNewSessionId()
      Specified by:
      getNewSessionId in class org.springframework.security.core.session.SessionIdChangedEvent