| org.acegisecurity.ui.switchuser.SwitchUserAuthorityChanger
SwitchUserAuthorityChanger | public interface SwitchUserAuthorityChanger (Code) | | Allows subclasses to modify the
GrantedAuthority list that will be assigned to the principal
when they assume the identity of a different principal.
Configured against the
SwitchUserProcessingFilter .
author: Ben Alex version: $Id$ |
modifyGrantedAuthorities | void modifyGrantedAuthorities(UserDetails targetUser, Authentication currentAuthentication, List authoritiesToBeGranted)(Code) | | Allow subclasses to add or remove authorities that will be granted when in switch user mode.
Parameters: targetUser - the UserDetails representing the identity being switched to Parameters: currentAuthentication - the current Authentication of the principal performing the switching Parameters: authoritiesToBeGranted - all GrantedAuthority instances to be granted to the user,excluding the special "switch user" authority that is used internally (guaranteed never null) |
|
|