org.acegisecurity.ui.switchuser
public class SwitchUserGrantedAuthority extends GrantedAuthorityImpl
GrantedAuthority
used by SwitchUserProcessingFilter
Stores
the Authentication
object of the original user to be used later when 'exiting' from a user switch.
SwitchUserProcessingFilter
,
Serialized FormConstructor and Description |
---|
SwitchUserGrantedAuthority(java.lang.String role,
Authentication source) |
Modifier and Type | Method and Description |
---|---|
Authentication |
getSource()
Returns the original user associated with a successful user switch.
|
equals, getAuthority, hashCode, toString
public SwitchUserGrantedAuthority(java.lang.String role, Authentication source)
public Authentication getSource()
Authentication
object of the switched user.Copyright © 2004-2014 Interface21, Inc. All Rights Reserved.