Class SessionFixationProtectionEvent
java.lang.Object
java.util.EventObject
org.springframework.context.ApplicationEvent
org.springframework.security.authentication.event.AbstractAuthenticationEvent
org.springframework.security.web.authentication.session.SessionFixationProtectionEvent
- All Implemented Interfaces:
- Serializable
Indicates a session ID was changed for the purposes of session fixation protection.
- Since:
- 3.2
- See Also:
- 
Field SummaryFields inherited from class java.util.EventObjectsource
- 
Constructor SummaryConstructorsConstructorDescriptionSessionFixationProtectionEvent(Authentication authentication, String oldSessionId, String newSessionId) Constructs a new session fixation protection event.
- 
Method SummaryModifier and TypeMethodDescriptionGetter for the session ID after it was changed.Getter for the session ID before it was changed.Methods inherited from class org.springframework.security.authentication.event.AbstractAuthenticationEventgetAuthenticationMethods inherited from class org.springframework.context.ApplicationEventgetTimestampMethods inherited from class java.util.EventObjectgetSource, toString
- 
Constructor Details- 
SessionFixationProtectionEventpublic SessionFixationProtectionEvent(Authentication authentication, String oldSessionId, 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 Details- 
getOldSessionIdGetter for the session ID before it was changed.- Returns:
- the old session ID.
 
- 
getNewSessionIdGetter for the session ID after it was changed.- Returns:
- the new session ID.
 
 
-