Class SecretQuestionAuthenticatorFactory
- java.lang.Object
-
- org.keycloak.examples.authenticator.SecretQuestionAuthenticatorFactory
-
- All Implemented Interfaces:
AuthenticatorFactory,ConfigurableAuthenticatorFactory,ConfiguredProvider,ProviderFactory<Authenticator>
public class SecretQuestionAuthenticatorFactory extends Object implements AuthenticatorFactory, ConfigurableAuthenticatorFactory
- Version:
- $Revision: 1 $
- Author:
- Bill Burke
-
-
Field Summary
Fields Modifier and Type Field Description static StringPROVIDER_ID
-
Constructor Summary
Constructors Constructor Description SecretQuestionAuthenticatorFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()Authenticatorcreate(KeycloakSession session)List<ProviderConfigProperty>getConfigProperties()StringgetDisplayType()StringgetHelpText()StringgetId()StringgetReferenceCategory()AuthenticationExecutionModel.Requirement[]getRequirementChoices()voidinit(Config.Scope config)booleanisConfigurable()booleanisUserSetupAllowed()voidpostInit(KeycloakSessionFactory factory)-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.keycloak.provider.ProviderFactory
order
-
-
-
-
Field Detail
-
PROVIDER_ID
public static final String PROVIDER_ID
- See Also:
- Constant Field Values
-
-
Method Detail
-
getId
public String getId()
- Specified by:
getIdin interfaceProviderFactory<Authenticator>
-
create
public Authenticator create(KeycloakSession session)
- Specified by:
createin interfaceProviderFactory<Authenticator>
-
getRequirementChoices
public AuthenticationExecutionModel.Requirement[] getRequirementChoices()
- Specified by:
getRequirementChoicesin interfaceConfigurableAuthenticatorFactory
-
isUserSetupAllowed
public boolean isUserSetupAllowed()
- Specified by:
isUserSetupAllowedin interfaceConfigurableAuthenticatorFactory
-
isConfigurable
public boolean isConfigurable()
- Specified by:
isConfigurablein interfaceConfigurableAuthenticatorFactory
-
getConfigProperties
public List<ProviderConfigProperty> getConfigProperties()
- Specified by:
getConfigPropertiesin interfaceConfiguredProvider
-
getHelpText
public String getHelpText()
- Specified by:
getHelpTextin interfaceConfiguredProvider
-
getDisplayType
public String getDisplayType()
- Specified by:
getDisplayTypein interfaceConfigurableAuthenticatorFactory
-
getReferenceCategory
public String getReferenceCategory()
- Specified by:
getReferenceCategoryin interfaceConfigurableAuthenticatorFactory
-
init
public void init(Config.Scope config)
- Specified by:
initin interfaceProviderFactory<Authenticator>
-
postInit
public void postInit(KeycloakSessionFactory factory)
- Specified by:
postInitin interfaceProviderFactory<Authenticator>
-
close
public void close()
- Specified by:
closein interfaceProviderFactory<Authenticator>
-
-