Class PrincipalEvalPredicateFactoryRegistration
java.lang.Object
net.shibboleth.idp.authn.principal.PrincipalEvalPredicateFactoryRegistration
Wraps the association of a
PrincipalEvalPredicateFactory
against a particular
Principal
subtype and a string operator.
Used to support auto-wiring of factories into a
PrincipalEvalPredicateFactoryRegistry
.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate PrincipalEvalPredicateFactory
Predicate factory.The class and operator pair. -
Constructor Summary
ConstructorsConstructorDescriptionPrincipalEvalPredicateFactoryRegistration
(Pair<Class<? extends Principal>, String> key, PrincipalEvalPredicateFactory value) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionGets the factory for this registration.Gets the type and operator pair for this registration.
-
Field Details
-
typeAndOperator
The class and operator pair. -
predicateFactory
Predicate factory.
-
-
Constructor Details
-
PrincipalEvalPredicateFactoryRegistration
public PrincipalEvalPredicateFactoryRegistration(@Nonnull @ParameterName(name="key") Pair<Class<? extends Principal>, String> key, @Nonnull @ParameterName(name="value") PrincipalEvalPredicateFactory value) Constructor.- Parameters:
key
- type and operatorvalue
- predicate factory
-
-
Method Details
-
getTypeAndOperator
Gets the type and operator pair for this registration.- Returns:
- type and operator pair
-
getPredicateFactory
Gets the factory for this registration.- Returns:
- registration
-