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 class
Implementation of an exact-matching predicate. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetPredicate
(Principal candidate) Get a predicate to compare a candidatePrincipal
object against aPrincipalSupportingComponent
for 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 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
-