public class ConditionalUserConfiguredAuthenticator extends Object implements ConditionalAuthenticator
Modifier and Type | Field and Description |
---|---|
static ConditionalUserConfiguredAuthenticator |
SINGLETON |
Constructor and Description |
---|
ConditionalUserConfiguredAuthenticator() |
Modifier and Type | Method and Description |
---|---|
void |
action(AuthenticationFlowContext context)
Called from a form action invocation.
|
void |
close() |
boolean |
matchCondition(AuthenticationFlowContext context) |
boolean |
requiresUser()
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 authenticator
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
authenticate, configuredFor
areRequiredActionsEnabled, getRequiredActions
public static final ConditionalUserConfiguredAuthenticator SINGLETON
public ConditionalUserConfiguredAuthenticator()
public boolean matchCondition(AuthenticationFlowContext context)
matchCondition
in interface ConditionalAuthenticator
public void action(AuthenticationFlowContext context)
Authenticator
action
in interface Authenticator
public boolean requiresUser()
Authenticator
requiresUser
in interface Authenticator
public void setRequiredActions(KeycloakSession session, RealmModel realm, UserModel user)
Authenticator
setRequiredActions
in interface Authenticator
Copyright © 2020 JBoss by Red Hat. All rights reserved.