public class UserAttributeMapper extends AbstractIdentityProviderMapper implements SamlMetadataDescriptorUpdater
| Modifier and Type | Field and Description |
|---|---|
static String |
ATTRIBUTE_FRIENDLY_NAME |
static String |
ATTRIBUTE_NAME |
static String[] |
COMPATIBLE_PROVIDERS |
static String |
PROVIDER_ID |
static String |
USER_ATTRIBUTE |
ANY_PROVIDER, DEFAULT_IDENTITY_PROVIDER_MAPPER_SYNC_MODES| Constructor and Description |
|---|
UserAttributeMapper() |
| Modifier and Type | Method and Description |
|---|---|
String[] |
getCompatibleProviders() |
List<ProviderConfigProperty> |
getConfigProperties() |
String |
getDisplayCategory() |
String |
getDisplayType() |
String |
getHelpText() |
String |
getId() |
void |
preprocessFederatedIdentity(KeycloakSession session,
RealmModel realm,
IdentityProviderMapperModel mapperModel,
BrokeredIdentityContext context)
Called to determine what keycloak username and email to use to process the login request from the external IDP.
|
boolean |
supportsSyncMode(IdentityProviderSyncMode syncMode) |
void |
updateBrokeredUser(KeycloakSession session,
RealmModel realm,
UserModel user,
IdentityProviderMapperModel mapperModel,
BrokeredIdentityContext context)
Called when this user has logged in before and has already been imported.
|
void |
updateMetadata(IdentityProviderMapperModel mapperModel,
EntityDescriptorType entityDescriptor) |
close, create, importNewUser, init, postInit, updateBrokeredUserLegacyclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitorderpublic static final String[] COMPATIBLE_PROVIDERS
public static final String ATTRIBUTE_NAME
public static final String ATTRIBUTE_FRIENDLY_NAME
public static final String USER_ATTRIBUTE
public static final String PROVIDER_ID
public boolean supportsSyncMode(IdentityProviderSyncMode syncMode)
supportsSyncMode in interface IdentityProviderMapperpublic List<ProviderConfigProperty> getConfigProperties()
getConfigProperties in interface ConfiguredProviderpublic String getId()
getId in interface ProviderFactory<IdentityProviderMapper>public String[] getCompatibleProviders()
getCompatibleProviders in interface IdentityProviderMapperpublic String getDisplayCategory()
getDisplayCategory in interface IdentityProviderMapperpublic String getDisplayType()
getDisplayType in interface IdentityProviderMapperpublic void preprocessFederatedIdentity(KeycloakSession session, RealmModel realm, IdentityProviderMapperModel mapperModel, BrokeredIdentityContext context)
IdentityProviderMapperpreprocessFederatedIdentity in interface IdentityProviderMapperpreprocessFederatedIdentity in class AbstractIdentityProviderMapperpublic void updateBrokeredUser(KeycloakSession session, RealmModel realm, UserModel user, IdentityProviderMapperModel mapperModel, BrokeredIdentityContext context)
IdentityProviderMapperupdateBrokeredUser in interface IdentityProviderMapperupdateBrokeredUser in class AbstractIdentityProviderMapperpublic String getHelpText()
getHelpText in interface ConfiguredProviderpublic void updateMetadata(IdentityProviderMapperModel mapperModel, EntityDescriptorType entityDescriptor)
updateMetadata in interface SamlMetadataDescriptorUpdaterCopyright © 2021 JBoss by Red Hat. All rights reserved.