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
-
Field Summary
Fields inherited from class org.keycloak.authentication.authenticators.broker.AbstractIdpAuthenticator
BROKERED_CONTEXT_NOTE, ENFORCE_UPDATE_PROFILE, EXISTING_USER_INFO, FIRST_BROKER_LOGIN_SUCCESS, NESTED_FIRST_BROKER_CONTEXT -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidauthenticateImpl(AuthenticationFlowContext context, SerializedBrokeredIdentityContext serializedCtx, BrokeredIdentityContext brokerContext) booleanconfiguredFor(KeycloakSession session, RealmModel realm, UserModel user) Is this authenticator configured for this user.booleanDoes 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.IdpCreateUserIfUniqueAuthenticator
actionImpl, checkExistingUser, getUsername, userRegisteredSuccessMethods inherited from class org.keycloak.authentication.authenticators.broker.AbstractIdpAuthenticator
action, authenticate, close, getExistingUser, sendFailureChallenge, setRequiredActionsMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.keycloak.authentication.Authenticator
areRequiredActionsEnabled, getRequiredActions
-
Constructor Details
-
IdpDetectExistingBrokerUserAuthenticator
public IdpDetectExistingBrokerUserAuthenticator()
-
-
Method Details
-
authenticateImpl
protected void authenticateImpl(AuthenticationFlowContext context, SerializedBrokeredIdentityContext serializedCtx, BrokeredIdentityContext brokerContext) - Overrides:
authenticateImplin classIdpCreateUserIfUniqueAuthenticator
-
requiresUser
public 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 interfaceAuthenticator- Overrides:
requiresUserin classIdpCreateUserIfUniqueAuthenticator- Returns:
-
configuredFor
Description copied from interface:AuthenticatorIs this authenticator configured for this user.- Specified by:
configuredForin interfaceAuthenticator- Overrides:
configuredForin classIdpCreateUserIfUniqueAuthenticator- Returns:
-