Class InexactPrincipalEvalPredicateFactory.InexactMatchPredicate
java.lang.Object
net.shibboleth.idp.authn.principal.impl.InexactPrincipalEvalPredicateFactory.InexactMatchPredicate
- All Implemented Interfaces:
Predicate<PrincipalSupportingComponent>,PrincipalEvalPredicate
- Enclosing class:
- InexactPrincipalEvalPredicateFactory
private class InexactPrincipalEvalPredicateFactory.InexactMatchPredicate
extends Object
implements PrincipalEvalPredicate
Implementation of an inexact-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. -
theMatch
The principal object that matched.
-
-
Constructor Details
-
InexactMatchPredicate
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
-