public class SessionFixationProtectionEvent
extends org.springframework.security.authentication.event.AbstractAuthenticationEvent
SessionFixationProtectionStrategy,
Serialized Form| Constructor and Description |
|---|
SessionFixationProtectionEvent(org.springframework.security.core.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.
|
public SessionFixationProtectionEvent(org.springframework.security.core.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