public abstract class AbstractIdpAuthenticator extends Object implements Authenticator
| Modifier and Type | Field and Description |
|---|---|
static String |
BROKER_REGISTERED_NEW_USER |
static String |
BROKERED_CONTEXT_NOTE |
static String |
ENFORCE_UPDATE_PROFILE |
static String |
EXISTING_USER_INFO |
static String |
FIRST_BROKER_LOGIN_SUCCESS |
static String |
NESTED_FIRST_BROKER_CONTEXT |
static String |
UPDATE_PROFILE_EMAIL_CHANGED |
| Constructor and Description |
|---|
AbstractIdpAuthenticator() |
| Modifier and Type | Method and Description |
|---|---|
void |
action(AuthenticationFlowContext context) |
protected abstract void |
actionImpl(AuthenticationFlowContext context,
SerializedBrokeredIdentityContext serializedCtx,
BrokeredIdentityContext brokerContext) |
void |
authenticate(AuthenticationFlowContext context) |
protected abstract void |
authenticateImpl(AuthenticationFlowContext context,
SerializedBrokeredIdentityContext serializedCtx,
BrokeredIdentityContext brokerContext) |
void |
close() |
static UserModel |
getExistingUser(KeycloakSession session,
RealmModel realm,
AuthenticationSessionModel authSession) |
protected void |
sendFailureChallenge(AuthenticationFlowContext context,
javax.ws.rs.core.Response.Status status,
String eventError,
String errorMessage,
AuthenticationFlowError flowError) |
void |
setRequiredActions(KeycloakSession session,
RealmModel realm,
UserModel user) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitareRequiredActionsEnabled, configuredFor, getRequiredActions, requiresUserpublic static final String BROKERED_CONTEXT_NOTE
public static final String EXISTING_USER_INFO
public static final String UPDATE_PROFILE_EMAIL_CHANGED
public static final String ENFORCE_UPDATE_PROFILE
public static final String BROKER_REGISTERED_NEW_USER
public static final String FIRST_BROKER_LOGIN_SUCCESS
public static final String NESTED_FIRST_BROKER_CONTEXT
public void authenticate(AuthenticationFlowContext context)
authenticate in interface Authenticatorpublic void action(AuthenticationFlowContext context)
action in interface Authenticatorprotected abstract void authenticateImpl(AuthenticationFlowContext context, SerializedBrokeredIdentityContext serializedCtx, BrokeredIdentityContext brokerContext)
protected abstract void actionImpl(AuthenticationFlowContext context, SerializedBrokeredIdentityContext serializedCtx, BrokeredIdentityContext brokerContext)
protected void sendFailureChallenge(AuthenticationFlowContext context, javax.ws.rs.core.Response.Status status, String eventError, String errorMessage, AuthenticationFlowError flowError)
public void setRequiredActions(KeycloakSession session, RealmModel realm, UserModel user)
setRequiredActions in interface Authenticatorpublic static UserModel getExistingUser(KeycloakSession session, RealmModel realm, AuthenticationSessionModel authSession)
Copyright © 2020 JBoss by Red Hat. All rights reserved.