public class ClaimToRoleMapper extends AbstractClaimToRoleMapper
Modifier and Type | Field and Description |
---|---|
static String[] |
COMPATIBLE_PROVIDERS |
static String |
PROVIDER_ID |
CLAIM, CLAIM_VALUE
ANY_PROVIDER, DEFAULT_IDENTITY_PROVIDER_MAPPER_SYNC_MODES
Constructor and Description |
---|
ClaimToRoleMapper() |
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, updateBrokeredUserLegacy
getClaimValue, getClaimValue, getClaimValue, hasClaimValue, valueEquals
close, create, init, postInit, preprocessFederatedIdentity
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
order
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()
protected boolean applies(IdentityProviderMapperModel mapperModel, BrokeredIdentityContext context)
AbstractClaimToRoleMapper
true
if their mapping can be applied
(i.e. user has the OIDC claim that should be mapped) or false
otherwise.applies
in class AbstractClaimToRoleMapper
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.