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) |
protected void |
userSuccessAction(AuthenticationFlowContext context,
UserModel user) |
public void authenticate(AuthenticationFlowContext context)
authenticate in interface Authenticatorprotected void userSuccessAction(AuthenticationFlowContext context, UserModel user)
protected void userDisabledAction(AuthenticationFlowContext context, RealmModel realm, UserModel user)
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 Authenticatorpublic boolean requiresUser()
requiresUser in interface Authenticatorpublic boolean configuredFor(KeycloakSession session, RealmModel realm, UserModel user)
configuredFor in interface Authenticatorpublic void setRequiredActions(KeycloakSession session, RealmModel realm, UserModel user)
setRequiredActions in interface AuthenticatorCopyright © 2018 JBoss by Red Hat. All rights reserved.