public class HardcodedLDAPRoleMapperFactory extends AbstractLDAPFederationMapperFactory
Modifier and Type | Field and Description |
---|---|
protected static List<ProviderConfigProperty> |
configProperties |
static String |
PROVIDER_ID |
ATTRIBUTE_MAPPER_CATEGORY, GROUP_MAPPER_CATEGORY, ROLE_MAPPER_CATEGORY
Constructor and Description |
---|
HardcodedLDAPRoleMapperFactory() |
Modifier and Type | Method and Description |
---|---|
protected AbstractLDAPFederationMapper |
createMapper(UserFederationMapperModel mapperModel,
LDAPFederationProvider federationProvider,
RealmModel realm) |
List<ProviderConfigProperty> |
getConfigProperties() |
Map<String,String> |
getDefaultConfig(UserFederationProviderModel providerModel)
Used to detect what are default values for ProviderConfigProperties specified during mapper creation
|
String |
getDisplayCategory() |
String |
getDisplayType() |
String |
getHelpText() |
String |
getId() |
void |
validateConfig(RealmModel realm,
UserFederationProviderModel fedProviderModel,
UserFederationMapperModel mapperModel)
Called when instance of mapperModel is created for this factory through admin endpoint
|
checkMandatoryConfigAttribute, close, create, createConfigProperty, getFederationProviderType, getSyncConfig, init, postInit
public static final String PROVIDER_ID
protected static final List<ProviderConfigProperty> configProperties
public String getHelpText()
public String getDisplayCategory()
public String getDisplayType()
public List<ProviderConfigProperty> getConfigProperties()
public Map<String,String> getDefaultConfig(UserFederationProviderModel providerModel)
UserFederationMapperFactory
public String getId()
public void validateConfig(RealmModel realm, UserFederationProviderModel fedProviderModel, UserFederationMapperModel mapperModel) throws FederationConfigValidationException
UserFederationMapperFactory
FederationConfigValidationException
- if configuration provided in mapperModel is not validprotected AbstractLDAPFederationMapper createMapper(UserFederationMapperModel mapperModel, LDAPFederationProvider federationProvider, RealmModel realm)
createMapper
in class AbstractLDAPFederationMapperFactory
Copyright © 2016 JBoss by Red Hat. All rights reserved.