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.
-
-
Constructor Summary
Constructors Constructor Description ExactMatchPredicate(Principal candidate)Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PrincipalgetMatchingPrincipal()booleantest(PrincipalSupportingComponent input)
-
-
-
Field Detail
-
principal
@Nonnull private final Principal principal
The principal object to compare against.
-
-
Constructor Detail
-
ExactMatchPredicate
public ExactMatchPredicate(@Nonnull Principal candidate)Constructor.- Parameters:
candidate- principal to compare against
-
-
Method Detail
-
test
public boolean test(@Nullable PrincipalSupportingComponent input)- Specified by:
testin interfacePredicate<PrincipalSupportingComponent>
-
getMatchingPrincipal
@Nullable public Principal getMatchingPrincipal()
- Specified by:
getMatchingPrincipalin interfacePrincipalEvalPredicate
-
-