Class ValidateUsername
- java.lang.Object
-
- org.keycloak.authentication.authenticators.directgrant.AbstractDirectGrantAuthenticator
-
- org.keycloak.authentication.authenticators.directgrant.ValidateUsername
-
- 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 ValidateUsername extends AbstractDirectGrantAuthenticator
- Version:
- $Revision: 1 $
- Author:
- Bill Burke
-
-
Field Summary
Fields Modifier and Type Field Description static String
PROVIDER_ID
static org.keycloak.models.AuthenticationExecutionModel.Requirement[]
REQUIREMENT_CHOICES
-
Constructor Summary
Constructors Constructor Description ValidateUsername()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
authenticate(org.keycloak.authentication.AuthenticationFlowContext context)
boolean
configuredFor(org.keycloak.models.KeycloakSession session, org.keycloak.models.RealmModel realm, org.keycloak.models.UserModel user)
List<org.keycloak.provider.ProviderConfigProperty>
getConfigProperties()
String
getDisplayType()
String
getHelpText()
String
getId()
String
getReferenceCategory()
org.keycloak.models.AuthenticationExecutionModel.Requirement[]
getRequirementChoices()
boolean
isConfigurable()
boolean
isUserSetupAllowed()
boolean
requiresUser()
protected String
retrieveUsername(org.keycloak.authentication.AuthenticationFlowContext context)
void
setRequiredActions(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
-
REQUIREMENT_CHOICES
public static final org.keycloak.models.AuthenticationExecutionModel.Requirement[] REQUIREMENT_CHOICES
-
-
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()
-
retrieveUsername
protected String retrieveUsername(org.keycloak.authentication.AuthenticationFlowContext context)
-
-