Class AbstractSetRequiredActionAuthenticator
java.lang.Object
org.keycloak.authentication.authenticators.resetcred.AbstractSetRequiredActionAuthenticator
- All Implemented Interfaces:
Authenticator,AuthenticatorFactory,ConfigurableAuthenticatorFactory,ConfiguredProvider,Provider,ProviderFactory<Authenticator>
- Direct Known Subclasses:
ResetOTP,ResetPassword
public abstract class AbstractSetRequiredActionAuthenticator
extends Object
implements Authenticator, AuthenticatorFactory
- Version:
- $Revision: 1 $
- Author:
- Bill Burke
-
Field Summary
Fields inherited from interface org.keycloak.authentication.ConfigurableAuthenticatorFactory
REQUIREMENT_CHOICES -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaction(AuthenticationFlowContext context) voidclose()booleanconfiguredFor(KeycloakSession session, RealmModel realm, UserModel user) create(KeycloakSession session) voidinit(Config.Scope config) booleanbooleanvoidpostInit(KeycloakSessionFactory factory) booleanvoidsetRequiredActions(KeycloakSession session, RealmModel realm, UserModel user) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.keycloak.authentication.Authenticator
areRequiredActionsEnabled, authenticate, getRequiredActionsMethods inherited from interface org.keycloak.authentication.ConfigurableAuthenticatorFactory
getDisplayTypeMethods inherited from interface org.keycloak.provider.ConfiguredProvider
getConfig, getHelpTextMethods inherited from interface org.keycloak.provider.ProviderFactory
dependsOn, getConfigMetadata, getId, order
-
Constructor Details
-
AbstractSetRequiredActionAuthenticator
public AbstractSetRequiredActionAuthenticator()
-
-
Method Details
-
action
- Specified by:
actionin interfaceAuthenticator
-
requiresUser
public boolean requiresUser()- Specified by:
requiresUserin interfaceAuthenticator
-
setRequiredActions
- Specified by:
setRequiredActionsin interfaceAuthenticator
-
getReferenceCategory
- Specified by:
getReferenceCategoryin interfaceConfigurableAuthenticatorFactory
-
isConfigurable
public boolean isConfigurable()- Specified by:
isConfigurablein interfaceConfigurableAuthenticatorFactory
-
getRequirementChoices
- Specified by:
getRequirementChoicesin interfaceConfigurableAuthenticatorFactory
-
isUserSetupAllowed
public boolean isUserSetupAllowed()- Specified by:
isUserSetupAllowedin interfaceConfigurableAuthenticatorFactory
-
getConfigProperties
- Specified by:
getConfigPropertiesin interfaceConfiguredProvider
-
close
public void close()- Specified by:
closein interfaceProvider- Specified by:
closein interfaceProviderFactory<Authenticator>
-
create
- Specified by:
createin interfaceProviderFactory<Authenticator>
-
init
- Specified by:
initin interfaceProviderFactory<Authenticator>
-
postInit
- Specified by:
postInitin interfaceProviderFactory<Authenticator>
-
configuredFor
- Specified by:
configuredForin interfaceAuthenticator
-