public class RegistrationPage extends Object implements FormAuthenticator, FormAuthenticatorFactory
| Modifier and Type | Field and Description |
|---|---|
static String |
EXECUTION |
static String |
FIELD_EMAIL |
static String |
FIELD_FIRST_NAME |
static String |
FIELD_LAST_NAME |
static String |
FIELD_PASSWORD |
static String |
FIELD_PASSWORD_CONFIRM |
static String |
FIELD_USERNAME |
static String |
PROVIDER_ID |
| Constructor and Description |
|---|
RegistrationPage() |
| Modifier and Type | Method and Description |
|---|---|
void |
close()
This is called when the server shuts down.
|
FormAuthenticator |
create(KeycloakSession session) |
List<ProviderConfigProperty> |
getConfigProperties() |
String |
getDisplayType()
Friendly name for the authenticator
|
String |
getHelpText() |
String |
getId() |
String |
getReferenceCategory()
General authenticator type, i.e.
|
AuthenticationExecutionModel.Requirement[] |
getRequirementChoices()
What requirement settings are allowed.
|
void |
init(Config.Scope config)
Only called once when the factory is first created.
|
boolean |
isConfigurable()
Is this authenticator configurable?
|
boolean |
isUserSetupAllowed()
Does this authenticator have required actions that can set if the user does not have
this authenticator set up?
|
void |
postInit(KeycloakSessionFactory factory)
Called after all provider factories have been initialized
|
javax.ws.rs.core.Response |
render(FormContext context,
LoginFormsProvider form)
Called to render the FormAuthenticator's challenge page.
|
public static final String EXECUTION
public static final String FIELD_PASSWORD_CONFIRM
public static final String FIELD_PASSWORD
public static final String FIELD_EMAIL
public static final String FIELD_USERNAME
public static final String FIELD_LAST_NAME
public static final String FIELD_FIRST_NAME
public static final String PROVIDER_ID
public javax.ws.rs.core.Response render(FormContext context, LoginFormsProvider form)
FormAuthenticatorrender in interface FormAuthenticatorpublic void close()
ProviderFactoryclose in interface Providerclose in interface ProviderFactory<FormAuthenticator>public String getDisplayType()
ConfigurableAuthenticatorFactorygetDisplayType in interface ConfigurableAuthenticatorFactorypublic String getHelpText()
getHelpText in interface ConfiguredProviderpublic List<ProviderConfigProperty> getConfigProperties()
getConfigProperties in interface ConfiguredProviderpublic String getReferenceCategory()
ConfigurableAuthenticatorFactorygetReferenceCategory in interface ConfigurableAuthenticatorFactorypublic boolean isConfigurable()
ConfigurableAuthenticatorFactoryisConfigurable in interface ConfigurableAuthenticatorFactorypublic AuthenticationExecutionModel.Requirement[] getRequirementChoices()
ConfigurableAuthenticatorFactorygetRequirementChoices in interface ConfigurableAuthenticatorFactorypublic FormAuthenticator create(KeycloakSession session)
create in interface ProviderFactory<FormAuthenticator>public void init(Config.Scope config)
ProviderFactoryinit in interface ProviderFactory<FormAuthenticator>public boolean isUserSetupAllowed()
ConfigurableAuthenticatorFactoryisUserSetupAllowed in interface ConfigurableAuthenticatorFactorypublic void postInit(KeycloakSessionFactory factory)
ProviderFactorypostInit in interface ProviderFactory<FormAuthenticator>public String getId()
getId in interface ProviderFactory<FormAuthenticator>Copyright © 2016 JBoss by Red Hat. All rights reserved.