org.springframework.security.event.authentication
Class AuthenticationSwitchUserEvent
java.lang.Object
java.util.EventObject
org.springframework.context.ApplicationEvent
org.springframework.security.event.authentication.AbstractAuthenticationEvent
org.springframework.security.event.authentication.AuthenticationSwitchUserEvent
- All Implemented Interfaces:
- Serializable
public class AuthenticationSwitchUserEvent
- extends AbstractAuthenticationEvent
Application event which indicates that a user context switch.
- Version:
- $Id$
- Author:
- Mark St.Godard
- See Also:
- Serialized Form
AuthenticationSwitchUserEvent
public AuthenticationSwitchUserEvent(Authentication authentication,
UserDetails targetUser)
- Switch user context event constructor
- Parameters:
authentication
- The current Authentication
objecttargetUser
- The target user
getTargetUser
public UserDetails getTargetUser()
Copyright © 2004-2010 SpringSource, Inc. All Rights Reserved.