Class EntityIDConstraint
java.lang.Object
com.nimbusds.openid.connect.sdk.federation.trust.constraints.EntityIDConstraint
- Direct Known Subclasses:
ExactMatchEntityIDConstraint
,SubtreeEntityIDConstraint
Entity ID constraint.
Related specifications:
- OpenID Connect Federation 1.0, section 5.2.2.
- RFC 5280, section 4.2.1.10.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
EntityIDConstraint
public EntityIDConstraint()
-
-
Method Details
-
matches
Matches an entity ID with this constraint.- Parameters:
entityID
- The entity ID to match. Must not benull
.- Returns:
true
if this constraint matches the specified entity ID, elsefalse
.
-
toString
-
equals
-
parse
Parses an entity ID constraint.- Parameters:
value
- The string value.- Returns:
- The parsed
ExactMatchEntityIDConstraint
orSubtreeEntityIDConstraint
. - Throws:
ParseException
- If parsing failed.
-