Interface AssistedServiceAgentAuthoritiesManager
-
- All Known Implementing Classes:
DefaultAssistedServiceAgentAuthoritiesManager
public interface AssistedServiceAgentAuthoritiesManagerHandles asagent roles, to enable changing authorities dynamically.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidaddCustomerAuthoritiesToAgent(java.lang.String customerId)Add authorities (roles) from a customer to the current agent.voidrestoreInitialAuthorities()Restore agent initial authorities.
-
-
-
Method Detail
-
addCustomerAuthoritiesToAgent
void addCustomerAuthoritiesToAgent(java.lang.String customerId)
Add authorities (roles) from a customer to the current agent. It also adds the initial agent authorities to the session, so it can be restored later.- Parameters:
customerId- The id of the user the roles will be merged to the agent.
-
restoreInitialAuthorities
void restoreInitialAuthorities()
Restore agent initial authorities.
-
-