public class ConsoleOTPFormAuthenticator extends OTPFormAuthenticator implements Authenticator
Modifier and Type | Field and Description |
---|---|
static ConsoleOTPFormAuthenticator |
SINGLETON |
SELECTED_OTP_CREDENTIAL_ID, UNNAMED
ATTEMPTED_USERNAME, REGISTRATION_FORM_ACTION
Constructor and Description |
---|
ConsoleOTPFormAuthenticator() |
Modifier and Type | Method and Description |
---|---|
void |
action(AuthenticationFlowContext context)
Called from a form action invocation.
|
void |
authenticate(AuthenticationFlowContext context)
Initial call for the authenticator.
|
protected ConsoleDisplayMode |
challenge(AuthenticationFlowContext context) |
protected javax.ws.rs.core.Response |
challenge(AuthenticationFlowContext context,
String msg) |
void |
close() |
static URI |
getCallbackUrl(AuthenticationFlowContext context) |
configuredFor, createLoginForm, getCredentialProvider, getRequiredActions, requiresUser, setRequiredActions, tempDisabledError, validateOTP
dummyHash, enabledUser, getDefaultChallengeMessage, isTemporarilyDisabledByBruteForce, runDefaultDummyHash, setDuplicateUserChallenge, testInvalidUser, validatePassword, validatePassword, validateUser, validateUserAndPassword
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
areRequiredActionsEnabled, configuredFor, getRequiredActions, requiresUser, setRequiredActions
getCredentials, getType
public static final ConsoleOTPFormAuthenticator SINGLETON
public static URI getCallbackUrl(AuthenticationFlowContext context)
protected ConsoleDisplayMode challenge(AuthenticationFlowContext context)
public void action(AuthenticationFlowContext context)
Authenticator
action
in interface Authenticator
action
in class OTPFormAuthenticator
public void authenticate(AuthenticationFlowContext context)
Authenticator
authenticate
in interface Authenticator
authenticate
in class OTPFormAuthenticator
protected javax.ws.rs.core.Response challenge(AuthenticationFlowContext context, String msg)
challenge
in class AbstractUsernameFormAuthenticator
public void close()
close
in interface Provider
close
in class OTPFormAuthenticator
Copyright © 2020 JBoss by Red Hat. All rights reserved.