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() |
getAuthentication
getTimestamp
getSource, toString
public AuthenticationSwitchUserEvent(Authentication authentication, UserDetails targetUser)
authentication
- The current Authentication
objecttargetUser
- The target userpublic UserDetails getTargetUser()