Class AbstractUsernameFormAuthenticator
- java.lang.Object
- 
- org.keycloak.authentication.AbstractFormAuthenticator
- 
- org.keycloak.authentication.authenticators.browser.AbstractUsernameFormAuthenticator
 
 
- 
- All Implemented Interfaces:
- Authenticator,- Provider
 - Direct Known Subclasses:
- BasicAuthAuthenticator,- OTPFormAuthenticator,- SpnegoAuthenticator,- UsernamePasswordForm
 
 public abstract class AbstractUsernameFormAuthenticator extends AbstractFormAuthenticator - Version:
- $Revision: 1 $
- Author:
- Bill Burke
 
- 
- 
Field SummaryFields Modifier and Type Field Description static StringATTEMPTED_USERNAMEstatic StringREGISTRATION_FORM_ACTIONprotected static StringUSER_SET_BEFORE_USERNAME_PASSWORD_AUTH
 - 
Constructor SummaryConstructors Constructor Description AbstractUsernameFormAuthenticator()
 - 
Method Summary- 
Methods inherited from class org.keycloak.authentication.AbstractFormAuthenticatorclose
 - 
Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 - 
Methods inherited from interface org.keycloak.authentication.AuthenticatorareRequiredActionsEnabled, authenticate, configuredFor, getRequiredActions, requiresUser, setRequiredActions
 
- 
 
- 
- 
- 
Field Detail- 
REGISTRATION_FORM_ACTIONpublic static final String REGISTRATION_FORM_ACTION - See Also:
- Constant Field Values
 
 - 
ATTEMPTED_USERNAMEpublic static final String ATTEMPTED_USERNAME - See Also:
- Constant Field Values
 
 - 
USER_SET_BEFORE_USERNAME_PASSWORD_AUTHprotected static final String USER_SET_BEFORE_USERNAME_PASSWORD_AUTH - See Also:
- Constant Field Values
 
 
- 
 - 
Method Detail- 
actionpublic void action(AuthenticationFlowContext context) Description copied from interface:AuthenticatorCalled from a form action invocation.
 - 
challengeprotected javax.ws.rs.core.Response challenge(AuthenticationFlowContext context, String error) 
 - 
challengeprotected javax.ws.rs.core.Response challenge(AuthenticationFlowContext context, String error, String field) 
 - 
createLoginFormprotected javax.ws.rs.core.Response createLoginForm(LoginFormsProvider form) 
 - 
disabledByBruteForceErrorprotected String disabledByBruteForceError() 
 - 
disabledByBruteForceFieldErrorprotected String disabledByBruteForceFieldError() 
 - 
setDuplicateUserChallengeprotected javax.ws.rs.core.Response setDuplicateUserChallenge(AuthenticationFlowContext context, String eventError, String loginFormError, AuthenticationFlowError authenticatorError) 
 - 
runDefaultDummyHashprotected void runDefaultDummyHash(AuthenticationFlowContext context) 
 - 
dummyHashprotected void dummyHash(AuthenticationFlowContext context) 
 - 
testInvalidUserpublic void testInvalidUser(AuthenticationFlowContext context, UserModel user) 
 - 
enabledUserpublic boolean enabledUser(AuthenticationFlowContext context, UserModel user) 
 - 
validateUserAndPasswordpublic boolean validateUserAndPassword(AuthenticationFlowContext context, javax.ws.rs.core.MultivaluedMap<String,String> inputData) 
 - 
validateUserpublic boolean validateUser(AuthenticationFlowContext context, javax.ws.rs.core.MultivaluedMap<String,String> inputData) 
 - 
validatePasswordpublic boolean validatePassword(AuthenticationFlowContext context, UserModel user, javax.ws.rs.core.MultivaluedMap<String,String> inputData, boolean clearUser) 
 - 
isDisabledByBruteForceprotected boolean isDisabledByBruteForce(AuthenticationFlowContext context, UserModel user) 
 - 
getDefaultChallengeMessageprotected String getDefaultChallengeMessage(AuthenticationFlowContext context) 
 - 
isUserAlreadySetBeforeUsernamePasswordAuthprotected boolean isUserAlreadySetBeforeUsernamePasswordAuth(AuthenticationFlowContext context) 
 
- 
 
-