public class HardcodedAttributeMapper extends AbstractIdentityProviderMapper
| Modifier and Type | Field and Description |
|---|---|
static String |
ATTRIBUTE |
static String |
ATTRIBUTE_VALUE |
static String[] |
COMPATIBLE_PROVIDERS |
protected static List<ProviderConfigProperty> |
configProperties |
static String |
PROVIDER_ID |
ANY_PROVIDER| Constructor and Description |
|---|
HardcodedAttributeMapper() |
| 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.
|
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.
|
close, create, importNewUser, init, postInitpublic static final String ATTRIBUTE
public static final String ATTRIBUTE_VALUE
protected static final List<ProviderConfigProperty> configProperties
public static final String[] COMPATIBLE_PROVIDERS
public static final String PROVIDER_ID
public List<ProviderConfigProperty> getConfigProperties()
public String getDisplayCategory()
public String getDisplayType()
public String getId()
public String[] getCompatibleProviders()
public 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)
IdentityProviderMapperpublic String getHelpText()
Copyright © 2016 JBoss by Red Hat. All rights reserved.