public class AdvancedClaimToRoleMapper extends AbstractClaimToRoleMapper
| Modifier and Type | Field and Description |
|---|---|
static String |
ARE_CLAIM_VALUES_REGEX_PROPERTY_NAME |
static String |
CLAIM_PROPERTY_NAME |
static String[] |
COMPATIBLE_PROVIDERS |
static String |
PROVIDER_ID |
CLAIM, CLAIM_VALUEANY_PROVIDER, DEFAULT_IDENTITY_PROVIDER_MAPPER_SYNC_MODES| Constructor and Description |
|---|
AdvancedClaimToRoleMapper() |
| 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, updateBrokeredUserLegacygetClaimValue, getClaimValue, getClaimValue, hasClaimValue, valueEqualsclose, create, init, postInit, preprocessFederatedIdentityclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitorderpublic static final String CLAIM_PROPERTY_NAME
public static final String ARE_CLAIM_VALUES_REGEX_PROPERTY_NAME
public static final String[] COMPATIBLE_PROVIDERS
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()
public String getHelpText()
protected boolean applies(IdentityProviderMapperModel mapperModel, BrokeredIdentityContext context)
AbstractClaimToRoleMappertrue if their mapping can be applied
(i.e. user has the OIDC claim that should be mapped) or false otherwise.applies in class AbstractClaimToRoleMappermapperModel - 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.