Class SubtreeEntityIDConstraint
java.lang.Object
com.nimbusds.openid.connect.sdk.federation.trust.constraints.EntityIDConstraint
com.nimbusds.openid.connect.sdk.federation.trust.constraints.SubtreeEntityIDConstraint
Subtree entity ID constraint.
Example: https://.example.com
matches
https://my.example.com
, https://my.host.example.com
, etc.
Related specifications:
- OpenID Connect Federation 1.0, section 5.2.2.
- RFC 5280, section 4.2.1.10.
-
Constructor Summary
ConstructorsConstructorDescriptionSubtreeEntityIDConstraint
(String entityIDPattern) Creates a new subtree entity ID constraint. -
Method Summary
Methods inherited from class com.nimbusds.openid.connect.sdk.federation.trust.constraints.EntityIDConstraint
parse
-
Constructor Details
-
SubtreeEntityIDConstraint
Creates a new subtree entity ID constraint.- Parameters:
entityIDPattern
- The entity ID pattern to match. Must not benull
.
-
-
Method Details
-
matches
Description copied from class:EntityIDConstraint
Matches an entity ID with this constraint.- Specified by:
matches
in classEntityIDConstraint
- Parameters:
entityID
- The entity ID to match. Must not benull
.- Returns:
true
if this constraint matches the specified entity ID, elsefalse
.
-
toString
- Specified by:
toString
in classEntityIDConstraint
-
equals
- Specified by:
equals
in classEntityIDConstraint
-
hashCode
-