public class ConsoleUsernamePasswordAuthenticator extends AbstractUsernameFormAuthenticator implements Authenticator
| Modifier and Type | Field and Description |
|---|---|
static ConsoleUsernamePasswordAuthenticator |
SINGLETON |
ATTEMPTED_USERNAME, REGISTRATION_FORM_ACTION| Constructor and Description |
|---|
ConsoleUsernamePasswordAuthenticator() |
| Modifier and Type | Method and Description |
|---|---|
void |
action(AuthenticationFlowContext context) |
void |
authenticate(AuthenticationFlowContext context) |
protected ConsoleDisplayMode |
challenge(AuthenticationFlowContext context) |
void |
close() |
boolean |
configuredFor(KeycloakSession session,
RealmModel realm,
UserModel user) |
protected javax.ws.rs.core.Response |
disabledUser(AuthenticationFlowContext context) |
protected javax.ws.rs.core.Response |
invalidCredentials(AuthenticationFlowContext context) |
protected javax.ws.rs.core.Response |
invalidUser(AuthenticationFlowContext context) |
boolean |
requiresUser() |
protected javax.ws.rs.core.Response |
setDuplicateUserChallenge(AuthenticationFlowContext context,
String eventError,
String loginFormError,
AuthenticationFlowError authenticatorError) |
void |
setRequiredActions(KeycloakSession session,
RealmModel realm,
UserModel user) |
protected javax.ws.rs.core.Response |
temporarilyDisabledUser(AuthenticationFlowContext context) |
dummyHash, enabledUser, invalidUser, runDefaultDummyHash, validatePassword, validateUserAndPasswordpublic static final ConsoleUsernamePasswordAuthenticator SINGLETON
public ConsoleUsernamePasswordAuthenticator()
public boolean requiresUser()
requiresUser in interface Authenticatorprotected ConsoleDisplayMode challenge(AuthenticationFlowContext context)
public void authenticate(AuthenticationFlowContext context)
authenticate in interface Authenticatorprotected javax.ws.rs.core.Response invalidUser(AuthenticationFlowContext context)
invalidUser in class AbstractUsernameFormAuthenticatorprotected javax.ws.rs.core.Response disabledUser(AuthenticationFlowContext context)
disabledUser in class AbstractUsernameFormAuthenticatorprotected javax.ws.rs.core.Response temporarilyDisabledUser(AuthenticationFlowContext context)
temporarilyDisabledUser in class AbstractUsernameFormAuthenticatorprotected javax.ws.rs.core.Response invalidCredentials(AuthenticationFlowContext context)
invalidCredentials in class AbstractUsernameFormAuthenticatorprotected javax.ws.rs.core.Response setDuplicateUserChallenge(AuthenticationFlowContext context, String eventError, String loginFormError, AuthenticationFlowError authenticatorError)
setDuplicateUserChallenge in class AbstractUsernameFormAuthenticatorpublic void action(AuthenticationFlowContext context)
action in interface Authenticatoraction in class AbstractUsernameFormAuthenticatorpublic 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 AbstractFormAuthenticatorCopyright © 2018 JBoss by Red Hat. All rights reserved.