Class HttpBasicAuthenticator
java.lang.Object
org.keycloak.protocol.saml.profile.ecp.authenticator.HttpBasicAuthenticator
- All Implemented Interfaces:
Authenticator
,Provider
- Direct Known Subclasses:
DockerAuthenticator
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
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
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) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.keycloak.authentication.Authenticator
areRequiredActionsEnabled, getRequiredActions
-
Constructor Details
-
HttpBasicAuthenticator
public HttpBasicAuthenticator()
-
-
Method Details
-
authenticate
- Specified by:
authenticate
in interfaceAuthenticator
-
userSuccessAction
-
userDisabledAction
protected void userDisabledAction(AuthenticationFlowContext context, RealmModel realm, UserModel user, String eventError) -
nullUserAction
-
notValidCredentialsAction
protected void notValidCredentialsAction(AuthenticationFlowContext context, RealmModel realm, UserModel user) -
action
- Specified by:
action
in interfaceAuthenticator
-
requiresUser
public boolean requiresUser()- Specified by:
requiresUser
in interfaceAuthenticator
-
configuredFor
- Specified by:
configuredFor
in interfaceAuthenticator
-
setRequiredActions
- Specified by:
setRequiredActions
in interfaceAuthenticator
-
close
public void close()
-