public abstract class AbstractDirectGrantAuthenticator extends Object implements Authenticator, AuthenticatorFactory
REQUIREMENT_CHOICES
Constructor and Description |
---|
AbstractDirectGrantAuthenticator() |
Modifier and Type | Method and Description |
---|---|
void |
action(AuthenticationFlowContext context)
Called from a form action invocation.
|
void |
close()
This is called when the server shuts down.
|
Authenticator |
create(KeycloakSession session) |
javax.ws.rs.core.Response |
errorResponse(int status,
String error,
String errorDescription) |
void |
init(Config.Scope config)
Only called once when the factory is first created.
|
void |
postInit(KeycloakSessionFactory factory)
Called after all provider factories have been initialized
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
areRequiredActionsEnabled, authenticate, configuredFor, getRequiredActions, requiresUser, setRequiredActions
getId, order
getDisplayType, getReferenceCategory, getRequirementChoices, isConfigurable, isUserSetupAllowed
getConfigProperties, getHelpText
public javax.ws.rs.core.Response errorResponse(int status, String error, String errorDescription)
public void action(AuthenticationFlowContext context)
Authenticator
action
in interface Authenticator
public void close()
ProviderFactory
close
in interface Provider
close
in interface ProviderFactory<Authenticator>
public Authenticator create(KeycloakSession session)
create
in interface ProviderFactory<Authenticator>
public void init(Config.Scope config)
ProviderFactory
init
in interface ProviderFactory<Authenticator>
public void postInit(KeycloakSessionFactory factory)
ProviderFactory
postInit
in interface ProviderFactory<Authenticator>
Copyright © 2021 JBoss by Red Hat. All rights reserved.