Class IdpDetectExistingBrokerUserAuthenticator
- java.lang.Object
- 
- org.keycloak.authentication.authenticators.broker.AbstractIdpAuthenticator
- 
- org.keycloak.authentication.authenticators.broker.IdpCreateUserIfUniqueAuthenticator
- 
- org.keycloak.authentication.authenticators.broker.IdpDetectExistingBrokerUserAuthenticator
 
 
 
- 
- All Implemented Interfaces:
- Authenticator,- Provider
 
 public class IdpDetectExistingBrokerUserAuthenticator extends IdpCreateUserIfUniqueAuthenticator 
- 
- 
Field Summary- 
Fields inherited from class org.keycloak.authentication.authenticators.broker.AbstractIdpAuthenticatorBROKER_REGISTERED_NEW_USER, BROKERED_CONTEXT_NOTE, ENFORCE_UPDATE_PROFILE, EXISTING_USER_INFO, FIRST_BROKER_LOGIN_SUCCESS, NESTED_FIRST_BROKER_CONTEXT, UPDATE_PROFILE_EMAIL_CHANGED
 
- 
 - 
Constructor SummaryConstructors Constructor Description IdpDetectExistingBrokerUserAuthenticator()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidauthenticateImpl(AuthenticationFlowContext context, SerializedBrokeredIdentityContext serializedCtx, BrokeredIdentityContext brokerContext)booleanconfiguredFor(KeycloakSession session, RealmModel realm, UserModel user)Is this authenticator configured for this user.booleanrequiresUser()Does this authenticator require that the user has already been identified? That AuthenticatorContext.getUser() is not null?- 
Methods inherited from class org.keycloak.authentication.authenticators.broker.IdpCreateUserIfUniqueAuthenticatoractionImpl, checkExistingUser, getUsername, userRegisteredSuccess
 - 
Methods inherited from class org.keycloak.authentication.authenticators.broker.AbstractIdpAuthenticatoraction, authenticate, close, getExistingUser, sendFailureChallenge, setRequiredActions
 - 
Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 - 
Methods inherited from interface org.keycloak.authentication.AuthenticatorareRequiredActionsEnabled, getRequiredActions
 
- 
 
- 
- 
- 
Method Detail- 
authenticateImplprotected void authenticateImpl(AuthenticationFlowContext context, SerializedBrokeredIdentityContext serializedCtx, BrokeredIdentityContext brokerContext) - Overrides:
- authenticateImplin class- IdpCreateUserIfUniqueAuthenticator
 
 - 
requiresUserpublic boolean requiresUser() Description copied from interface:AuthenticatorDoes this authenticator require that the user has already been identified? That AuthenticatorContext.getUser() is not null?- Specified by:
- requiresUserin interface- Authenticator
- Overrides:
- requiresUserin class- IdpCreateUserIfUniqueAuthenticator
- Returns:
 
 - 
configuredForpublic boolean configuredFor(KeycloakSession session, RealmModel realm, UserModel user) Description copied from interface:AuthenticatorIs this authenticator configured for this user.- Specified by:
- configuredForin interface- Authenticator
- Overrides:
- configuredForin class- IdpCreateUserIfUniqueAuthenticator
- Returns:
 
 
- 
 
-