public abstract class AbstractAuthenticationHandler extends java.lang.Object implements AuthenticationHandler
Modifier and Type | Field and Description |
---|---|
protected java.util.function.Predicate<Credential> |
credentialSelectionPredicate
Indicates whether this handler is able to support the credentials passed to
operate on it and validate.
|
protected PrincipalFactory |
principalFactory
Factory to create the principal type.
|
protected ServicesManager |
servicesManager
The services manager instance, as the entry point to the registry.
|
SUCCESSFUL_AUTHENTICATION_HANDLERS
Constructor and Description |
---|
AbstractAuthenticationHandler(java.lang.String name,
ServicesManager servicesManager,
PrincipalFactory principalFactory,
java.lang.Integer order)
Instantiates a new Abstract authentication handler.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
authenticate, getName, getOrder, supports
protected final PrincipalFactory principalFactory
protected final ServicesManager servicesManager
protected java.util.function.Predicate<Credential> credentialSelectionPredicate
public AbstractAuthenticationHandler(java.lang.String name, ServicesManager servicesManager, PrincipalFactory principalFactory, java.lang.Integer order)
name
- Handler name.servicesManager
- the services manager.principalFactory
- the principal factoryorder
- the order