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,UserAttributeMapper,UsernameTemplateMapper
public abstract class AbstractClaimMapper extends AbstractIdentityProviderMapper
- Version:
- $Revision: 1 $
- Author:
- Bill Burke
-
-
Field Summary
Fields Modifier and Type Field Description static StringCLAIMstatic StringCLAIM_VALUE-
Fields inherited from interface org.keycloak.broker.provider.IdentityProviderMapper
ANY_PROVIDER, DEFAULT_IDENTITY_PROVIDER_MAPPER_SYNC_MODES
-
-
Constructor Summary
Constructors Constructor Description AbstractClaimMapper()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ObjectgetClaimValue(BrokeredIdentityContext context, String claim)static ObjectgetClaimValue(IdentityProviderMapperModel mapperModel, BrokeredIdentityContext context)static ObjectgetClaimValue(JsonWebToken token, String claim)protected booleanhasClaimValue(IdentityProviderMapperModel mapperModel, BrokeredIdentityContext context)booleanvalueEquals(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 Detail
-
CLAIM
public static final String CLAIM
- See Also:
- Constant Field Values
-
CLAIM_VALUE
public static final String CLAIM_VALUE
- See Also:
- Constant Field Values
-
-
Method Detail
-
getClaimValue
public static Object getClaimValue(JsonWebToken token, String claim)
-
getClaimValue
public static Object getClaimValue(IdentityProviderMapperModel mapperModel, BrokeredIdentityContext context)
-
getClaimValue
public static Object getClaimValue(BrokeredIdentityContext context, String claim)
-
hasClaimValue
protected boolean hasClaimValue(IdentityProviderMapperModel mapperModel, BrokeredIdentityContext context)
-
-