public class ConditionalRoleAuthenticator extends Object implements ConditionalAuthenticator
Modifier and Type | Field and Description |
---|---|
static ConditionalRoleAuthenticator |
SINGLETON |
Constructor and Description |
---|
ConditionalRoleAuthenticator() |
Modifier and Type | Method and Description |
---|---|
void |
action(AuthenticationFlowContext context) |
void |
close() |
boolean |
matchCondition(AuthenticationFlowContext context) |
boolean |
requiresUser() |
void |
setRequiredActions(KeycloakSession session,
RealmModel realm,
UserModel user) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
authenticate, configuredFor
areRequiredActionsEnabled, getRequiredActions
public static final ConditionalRoleAuthenticator SINGLETON
public boolean matchCondition(AuthenticationFlowContext context)
matchCondition
in interface ConditionalAuthenticator
public void action(AuthenticationFlowContext context)
action
in interface Authenticator
public boolean requiresUser()
requiresUser
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.