Class GroupMapperConfig
- java.lang.Object
- 
- org.keycloak.storage.ldap.mappers.membership.CommonLDAPGroupMapperConfig
- 
- org.keycloak.storage.ldap.mappers.membership.group.GroupMapperConfig
 
 
- 
 public class GroupMapperConfig extends CommonLDAPGroupMapperConfig - Author:
- Marek Posolda
 
- 
- 
Field SummaryFields Modifier and Type Field Description static StringDEFAULT_LDAP_GROUPS_PATHstatic StringDROP_NON_EXISTING_GROUPS_DURING_SYNCstatic StringGET_GROUPS_FROM_USER_MEMBEROF_ATTRIBUTEstatic StringGROUP_NAME_LDAP_ATTRIBUTEstatic StringGROUP_OBJECT_CLASSESstatic StringGROUPS_DNstatic StringGROUPS_LDAP_FILTERstatic StringIGNORE_MISSING_GROUPSstatic StringLDAP_GROUPS_PATHstatic StringLOAD_GROUPS_BY_MEMBER_ATTRIBUTEstatic StringLOAD_GROUPS_BY_MEMBER_ATTRIBUTE_RECURSIVELYstatic StringMAPPED_GROUP_ATTRIBUTESstatic StringPRESERVE_GROUP_INHERITANCE- 
Fields inherited from class org.keycloak.storage.ldap.mappers.membership.CommonLDAPGroupMapperConfigmapperModel, MEMBEROF_LDAP_ATTRIBUTE, MEMBERSHIP_ATTRIBUTE_TYPE, MEMBERSHIP_LDAP_ATTRIBUTE, MEMBERSHIP_USER_LDAP_ATTRIBUTE, MODE, USER_ROLES_RETRIEVE_STRATEGY
 
- 
 - 
Constructor SummaryConstructors Constructor Description GroupMapperConfig(ComponentModel mapperModel)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetCustomLdapFilter()Collection<String>getGroupAttributes()StringgetGroupNameLdapAttribute()Collection<String>getGroupObjectClasses(LDAPStorageProvider ldapProvider)StringgetGroupsDn()StringgetGroupsPath()StringgetGroupsPathWithTrailingSlash()StringgetLDAPGroupNameLdapAttribute()StringgetLDAPGroupsDn()StringgetUserGroupsRetrieveStrategy()booleanisDropNonExistingGroupsDuringSync()booleanisIgnoreMissingGroups()booleanisPreserveGroupsInheritance()booleanisTopLevelGroupsPath()- 
Methods inherited from class org.keycloak.storage.ldap.mappers.membership.CommonLDAPGroupMapperConfiggetConfigValues, getMemberOfLdapAttribute, getMembershipLdapAttribute, getMembershipTypeLdapAttribute, getMembershipUserLdapAttribute, getMode
 
- 
 
- 
- 
- 
Field Detail- 
GROUPS_DNpublic static final String GROUPS_DN - See Also:
- Constant Field Values
 
 - 
GROUP_NAME_LDAP_ATTRIBUTEpublic static final String GROUP_NAME_LDAP_ATTRIBUTE - See Also:
- Constant Field Values
 
 - 
GROUP_OBJECT_CLASSESpublic static final String GROUP_OBJECT_CLASSES - See Also:
- Constant Field Values
 
 - 
PRESERVE_GROUP_INHERITANCEpublic static final String PRESERVE_GROUP_INHERITANCE - See Also:
- Constant Field Values
 
 - 
IGNORE_MISSING_GROUPSpublic static final String IGNORE_MISSING_GROUPS - See Also:
- Constant Field Values
 
 - 
GROUPS_LDAP_FILTERpublic static final String GROUPS_LDAP_FILTER - See Also:
- Constant Field Values
 
 - 
MAPPED_GROUP_ATTRIBUTESpublic static final String MAPPED_GROUP_ATTRIBUTES - See Also:
- Constant Field Values
 
 - 
DROP_NON_EXISTING_GROUPS_DURING_SYNCpublic static final String DROP_NON_EXISTING_GROUPS_DURING_SYNC - See Also:
- Constant Field Values
 
 - 
LOAD_GROUPS_BY_MEMBER_ATTRIBUTEpublic static final String LOAD_GROUPS_BY_MEMBER_ATTRIBUTE - See Also:
- Constant Field Values
 
 - 
GET_GROUPS_FROM_USER_MEMBEROF_ATTRIBUTEpublic static final String GET_GROUPS_FROM_USER_MEMBEROF_ATTRIBUTE - See Also:
- Constant Field Values
 
 - 
LOAD_GROUPS_BY_MEMBER_ATTRIBUTE_RECURSIVELYpublic static final String LOAD_GROUPS_BY_MEMBER_ATTRIBUTE_RECURSIVELY - See Also:
- Constant Field Values
 
 - 
LDAP_GROUPS_PATHpublic static final String LDAP_GROUPS_PATH - See Also:
- Constant Field Values
 
 - 
DEFAULT_LDAP_GROUPS_PATHpublic static final String DEFAULT_LDAP_GROUPS_PATH - See Also:
- Constant Field Values
 
 
- 
 - 
Constructor Detail- 
GroupMapperConfigpublic GroupMapperConfig(ComponentModel mapperModel) 
 
- 
 - 
Method Detail- 
getGroupsDnpublic String getGroupsDn() 
 - 
getLDAPGroupsDnpublic String getLDAPGroupsDn() - Specified by:
- getLDAPGroupsDnin class- CommonLDAPGroupMapperConfig
 
 - 
getGroupNameLdapAttributepublic String getGroupNameLdapAttribute() 
 - 
getLDAPGroupNameLdapAttributepublic String getLDAPGroupNameLdapAttribute() - Specified by:
- getLDAPGroupNameLdapAttributein class- CommonLDAPGroupMapperConfig
 
 - 
isPreserveGroupsInheritancepublic boolean isPreserveGroupsInheritance() 
 - 
isIgnoreMissingGroupspublic boolean isIgnoreMissingGroups() 
 - 
getGroupObjectClassespublic Collection<String> getGroupObjectClasses(LDAPStorageProvider ldapProvider) 
 - 
getGroupAttributespublic Collection<String> getGroupAttributes() 
 - 
getCustomLdapFilterpublic String getCustomLdapFilter() 
 - 
isDropNonExistingGroupsDuringSyncpublic boolean isDropNonExistingGroupsDuringSync() 
 - 
getUserGroupsRetrieveStrategypublic String getUserGroupsRetrieveStrategy() 
 - 
getGroupsPathpublic String getGroupsPath() 
 - 
getGroupsPathWithTrailingSlashpublic String getGroupsPathWithTrailingSlash() 
 - 
isTopLevelGroupsPathpublic boolean isTopLevelGroupsPath() 
 
- 
 
-