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 |
IS_DIFFERENT_BROWSER |
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,
ClientSessionModel clientSession) |
protected void |
sendFailureChallenge(AuthenticationFlowContext context,
String eventError,
String errorMessage,
AuthenticationFlowError flowError) |
void |
setRequiredActions(KeycloakSession session,
RealmModel realm,
UserModel user) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitconfiguredFor, 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 IS_DIFFERENT_BROWSER
public static final String ENFORCE_UPDATE_PROFILE
public static final String BROKER_REGISTERED_NEW_USER
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, 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, ClientSessionModel clientSession)
Copyright © 2017 JBoss by Red Hat. All rights reserved.