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