Class AbstractDirectGrantAuthenticator
- java.lang.Object
- 
- org.keycloak.authentication.authenticators.directgrant.AbstractDirectGrantAuthenticator
 
- 
- All Implemented Interfaces:
- Authenticator,- AuthenticatorFactory,- ConfigurableAuthenticatorFactory,- ConfiguredProvider,- Provider,- ProviderFactory<Authenticator>
 - Direct Known Subclasses:
- ValidateOTP,- ValidatePassword,- ValidateUsername
 
 public abstract class AbstractDirectGrantAuthenticator extends Object implements Authenticator, AuthenticatorFactory - Version:
- $Revision: 1 $
- Author:
- Bill Burke
 
- 
- 
Field Summary- 
Fields inherited from interface org.keycloak.authentication.ConfigurableAuthenticatorFactoryREQUIREMENT_CHOICES
 
- 
 - 
Constructor SummaryConstructors Constructor Description AbstractDirectGrantAuthenticator()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaction(AuthenticationFlowContext context)Called from a form action invocation.voidclose()This is called when the server shuts down.Authenticatorcreate(KeycloakSession session)javax.ws.rs.core.ResponseerrorResponse(int status, String error, String errorDescription)voidinit(Config.Scope config)Only called once when the factory is first created.voidpostInit(KeycloakSessionFactory factory)Called after all provider factories have been initialized- 
Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 - 
Methods inherited from interface org.keycloak.authentication.AuthenticatorareRequiredActionsEnabled, authenticate, configuredFor, getRequiredActions, requiresUser, setRequiredActions
 - 
Methods inherited from interface org.keycloak.authentication.ConfigurableAuthenticatorFactorygetDisplayType, getReferenceCategory, getRequirementChoices, isConfigurable, isUserSetupAllowed
 - 
Methods inherited from interface org.keycloak.provider.ConfiguredProvidergetConfig, getConfigProperties, getHelpText
 - 
Methods inherited from interface org.keycloak.provider.ProviderFactorygetConfigMetadata, getId, order
 
- 
 
- 
- 
- 
Method Detail- 
errorResponsepublic javax.ws.rs.core.Response errorResponse(int status, String error, String errorDescription)
 - 
actionpublic void action(AuthenticationFlowContext context) Description copied from interface:AuthenticatorCalled from a form action invocation.- Specified by:
- actionin interface- Authenticator
 
 - 
closepublic void close() Description copied from interface:ProviderFactoryThis is called when the server shuts down.- Specified by:
- closein interface- Provider
- Specified by:
- closein interface- ProviderFactory<Authenticator>
 
 - 
createpublic Authenticator create(KeycloakSession session) - Specified by:
- createin interface- ProviderFactory<Authenticator>
 
 - 
initpublic void init(Config.Scope config) Description copied from interface:ProviderFactoryOnly called once when the factory is first created. This config is pulled from keycloak_server.json- Specified by:
- initin interface- ProviderFactory<Authenticator>
 
 - 
postInitpublic void postInit(KeycloakSessionFactory factory) Description copied from interface:ProviderFactoryCalled after all provider factories have been initialized- Specified by:
- postInitin interface- ProviderFactory<Authenticator>
 
 
- 
 
-