public class PasswordForm extends UsernamePasswordForm implements CredentialValidator<PasswordCredentialProvider>
logATTEMPTED_USERNAME, REGISTRATION_FORM_ACTION| Constructor and Description |
|---|
PasswordForm() |
| Modifier and Type | Method and Description |
|---|---|
void |
authenticate(AuthenticationFlowContext context) |
boolean |
configuredFor(KeycloakSession session,
RealmModel realm,
UserModel user) |
protected javax.ws.rs.core.Response |
createLoginForm(LoginFormsProvider form) |
PasswordCredentialProvider |
getCredentialProvider(KeycloakSession session) |
protected String |
getDefaultChallengeMessage(AuthenticationFlowContext context) |
boolean |
requiresUser() |
protected boolean |
validateForm(AuthenticationFlowContext context,
javax.ws.rs.core.MultivaluedMap<String,String> formData) |
action, challenge, close, setRequiredActionschallenge, dummyHash, enabledUser, isTemporarilyDisabledByBruteForce, runDefaultDummyHash, setDuplicateUserChallenge, tempDisabledError, testInvalidUser, validatePassword, validatePassword, validateUser, validateUserAndPasswordclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetCredentials, getTypeareRequiredActionsEnabled, getRequiredActionsprotected boolean validateForm(AuthenticationFlowContext context, javax.ws.rs.core.MultivaluedMap<String,String> formData)
validateForm in class UsernamePasswordFormpublic void authenticate(AuthenticationFlowContext context)
authenticate in interface Authenticatorauthenticate in class UsernamePasswordFormpublic boolean configuredFor(KeycloakSession session, RealmModel realm, UserModel user)
configuredFor in interface AuthenticatorconfiguredFor in class UsernamePasswordFormpublic boolean requiresUser()
requiresUser in interface AuthenticatorrequiresUser in class UsernamePasswordFormprotected javax.ws.rs.core.Response createLoginForm(LoginFormsProvider form)
createLoginForm in class AbstractUsernameFormAuthenticatorprotected String getDefaultChallengeMessage(AuthenticationFlowContext context)
getDefaultChallengeMessage in class AbstractUsernameFormAuthenticatorpublic PasswordCredentialProvider getCredentialProvider(KeycloakSession session)
getCredentialProvider in interface CredentialValidator<PasswordCredentialProvider>Copyright © 2020 JBoss by Red Hat. All rights reserved.