Class AllowAccessAuthenticator
java.lang.Object
org.keycloak.authentication.authenticators.access.AllowAccessAuthenticator
- All Implemented Interfaces:
Authenticator,Provider
Authenticator will always successfully authenticate.
Useful for example in the conditional flows to be used after satisfying the previous conditions.
- Author:
- Martin Bartos
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaction(AuthenticationFlowContext context) voidauthenticate(AuthenticationFlowContext context) voidclose()booleanconfiguredFor(KeycloakSession session, RealmModel realm, UserModel user) booleanvoidsetRequiredActions(KeycloakSession session, RealmModel realm, UserModel user) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.keycloak.authentication.Authenticator
areRequiredActionsEnabled, getRequiredActions
-
Constructor Details
-
AllowAccessAuthenticator
public AllowAccessAuthenticator()
-
-
Method Details
-
authenticate
- Specified by:
authenticatein interfaceAuthenticator
-
action
- Specified by:
actionin interfaceAuthenticator
-
requiresUser
public boolean requiresUser()- Specified by:
requiresUserin interfaceAuthenticator
-
configuredFor
- Specified by:
configuredForin interfaceAuthenticator
-
setRequiredActions
- Specified by:
setRequiredActionsin interfaceAuthenticator
-
close
public void close()
-