public class AdvancedAttributeToRoleMapper extends AbstractAttributeToRoleMapper
Modifier and Type | Field and Description |
---|---|
static String |
ARE_ATTRIBUTE_VALUES_REGEX_PROPERTY_NAME |
static String |
ATTRIBUTE_PROPERTY_NAME |
static String[] |
COMPATIBLE_PROVIDERS |
static String |
PROVIDER_ID |
ANY_PROVIDER, DEFAULT_IDENTITY_PROVIDER_MAPPER_SYNC_MODES
Constructor and Description |
---|
AdvancedAttributeToRoleMapper() |
Modifier and Type | Method and Description |
---|---|
protected boolean |
applies(IdentityProviderMapperModel mapperModel,
BrokeredIdentityContext context)
This method must be implemented by subclasses and they must return
true if their mapping can be applied
(i.e. |
String[] |
getCompatibleProviders() |
List<ProviderConfigProperty> |
getConfigProperties() |
String |
getDisplayCategory() |
String |
getDisplayType() |
String |
getHelpText() |
String |
getId() |
boolean |
supportsSyncMode(IdentityProviderSyncMode syncMode) |
importNewUser, updateBrokeredUser
close, create, init, postInit, preprocessFederatedIdentity, updateBrokeredUserLegacy
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
order
public static final String PROVIDER_ID
public static final String ATTRIBUTE_PROPERTY_NAME
public static final String ARE_ATTRIBUTE_VALUES_REGEX_PROPERTY_NAME
public static final String[] COMPATIBLE_PROVIDERS
public boolean supportsSyncMode(IdentityProviderSyncMode syncMode)
public List<ProviderConfigProperty> getConfigProperties()
public String getId()
public String[] getCompatibleProviders()
public String getDisplayCategory()
public String getDisplayType()
public String getHelpText()
protected boolean applies(IdentityProviderMapperModel mapperModel, BrokeredIdentityContext context)
AbstractAttributeToRoleMapper
true
if their mapping can be applied
(i.e. user has the SAML attribute that should be mapped) or false
otherwise.applies
in class AbstractAttributeToRoleMapper
mapperModel
- a reference to the IdentityProviderMapperModel
.context
- a reference to the BrokeredIdentityContext
.true
if the mapping can be applied or false
otherwise.Copyright © 2021 JBoss by Red Hat. All rights reserved.