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 thePrincipal
object from the evaluatedPrincipalSupportingComponent
that actually satisfied the predicate, if any.boolean
test
(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:
test
in interfacePredicate<PrincipalSupportingComponent>
-
getMatchingPrincipal
Get thePrincipal
object from the evaluatedPrincipalSupportingComponent
that actually satisfied the predicate, if any.- Specified by:
getMatchingPrincipal
in interfacePrincipalEvalPredicate
- Returns:
- a custom principal, or null
-