public class ValidateUsername extends AbstractDirectGrantAuthenticator
Modifier and Type | Field and Description |
---|---|
static String |
PROVIDER_ID |
static AuthenticationExecutionModel.Requirement[] |
REQUIREMENT_CHOICES |
Constructor and Description |
---|
ValidateUsername() |
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 |
retrieveUsername(AuthenticationFlowContext context) |
void |
setRequiredActions(KeycloakSession session,
RealmModel realm,
UserModel user)
Set actions to configure authenticator
|
action, close, create, errorResponse, init, postInit
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
areRequiredActionsEnabled, getRequiredActions
order
public static final String PROVIDER_ID
public static final AuthenticationExecutionModel.Requirement[] REQUIREMENT_CHOICES
public void authenticate(AuthenticationFlowContext context)
Authenticator
public boolean requiresUser()
Authenticator
public boolean configuredFor(KeycloakSession session, RealmModel realm, UserModel user)
Authenticator
public void setRequiredActions(KeycloakSession session, RealmModel realm, UserModel user)
Authenticator
public boolean isUserSetupAllowed()
ConfigurableAuthenticatorFactory
public String getDisplayType()
ConfigurableAuthenticatorFactory
public String getReferenceCategory()
ConfigurableAuthenticatorFactory
public boolean isConfigurable()
ConfigurableAuthenticatorFactory
public AuthenticationExecutionModel.Requirement[] getRequirementChoices()
ConfigurableAuthenticatorFactory
public String getHelpText()
public List<ProviderConfigProperty> getConfigProperties()
public String getId()
protected String retrieveUsername(AuthenticationFlowContext context)
Copyright © 2021 JBoss by Red Hat. All rights reserved.