Class SessionFixationProtectionEvent

    • Field Summary

      • Fields inherited from class java.util.EventObject

        source
    • Constructor Summary

      Constructors 
      Constructor Description
      SessionFixationProtectionEvent​(Authentication authentication, java.lang.String oldSessionId, java.lang.String newSessionId)
      Constructs a new session fixation protection event.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getNewSessionId()
      Getter for the session ID after it was changed.
      java.lang.String getOldSessionId()
      Getter for the session ID before it was changed.
      • 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

      • SessionFixationProtectionEvent

        public SessionFixationProtectionEvent​(Authentication authentication,
                                              java.lang.String oldSessionId,
                                              java.lang.String newSessionId)
        Constructs a new session fixation protection event.
        Parameters:
        authentication - The authentication object
        oldSessionId - The old session ID before it was changed
        newSessionId - The new session ID after it was changed
    • Method Detail

      • getOldSessionId

        public java.lang.String getOldSessionId()
        Getter for the session ID before it was changed.
        Returns:
        the old session ID.
      • getNewSessionId

        public java.lang.String getNewSessionId()
        Getter for the session ID after it was changed.
        Returns:
        the new session ID.