Package org.keycloak.broker.oidc.mappers
Class AbstractClaimMapper
java.lang.Object
org.keycloak.broker.provider.AbstractIdentityProviderMapper
org.keycloak.broker.oidc.mappers.AbstractClaimMapper
- All Implemented Interfaces:
IdentityProviderMapper
,ConfiguredProvider
,Provider
,ProviderFactory<IdentityProviderMapper>
- Direct Known Subclasses:
AbstractClaimToGroupMapper
,AbstractClaimToRoleMapper
,ClaimToUserSessionNoteMapper
,UserAttributeMapper
,UsernameTemplateMapper
- Version:
- $Revision: 1 $
- Author:
- Bill Burke
-
Field Summary
Fields inherited from interface org.keycloak.broker.provider.IdentityProviderMapper
ANY_PROVIDER, DEFAULT_IDENTITY_PROVIDER_MAPPER_SYNC_MODES
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic Object
getClaimValue
(BrokeredIdentityContext context, String claim) static Object
getClaimValue
(IdentityProviderMapperModel mapperModel, BrokeredIdentityContext context) static Object
getClaimValue
(JsonWebToken token, String claim) protected boolean
hasClaimValue
(IdentityProviderMapperModel mapperModel, BrokeredIdentityContext context) boolean
valueEquals
(String desiredValue, Object value) Methods inherited from class org.keycloak.broker.provider.AbstractIdentityProviderMapper
close, create, importNewUser, init, postInit, preprocessFederatedIdentity, updateBrokeredUser, updateBrokeredUserLegacy
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.keycloak.provider.ConfiguredProvider
getConfig, getConfigProperties, getHelpText
Methods inherited from interface org.keycloak.broker.provider.IdentityProviderMapper
getCompatibleProviders, getDisplayCategory, getDisplayType, supportsSyncMode
Methods inherited from interface org.keycloak.provider.ProviderFactory
getConfigMetadata, getId, order
-
Field Details
-
CLAIM
- See Also:
-
CLAIM_VALUE
- See Also:
-
-
Constructor Details
-
AbstractClaimMapper
public AbstractClaimMapper()
-
-
Method Details
-
getClaimValue
-
getClaimValue
public static Object getClaimValue(IdentityProviderMapperModel mapperModel, BrokeredIdentityContext context) -
getClaimValue
-
hasClaimValue
protected boolean hasClaimValue(IdentityProviderMapperModel mapperModel, BrokeredIdentityContext context) -
valueEquals
-