public class UsernamePasswordForm extends AbstractUsernameFormAuthenticator implements Authenticator, CredentialValidator<PasswordCredentialProvider>
| Modifier and Type | Field and Description |
|---|---|
protected static ServicesLogger |
log |
ATTEMPTED_USERNAME, REGISTRATION_FORM_ACTION| Constructor and Description |
|---|
UsernamePasswordForm() |
| Modifier and Type | Method and Description |
|---|---|
void |
action(AuthenticationFlowContext context) |
void |
authenticate(AuthenticationFlowContext context) |
protected javax.ws.rs.core.Response |
challenge(AuthenticationFlowContext context,
javax.ws.rs.core.MultivaluedMap<String,String> formData) |
void |
close() |
boolean |
configuredFor(KeycloakSession session,
RealmModel realm,
UserModel user) |
PasswordCredentialProvider |
getCredentialProvider(KeycloakSession session) |
boolean |
requiresUser() |
void |
setRequiredActions(KeycloakSession session,
RealmModel realm,
UserModel user) |
protected boolean |
validateForm(AuthenticationFlowContext context,
javax.ws.rs.core.MultivaluedMap<String,String> formData) |
challenge, createLoginForm, dummyHash, enabledUser, isTemporarilyDisabledByBruteForce, runDefaultDummyHash, setDuplicateUserChallenge, tempDisabledError, testInvalidUser, validatePassword, validatePassword, validateUser, validateUserAndPasswordclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitareRequiredActionsEnabled, getRequiredActionsgetCredentials, getTypeprotected static ServicesLogger log
public void action(AuthenticationFlowContext context)
action in interface Authenticatoraction in class AbstractUsernameFormAuthenticatorprotected boolean validateForm(AuthenticationFlowContext context, javax.ws.rs.core.MultivaluedMap<String,String> formData)
public void authenticate(AuthenticationFlowContext context)
authenticate in interface Authenticatorpublic boolean requiresUser()
requiresUser in interface Authenticatorprotected javax.ws.rs.core.Response challenge(AuthenticationFlowContext context, javax.ws.rs.core.MultivaluedMap<String,String> formData)
public boolean configuredFor(KeycloakSession session, RealmModel realm, UserModel user)
configuredFor in interface Authenticatorpublic void setRequiredActions(KeycloakSession session, RealmModel realm, UserModel user)
setRequiredActions in interface Authenticatorpublic void close()
close in interface Providerclose in class AbstractFormAuthenticatorpublic PasswordCredentialProvider getCredentialProvider(KeycloakSession session)
getCredentialProvider in interface CredentialValidator<PasswordCredentialProvider>Copyright © 2019 JBoss by Red Hat. All rights reserved.