public class ValidatePassword extends AbstractDirectGrantAuthenticator
| Modifier and Type | Field and Description |
|---|---|
static String |
PROVIDER_ID |
REQUIREMENT_CHOICES| Constructor and Description |
|---|
ValidatePassword() |
| Modifier and Type | Method and Description |
|---|---|
void |
authenticate(AuthenticationFlowContext context)
Initial call for the authenticator.
|
boolean |
configuredFor(KeycloakSession session,
RealmModel realm,
UserModel user)
Is this authenticator configured for this user.
|
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.
|
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?
|
boolean |
requiresUser()
Does this authenticator require that the user has already been identified? That AuthenticatorContext.getUser() is not null?
|
protected String |
retrievePassword(AuthenticationFlowContext context) |
void |
setRequiredActions(KeycloakSession session,
RealmModel realm,
UserModel user)
Set actions to configure authenticator
|
action, close, create, errorResponse, init, postInitclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitareRequiredActionsEnabled, getRequiredActionsorderpublic static final String PROVIDER_ID
public void authenticate(AuthenticationFlowContext context)
Authenticatorpublic boolean requiresUser()
Authenticatorpublic boolean configuredFor(KeycloakSession session, RealmModel realm, UserModel user)
Authenticatorpublic void setRequiredActions(KeycloakSession session, RealmModel realm, UserModel user)
Authenticatorpublic boolean isUserSetupAllowed()
ConfigurableAuthenticatorFactorypublic String getDisplayType()
ConfigurableAuthenticatorFactorypublic String getReferenceCategory()
ConfigurableAuthenticatorFactorypublic boolean isConfigurable()
ConfigurableAuthenticatorFactorypublic AuthenticationExecutionModel.Requirement[] getRequirementChoices()
ConfigurableAuthenticatorFactorypublic String getHelpText()
public List<ProviderConfigProperty> getConfigProperties()
public String getId()
protected String retrievePassword(AuthenticationFlowContext context)
Copyright © 2021 JBoss by Red Hat. All rights reserved.