Interface AssistedServiceAgentAuthoritiesManager

All Known Implementing Classes:
DefaultAssistedServiceAgentAuthoritiesManager

public interface AssistedServiceAgentAuthoritiesManager
Handles asagent roles, to enable changing authorities dynamically.
  • Method Details

    • addCustomerAuthoritiesToAgent

      void addCustomerAuthoritiesToAgent(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.