Class ConditionalRoleAuthenticator
java.lang.Object
org.keycloak.authentication.authenticators.conditional.ConditionalRoleAuthenticator
- All Implemented Interfaces:
Authenticator
,ConditionalAuthenticator
,Provider
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
action
(AuthenticationFlowContext context) Called from a form action invocation.void
close()
boolean
matchCondition
(AuthenticationFlowContext context) boolean
Does this authenticator require that the user has already been identified? That AuthenticatorContext.getUser() is not null?void
setRequiredActions
(KeycloakSession session, RealmModel realm, UserModel user) Set actions to configure authenticatorMethods 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
Methods inherited from interface org.keycloak.authentication.authenticators.conditional.ConditionalAuthenticator
authenticate, configuredFor
-
Field Details
-
SINGLETON
-
-
Constructor Details
-
ConditionalRoleAuthenticator
public ConditionalRoleAuthenticator()
-
-
Method Details
-
matchCondition
- Specified by:
matchCondition
in interfaceConditionalAuthenticator
-
action
Description copied from interface:Authenticator
Called from a form action invocation.- Specified by:
action
in interfaceAuthenticator
-
requiresUser
public boolean requiresUser()Description copied from interface:Authenticator
Does this authenticator require that the user has already been identified? That AuthenticatorContext.getUser() is not null?- Specified by:
requiresUser
in interfaceAuthenticator
- Returns:
-
setRequiredActions
Description copied from interface:Authenticator
Set actions to configure authenticator- Specified by:
setRequiredActions
in interfaceAuthenticator
-
close
public void close()
-