Class ValidWReplyExtractor.WSFederationEntityInfo
- java.lang.Object
-
- com.sun.identity.wsfederation.plugins.whitelist.ValidWReplyExtractor.WSFederationEntityInfo
-
- Enclosing class:
- ValidWReplyExtractor
public static final class ValidWReplyExtractor.WSFederationEntityInfo extends Object
A domain object that helps to uniquely identify a given WS federation entity in the configuration.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ValidWReplyExtractor.WSFederationEntityInfofrom(String realm, String entityID, String role)Creates a new WSFederationEntityInfo 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 whosewreplyListapplies.StringtoString()
-
-
-
Method Detail
-
from
public static ValidWReplyExtractor.WSFederationEntityInfo from(String realm, String entityID, String role)
Creates a new WSFederationEntityInfo 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 WSFederationEntityInfo 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 whosewreplyListapplies.- Returns:
- The role,
SAML2Constants.SP_ROLEorSAML2Constants.IDP_ROLE.
-
-