Class ValidRelayStateExtractor.SAMLEntityInfo
- java.lang.Object
-
- org.forgerock.openam.saml2.plugins.ValidRelayStateExtractor.SAMLEntityInfo
-
- Enclosing class:
- ValidRelayStateExtractor
public static final class ValidRelayStateExtractor.SAMLEntityInfo extends Object
A domain object that helps to uniquely identify a given SAML entity in the configuration.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ValidRelayStateExtractor.SAMLEntityInfofrom(String realm, String entityID, String role)Creates a new SAMLEntityInfo object based on the provided details.StringgetEntityID()The entity ID of the hosted entity.StringgetRealm()The realm the hosted entity belongs to.StringgetRole()The role the hosted entity is acting in, which decides whoserelayStateUrlListapplies.StringtoString()
-
-
-
Method Detail
-
from
public static ValidRelayStateExtractor.SAMLEntityInfo from(String realm, String entityID, String role)
Creates a new SAMLEntityInfo object based on the provided details.- Parameters:
realm- The realm where the hosted entity belongs to.entityID- The entity ID of the hosted entity.role- The role of the hosted entity (e.g. SPRole or IDPRole).- Returns:
- The SAMLEntityInfo object corresponding to the provided details.
-
getRealm
public String getRealm()
The realm the hosted entity belongs to.- Returns:
- The realm.
-
getEntityID
public String getEntityID()
The entity ID of the hosted entity.- Returns:
- The entity ID.
-
getRole
public String getRole()
The role the hosted entity is acting in, which decides whoserelayStateUrlListapplies.- Returns:
- The role,
SAML2Constants.SP_ROLEorSAML2Constants.IDP_ROLE.
-
-