Class ExactPrincipalEvalPredicateFactory.ExactMatchPredicate
java.lang.Object
net.shibboleth.idp.authn.principal.impl.ExactPrincipalEvalPredicateFactory.ExactMatchPredicate
- All Implemented Interfaces:
Predicate<PrincipalSupportingComponent>,PrincipalEvalPredicate
- Enclosing class:
- ExactPrincipalEvalPredicateFactory
private class ExactPrincipalEvalPredicateFactory.ExactMatchPredicate
extends Object
implements PrincipalEvalPredicate
Implementation of an exact-matching predicate.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet thePrincipalobject from the evaluatedPrincipalSupportingComponentthat actually satisfied the predicate, if any.booleantest(PrincipalSupportingComponent input)
-
Field Details
-
principal
The principal object to compare against.
-
-
Constructor Details
-
ExactMatchPredicate
Constructor.- Parameters:
candidate- principal to compare against
-
-
Method Details
-
test
- Specified by:
testin interfacePredicate<PrincipalSupportingComponent>
-
getMatchingPrincipal
Get thePrincipalobject from the evaluatedPrincipalSupportingComponentthat actually satisfied the predicate, if any.- Specified by:
getMatchingPrincipalin interfacePrincipalEvalPredicate- Returns:
- a custom principal, or null
-