Class HttpSessionIdChangedEvent

  • All Implemented Interfaces:
    java.io.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:
    Serialized Form
    • Field Summary

      • Fields inherited from class java.util.EventObject

        source
    • 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.String getNewSessionId()  
      java.lang.String getOldSessionId()  
      • Methods inherited from class org.springframework.context.ApplicationEvent

        getTimestamp
      • Methods inherited from class java.util.EventObject

        getSource, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • HttpSessionIdChangedEvent

        public HttpSessionIdChangedEvent​(javax.servlet.http.HttpSession session,
                                         java.lang.String oldSessionId)
    • Method Detail

      • getOldSessionId

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

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