Class AuthenticationSwitchUserEvent
java.lang.Object
java.util.EventObject
org.springframework.context.ApplicationEvent
org.springframework.security.authentication.event.AbstractAuthenticationEvent
org.springframework.security.web.authentication.switchuser.AuthenticationSwitchUserEvent
- All Implemented Interfaces:
 Serializable
Application event which indicates that a user context switch.
- See Also:
 
- 
Field Summary
Fields inherited from class java.util.EventObject
source - 
Constructor Summary
ConstructorsConstructorDescriptionAuthenticationSwitchUserEvent(Authentication authentication, UserDetails targetUser) Switch user context event constructor - 
Method Summary
Methods inherited from class org.springframework.security.authentication.event.AbstractAuthenticationEvent
getAuthenticationMethods inherited from class org.springframework.context.ApplicationEvent
getTimestampMethods inherited from class java.util.EventObject
getSource, toString 
- 
Constructor Details
- 
AuthenticationSwitchUserEvent
Switch user context event constructor- Parameters:
 authentication- The currentAuthenticationobjecttargetUser- The target user
 
 - 
 - 
Method Details
- 
getTargetUser
 
 -