public class HttpBasicAuthenticator extends Object implements Authenticator
Constructor and Description |
---|
HttpBasicAuthenticator() |
Modifier and Type | Method and Description |
---|---|
void |
action(AuthenticationFlowContext context) |
void |
authenticate(AuthenticationFlowContext context) |
void |
close() |
boolean |
configuredFor(KeycloakSession session,
RealmModel realm,
UserModel user) |
protected void |
notValidCredentialsAction(AuthenticationFlowContext context,
RealmModel realm,
UserModel user) |
protected void |
nullUserAction(AuthenticationFlowContext context,
RealmModel realm,
String user) |
boolean |
requiresUser() |
void |
setRequiredActions(KeycloakSession session,
RealmModel realm,
UserModel user) |
protected void |
userDisabledAction(AuthenticationFlowContext context,
RealmModel realm,
UserModel user,
String eventError) |
protected void |
userSuccessAction(AuthenticationFlowContext context,
UserModel user) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
areRequiredActionsEnabled, getRequiredActions
public void authenticate(AuthenticationFlowContext context)
authenticate
in interface Authenticator
protected void userSuccessAction(AuthenticationFlowContext context, UserModel user)
protected void userDisabledAction(AuthenticationFlowContext context, RealmModel realm, UserModel user, String eventError)
protected void nullUserAction(AuthenticationFlowContext context, RealmModel realm, String user)
protected void notValidCredentialsAction(AuthenticationFlowContext context, RealmModel realm, UserModel user)
public void action(AuthenticationFlowContext context)
action
in interface Authenticator
public boolean requiresUser()
requiresUser
in interface Authenticator
public boolean configuredFor(KeycloakSession session, RealmModel realm, UserModel user)
configuredFor
in interface Authenticator
public void setRequiredActions(KeycloakSession session, RealmModel realm, UserModel user)
setRequiredActions
in interface Authenticator
Copyright © 2021 JBoss by Red Hat. All rights reserved.