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