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 ClassesModifier and TypeClassDescriptionprivate classImplementation of an exact-matching predicate. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetPredicate(Principal candidate) Get a predicate to compare a candidatePrincipalobject against aPrincipalSupportingComponentfor a "match", where the definition of a match is implementation-specific.
-
Constructor Details
-
ExactPrincipalEvalPredicateFactory
public ExactPrincipalEvalPredicateFactory()
-
-
Method Details
-
getPredicate
Get a predicate to compare a candidatePrincipalobject against aPrincipalSupportingComponentfor a "match", where the definition of a match is implementation-specific.- Specified by:
getPredicatein interfacePrincipalEvalPredicateFactory- Parameters:
candidate- aPrincipalobject to evaluate- Returns:
- a
PrincipalEvalPredicateimplementing custom matching rules
-