public class IdpCreateUserIfUniqueAuthenticator extends AbstractIdpAuthenticator
BROKER_REGISTERED_NEW_USER, BROKERED_CONTEXT_NOTE, ENFORCE_UPDATE_PROFILE, EXISTING_USER_INFO, FIRST_BROKER_LOGIN_SUCCESS, UPDATE_PROFILE_EMAIL_CHANGED
Constructor and Description |
---|
IdpCreateUserIfUniqueAuthenticator() |
action, authenticate, close, getExistingUser, sendFailureChallenge, setRequiredActions
protected void actionImpl(AuthenticationFlowContext context, SerializedBrokeredIdentityContext serializedCtx, BrokeredIdentityContext brokerContext)
actionImpl
in class AbstractIdpAuthenticator
protected void authenticateImpl(AuthenticationFlowContext context, SerializedBrokeredIdentityContext serializedCtx, BrokeredIdentityContext brokerContext)
authenticateImpl
in class AbstractIdpAuthenticator
protected ExistingUserInfo checkExistingUser(AuthenticationFlowContext context, String username, SerializedBrokeredIdentityContext serializedCtx, BrokeredIdentityContext brokerContext)
protected String getUsername(AuthenticationFlowContext context, SerializedBrokeredIdentityContext serializedCtx, BrokeredIdentityContext brokerContext)
protected void userRegisteredSuccess(AuthenticationFlowContext context, UserModel registeredUser, SerializedBrokeredIdentityContext serializedCtx, BrokeredIdentityContext brokerContext)
public boolean requiresUser()
public boolean configuredFor(KeycloakSession session, RealmModel realm, UserModel user)
Copyright © 2019 JBoss by Red Hat. All rights reserved.