Package org.keycloak.broker.saml.mappers
Class AdvancedAttributeToGroupMapper
java.lang.Object
org.keycloak.broker.provider.AbstractIdentityProviderMapper
org.keycloak.broker.saml.mappers.AbstractAttributeToGroupMapper
org.keycloak.broker.saml.mappers.AdvancedAttributeToGroupMapper
- All Implemented Interfaces:
IdentityProviderMapper,ConfiguredProvider,Provider,ProviderFactory<IdentityProviderMapper>
- Author:
- Denis Bernard
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final String[]static final StringFields inherited from interface org.keycloak.broker.provider.IdentityProviderMapper
ANY_PROVIDER, DEFAULT_IDENTITY_PROVIDER_MAPPER_SYNC_MODES -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanapplies(IdentityProviderMapperModel mapperModel, BrokeredIdentityContext context) This method must be implemented by subclasses and they must returntrueif their mapping can be applied (i.e.String[]getId()booleansupportsSyncMode(IdentityProviderSyncMode syncMode) Methods inherited from class org.keycloak.broker.saml.mappers.AbstractAttributeToGroupMapper
importNewUser, updateBrokeredUserMethods inherited from class org.keycloak.broker.provider.AbstractIdentityProviderMapper
close, create, init, postInit, preprocessFederatedIdentity, updateBrokeredUserLegacyMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.keycloak.provider.ConfiguredProvider
getConfigMethods inherited from interface org.keycloak.provider.ProviderFactory
dependsOn, getConfigMetadata, order
-
Field Details
-
PROVIDER_ID
- See Also:
-
ATTRIBUTE_PROPERTY_NAME
- See Also:
-
ARE_ATTRIBUTE_VALUES_REGEX_PROPERTY_NAME
- See Also:
-
COMPATIBLE_PROVIDERS
-
-
Constructor Details
-
AdvancedAttributeToGroupMapper
public AdvancedAttributeToGroupMapper()
-
-
Method Details
-
supportsSyncMode
-
getConfigProperties
-
getId
-
getCompatibleProviders
-
getDisplayCategory
-
getDisplayType
-
getHelpText
-
applies
Description copied from class:AbstractAttributeToGroupMapperThis method must be implemented by subclasses and they must returntrueif their mapping can be applied (i.e. user has the SAML attribute that should be mapped) orfalseotherwise.- Specified by:
appliesin classAbstractAttributeToGroupMapper- Parameters:
mapperModel- a reference to theIdentityProviderMapperModel.context- a reference to theBrokeredIdentityContext.- Returns:
trueif the mapping can be applied orfalseotherwise.
-