Class ValidatePassword
- java.lang.Object
-
- org.keycloak.authentication.authenticators.directgrant.AbstractDirectGrantAuthenticator
-
- org.keycloak.authentication.authenticators.directgrant.ValidatePassword
-
- All Implemented Interfaces:
org.keycloak.authentication.Authenticator,org.keycloak.authentication.AuthenticatorFactory,org.keycloak.authentication.ConfigurableAuthenticatorFactory,org.keycloak.provider.ConfiguredProvider,org.keycloak.provider.Provider,org.keycloak.provider.ProviderFactory<org.keycloak.authentication.Authenticator>
public class ValidatePassword extends AbstractDirectGrantAuthenticator
- Version:
- $Revision: 1 $
- Author:
- Bill Burke
-
-
Field Summary
Fields Modifier and Type Field Description static StringPROVIDER_ID
-
Constructor Summary
Constructors Constructor Description ValidatePassword()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidauthenticate(org.keycloak.authentication.AuthenticationFlowContext context)booleanconfiguredFor(org.keycloak.models.KeycloakSession session, org.keycloak.models.RealmModel realm, org.keycloak.models.UserModel user)List<org.keycloak.provider.ProviderConfigProperty>getConfigProperties()StringgetDisplayType()StringgetHelpText()StringgetId()StringgetReferenceCategory()org.keycloak.models.AuthenticationExecutionModel.Requirement[]getRequirementChoices()booleanisConfigurable()booleanisUserSetupAllowed()booleanrequiresUser()protected StringretrievePassword(org.keycloak.authentication.AuthenticationFlowContext context)voidsetRequiredActions(org.keycloak.models.KeycloakSession session, org.keycloak.models.RealmModel realm, org.keycloak.models.UserModel user)-
Methods inherited from class org.keycloak.authentication.authenticators.directgrant.AbstractDirectGrantAuthenticator
action, close, create, errorResponse, init, postInit
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
-
-
Field Detail
-
PROVIDER_ID
public static final String PROVIDER_ID
- See Also:
- Constant Field Values
-
-
Method Detail
-
authenticate
public void authenticate(org.keycloak.authentication.AuthenticationFlowContext context)
-
requiresUser
public boolean requiresUser()
-
configuredFor
public boolean configuredFor(org.keycloak.models.KeycloakSession session, org.keycloak.models.RealmModel realm, org.keycloak.models.UserModel user)
-
setRequiredActions
public void setRequiredActions(org.keycloak.models.KeycloakSession session, org.keycloak.models.RealmModel realm, org.keycloak.models.UserModel user)
-
isUserSetupAllowed
public boolean isUserSetupAllowed()
-
getDisplayType
public String getDisplayType()
-
getReferenceCategory
public String getReferenceCategory()
-
isConfigurable
public boolean isConfigurable()
-
getRequirementChoices
public org.keycloak.models.AuthenticationExecutionModel.Requirement[] getRequirementChoices()
-
getHelpText
public String getHelpText()
-
getConfigProperties
public List<org.keycloak.provider.ProviderConfigProperty> getConfigProperties()
-
getId
public String getId()
-
retrievePassword
protected String retrievePassword(org.keycloak.authentication.AuthenticationFlowContext context)
-
-