public class AuthenticationSwitchUserEvent
extends org.springframework.security.authentication.event.AbstractAuthenticationEvent
source| Constructor and Description |
|---|
AuthenticationSwitchUserEvent(org.springframework.security.core.Authentication authentication,
org.springframework.security.core.userdetails.UserDetails targetUser)
Switch user context event constructor
|
| Modifier and Type | Method and Description |
|---|---|
org.springframework.security.core.userdetails.UserDetails |
getTargetUser() |
getAuthenticationgetTimestampgetSource, toStringpublic AuthenticationSwitchUserEvent(org.springframework.security.core.Authentication authentication,
org.springframework.security.core.userdetails.UserDetails targetUser)
authentication - The current Authentication objecttargetUser - The target user