public class HardcodedUserSessionAttributeMapper 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 |
---|
HardcodedUserSessionAttributeMapper() |
Modifier and Type | Method and Description |
---|---|
String[] |
getCompatibleProviders() |
List<ProviderConfigProperty> |
getConfigProperties() |
String |
getDisplayCategory() |
String |
getDisplayType() |
String |
getHelpText() |
String |
getId() |
void |
importNewUser(KeycloakSession session,
RealmModel realm,
UserModel user,
IdentityProviderMapperModel mapperModel,
BrokeredIdentityContext context) |
void |
preprocessFederatedIdentity(KeycloakSession session,
RealmModel realm,
IdentityProviderMapperModel mapperModel,
BrokeredIdentityContext context) |
void |
updateBrokeredUser(KeycloakSession session,
RealmModel realm,
UserModel user,
IdentityProviderMapperModel mapperModel,
BrokeredIdentityContext context) |
close, create, init, postInit
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
order
public 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)
preprocessFederatedIdentity
in interface IdentityProviderMapper
preprocessFederatedIdentity
in class AbstractIdentityProviderMapper
public void updateBrokeredUser(KeycloakSession session, RealmModel realm, UserModel user, IdentityProviderMapperModel mapperModel, BrokeredIdentityContext context)
public void importNewUser(KeycloakSession session, RealmModel realm, UserModel user, IdentityProviderMapperModel mapperModel, BrokeredIdentityContext context)
importNewUser
in interface IdentityProviderMapper
importNewUser
in class AbstractIdentityProviderMapper
public String getHelpText()
Copyright © 2021 JBoss by Red Hat. All rights reserved.