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:
org.keycloak.authentication.Authenticator
,org.keycloak.provider.Provider
public class IdpDetectExistingBrokerUserAuthenticator extends IdpCreateUserIfUniqueAuthenticator
-
-
Field Summary
-
Fields inherited from class org.keycloak.authentication.authenticators.broker.AbstractIdpAuthenticator
BROKER_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 Summary
Constructors Constructor Description IdpDetectExistingBrokerUserAuthenticator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
authenticateImpl(org.keycloak.authentication.AuthenticationFlowContext context, SerializedBrokeredIdentityContext serializedCtx, org.keycloak.broker.provider.BrokeredIdentityContext brokerContext)
boolean
configuredFor(org.keycloak.models.KeycloakSession session, org.keycloak.models.RealmModel realm, org.keycloak.models.UserModel user)
boolean
requiresUser()
-
Methods inherited from class org.keycloak.authentication.authenticators.broker.IdpCreateUserIfUniqueAuthenticator
actionImpl, checkExistingUser, getUsername, userRegisteredSuccess
-
Methods inherited from class org.keycloak.authentication.authenticators.broker.AbstractIdpAuthenticator
action, authenticate, close, getExistingUser, sendFailureChallenge, setRequiredActions
-
-
-
-
Method Detail
-
authenticateImpl
protected void authenticateImpl(org.keycloak.authentication.AuthenticationFlowContext context, SerializedBrokeredIdentityContext serializedCtx, org.keycloak.broker.provider.BrokeredIdentityContext brokerContext)
- Overrides:
authenticateImpl
in classIdpCreateUserIfUniqueAuthenticator
-
requiresUser
public boolean requiresUser()
- Specified by:
requiresUser
in interfaceorg.keycloak.authentication.Authenticator
- Overrides:
requiresUser
in classIdpCreateUserIfUniqueAuthenticator
-
configuredFor
public boolean configuredFor(org.keycloak.models.KeycloakSession session, org.keycloak.models.RealmModel realm, org.keycloak.models.UserModel user)
- Specified by:
configuredFor
in interfaceorg.keycloak.authentication.Authenticator
- Overrides:
configuredFor
in classIdpCreateUserIfUniqueAuthenticator
-
-