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() |
getAuthentication
getTimestamp
getSource, toString
public AuthenticationSwitchUserEvent(org.springframework.security.core.Authentication authentication, org.springframework.security.core.userdetails.UserDetails targetUser)
authentication
- The current Authentication
objecttargetUser
- The target user