public class IdpCreateUserIfUniqueAuthenticator extends AbstractIdpAuthenticator
| Modifier and Type | Field and Description |
|---|---|
protected static org.jboss.logging.Logger |
logger |
BROKER_REGISTERED_NEW_USER, BROKERED_CONTEXT_NOTE, ENFORCE_UPDATE_PROFILE, EXISTING_USER_INFO, IS_DIFFERENT_BROWSER, UPDATE_PROFILE_EMAIL_CHANGED| Constructor and Description |
|---|
IdpCreateUserIfUniqueAuthenticator() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
actionImpl(AuthenticationFlowContext context,
SerializedBrokeredIdentityContext serializedCtx,
BrokeredIdentityContext brokerContext) |
protected void |
authenticateImpl(AuthenticationFlowContext context,
SerializedBrokeredIdentityContext serializedCtx,
BrokeredIdentityContext brokerContext) |
protected ExistingUserInfo |
checkExistingUser(AuthenticationFlowContext context,
String username,
SerializedBrokeredIdentityContext serializedCtx,
BrokeredIdentityContext brokerContext) |
boolean |
configuredFor(KeycloakSession session,
RealmModel realm,
UserModel user)
Is this authenticator configured for this user.
|
protected String |
getUsername(AuthenticationFlowContext context,
SerializedBrokeredIdentityContext serializedCtx,
BrokeredIdentityContext brokerContext) |
boolean |
requiresUser()
Does this authenticator require that the user has already been identified? That AuthenticatorContext.getUser() is not null?
|
action, authenticate, close, getExistingUser, sendFailureChallenge, setRequiredActionsprotected void actionImpl(AuthenticationFlowContext context, SerializedBrokeredIdentityContext serializedCtx, BrokeredIdentityContext brokerContext)
actionImpl in class AbstractIdpAuthenticatorprotected void authenticateImpl(AuthenticationFlowContext context, SerializedBrokeredIdentityContext serializedCtx, BrokeredIdentityContext brokerContext)
authenticateImpl in class AbstractIdpAuthenticatorprotected ExistingUserInfo checkExistingUser(AuthenticationFlowContext context, String username, SerializedBrokeredIdentityContext serializedCtx, BrokeredIdentityContext brokerContext)
protected String getUsername(AuthenticationFlowContext context, SerializedBrokeredIdentityContext serializedCtx, BrokeredIdentityContext brokerContext)
public boolean requiresUser()
Authenticatorpublic boolean configuredFor(KeycloakSession session, RealmModel realm, UserModel user)
AuthenticatorCopyright © 2016 JBoss by Red Hat. All rights reserved.