Interface AgentIdentity

  • All Known Implementing Classes:
    AgentIdentityImpl

    public interface AgentIdentity
    Interface defining utility functionality to identify if a SSOToken corresponds to an authenticated Agent.
    Since:
    13.0.0
    • Method Detail

      • isAgent

        boolean isAgent​(SSOToken token)
        Establish if an SSOToken belongs to an agent.
        Parameters:
        token - The SSOToken instance corresponding to an authenticated caller.
        Returns:
        true if the SSOToken corresponds to an authenticated agent. False is returned if this is not the case, or if an exception is thrown in the process of making the determination.
      • isSoapSTSAgent

        boolean isSoapSTSAgent​(SSOToken token)
        Establish if an SSOToken belongs to a soap-sts agent.
        Parameters:
        token - The SSOToken instance corresponding to an authenticated caller.
        Returns:
        true if the SSOToken corresponds to an authenticated soap-sts agent. False is returned if this is not the case, or if an exception is thrown in the process of making the determination.