public final class ConsolePasswordAuthenticator extends ConsoleUsernamePasswordAuthenticator
Modifier and Type | Field and Description |
---|---|
static ConsolePasswordAuthenticator |
SINGLETON |
ATTEMPTED_USERNAME, REGISTRATION_FORM_ACTION
Constructor and Description |
---|
ConsolePasswordAuthenticator() |
Modifier and Type | Method and Description |
---|---|
void |
action(AuthenticationFlowContext context)
Called from a form action invocation.
|
protected ConsoleDisplayMode |
challenge(AuthenticationFlowContext context) |
boolean |
requiresUser()
Does this authenticator require that the user has already been identified? That AuthenticatorContext.getUser() is not null?
|
authenticate, challenge, close, configuredFor, setDuplicateUserChallenge, setRequiredActions
challenge, createLoginForm, disabledByBruteForceError, disabledByBruteForceFieldError, dummyHash, enabledUser, getDefaultChallengeMessage, isDisabledByBruteForce, runDefaultDummyHash, testInvalidUser, validatePassword, validatePassword, validateUser, validateUserAndPassword
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
areRequiredActionsEnabled, getRequiredActions
public static ConsolePasswordAuthenticator SINGLETON
protected ConsoleDisplayMode challenge(AuthenticationFlowContext context)
challenge
in class ConsoleUsernamePasswordAuthenticator
public void action(AuthenticationFlowContext context)
Authenticator
action
in interface Authenticator
action
in class ConsoleUsernamePasswordAuthenticator
public boolean requiresUser()
Authenticator
requiresUser
in interface Authenticator
requiresUser
in class ConsoleUsernamePasswordAuthenticator
Copyright © 2021 JBoss by Red Hat. All rights reserved.