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:
- java.io.Serializable
 
 public class SessionFixationProtectionEvent extends AbstractAuthenticationEvent Indicates a session ID was changed for the purposes of session fixation protection.- Since:
- 3.2
- See Also:
- SessionFixationProtectionStrategy, Serialized Form
 
- 
- 
Constructor SummaryConstructors Constructor Description SessionFixationProtectionEvent(Authentication authentication, java.lang.String oldSessionId, java.lang.String newSessionId)Constructs a new session fixation protection event.
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetNewSessionId()Getter for the session ID after it was changed.java.lang.StringgetOldSessionId()Getter for the session ID before it was changed.- 
Methods inherited from class org.springframework.security.authentication.event.AbstractAuthenticationEventgetAuthentication
 
- 
 
- 
- 
- 
Constructor Detail- 
SessionFixationProtectionEventpublic 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
 
 
- 
 
-