Class ExactPrincipalEvalPredicateFactory
- java.lang.Object
-
- net.shibboleth.idp.authn.principal.impl.ExactPrincipalEvalPredicateFactory
-
- All Implemented Interfaces:
PrincipalEvalPredicateFactory
public class ExactPrincipalEvalPredicateFactory extends Object implements PrincipalEvalPredicateFactory
PrincipalEvalPredicateFactory
that implements exact matching of principals, and works for any type.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description private class
ExactPrincipalEvalPredicateFactory.ExactMatchPredicate
Implementation of an exact-matching predicate.
-
Constructor Summary
Constructors Constructor Description ExactPrincipalEvalPredicateFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PrincipalEvalPredicate
getPredicate(Principal candidate)
Get a predicate to compare a candidatePrincipal
object against aPrincipalSupportingComponent
for a "match", where the definition of a match is implementation-specific.
-
-
-
Method Detail
-
getPredicate
@Nonnull public PrincipalEvalPredicate getPredicate(@Nonnull Principal candidate)
Get a predicate to compare a candidatePrincipal
object against aPrincipalSupportingComponent
for a "match", where the definition of a match is implementation-specific.- Specified by:
getPredicate
in interfacePrincipalEvalPredicateFactory
- Parameters:
candidate
- aPrincipal
object to evaluate- Returns:
- a
PrincipalEvalPredicate
implementing custom matching rules
-
-