public class SwitchUserGrantedAuthority extends GrantedAuthorityImpl
GrantedAuthority used by SwitchUserProcessingFilterStores
the Authentication object of the original user to be used later when 'exiting' from a user switch.
SwitchUserProcessingFilter,
Serialized Form| Constructor and Description |
|---|
SwitchUserGrantedAuthority(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, toStringpublic SwitchUserGrantedAuthority(String role, Authentication source)
public Authentication getSource()
Authentication object of the switched user.Copyright © 2021. All rights reserved.