Class AgentIdentityImpl
- java.lang.Object
-
- org.forgerock.openam.forgerockrest.utils.AgentIdentityImpl
-
- All Implemented Interfaces:
AgentIdentity
public class AgentIdentityImpl extends Object implements AgentIdentity
- See Also:
AgentIdentity
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanisAgent(SSOToken token)Establish if an SSOToken belongs to an agent.booleanisSoapSTSAgent(SSOToken token)Establish if an SSOToken belongs to a soap-sts agent.
-
-
-
Method Detail
-
isAgent
public boolean isAgent(SSOToken token)
Description copied from interface:AgentIdentityEstablish if an SSOToken belongs to an agent.- Specified by:
isAgentin interfaceAgentIdentity- 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
public boolean isSoapSTSAgent(SSOToken token)
Description copied from interface:AgentIdentityEstablish if an SSOToken belongs to a soap-sts agent.- Specified by:
isSoapSTSAgentin interfaceAgentIdentity- 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.
-
-