public class AttributeToRoleMapper extends AbstractAttributeToRoleMapper
Modifier and Type | Field and Description |
---|---|
static String |
ATTRIBUTE_FRIENDLY_NAME |
static String |
ATTRIBUTE_NAME |
static String |
ATTRIBUTE_VALUE |
static String[] |
COMPATIBLE_PROVIDERS |
static String |
PROVIDER_ID |
ANY_PROVIDER, DEFAULT_IDENTITY_PROVIDER_MAPPER_SYNC_MODES
Constructor and Description |
---|
AttributeToRoleMapper() |
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[] COMPATIBLE_PROVIDERS
public static final String ATTRIBUTE_NAME
public static final String ATTRIBUTE_FRIENDLY_NAME
public static final String ATTRIBUTE_VALUE
public static final String PROVIDER_ID
public boolean supportsSyncMode(IdentityProviderSyncMode syncMode)
public List<ProviderConfigProperty> getConfigProperties()
public String getId()
public String[] getCompatibleProviders()
public String getDisplayCategory()
public String getDisplayType()
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.public String getHelpText()
Copyright © 2021 JBoss by Red Hat. All rights reserved.