Package org.apereo.cas.authentication
Class AbstractAuthenticationHandler
- java.lang.Object
-
- org.apereo.cas.authentication.AbstractAuthenticationHandler
-
- All Implemented Interfaces:
org.apereo.cas.authentication.AuthenticationHandler,org.springframework.core.Ordered
- Direct Known Subclasses:
AbstractPreAndPostProcessingAuthenticationHandler,HttpBasedServiceCredentialsAuthenticationHandler
public abstract class AbstractAuthenticationHandler extends java.lang.Object implements org.apereo.cas.authentication.AuthenticationHandlerBase class for all authentication handlers that support configurable naming.- Since:
- 4.0.0
-
-
Field Summary
Fields Modifier and Type Field Description protected java.util.function.Predicate<org.apereo.cas.authentication.Credential>credentialSelectionPredicateIndicates whether this handler is able to support the credentials passed to operate on it and validate.protected org.apereo.cas.authentication.principal.PrincipalFactoryprincipalFactoryFactory to create the principal type.protected org.apereo.cas.services.ServicesManagerservicesManagerThe services manager instance, as the entry point to the registry.
-
Constructor Summary
Constructors Constructor Description AbstractAuthenticationHandler(java.lang.String name, org.apereo.cas.services.ServicesManager servicesManager, org.apereo.cas.authentication.principal.PrincipalFactory principalFactory, java.lang.Integer order)Instantiates a new Abstract authentication handler.
-
-
-
Field Detail
-
principalFactory
protected final org.apereo.cas.authentication.principal.PrincipalFactory principalFactory
Factory to create the principal type.
-
servicesManager
protected final org.apereo.cas.services.ServicesManager servicesManager
The services manager instance, as the entry point to the registry.
-
credentialSelectionPredicate
protected java.util.function.Predicate<org.apereo.cas.authentication.Credential> credentialSelectionPredicate
Indicates whether this handler is able to support the credentials passed to operate on it and validate. Default is true.
-
-
Constructor Detail
-
AbstractAuthenticationHandler
public AbstractAuthenticationHandler(java.lang.String name, org.apereo.cas.services.ServicesManager servicesManager, org.apereo.cas.authentication.principal.PrincipalFactory principalFactory, java.lang.Integer order)Instantiates a new Abstract authentication handler.- Parameters:
name- Handler name.servicesManager- the services manager.principalFactory- the principal factoryorder- the order
-
-