public class SessionFixationProtectionEvent extends AbstractAuthenticationEvent
SessionFixationProtectionStrategy
,
Serialized FormConstructor and Description |
---|
SessionFixationProtectionEvent(Authentication authentication,
java.lang.String oldSessionId,
java.lang.String newSessionId)
Constructs a new session fixation protection event.
|
Modifier and Type | Method and 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.
|
getAuthentication
public SessionFixationProtectionEvent(Authentication authentication, java.lang.String oldSessionId, java.lang.String newSessionId)
authentication
- The authentication objectoldSessionId
- The old session ID before it was changednewSessionId
- The new session ID after it was changed