Package com.flowable.idm.engine.ldap
Class DefaultLdapGroupTenantIdProvider
java.lang.Object
com.flowable.idm.engine.ldap.DefaultLdapGroupTenantIdProvider
- All Implemented Interfaces:
LdapGroupTenantIdProvider
- Author:
- Filip Hrisafov
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected OrFiltercreateFilter(Collection<String> tenantIdMappings, String tenantId) createTenantIdFilter(String queryTenantId) Method for providing the optionalFilterfor the tenant being queried.determineTenantId(Attributes attributes) Method for extracting the tenant id for a group from the providedAttributesvoidsetGroupProperties(LdapGroupProperties groupProperties)
-
Field Details
-
logger
protected final org.slf4j.Logger logger -
groupProperties
-
-
Constructor Details
-
DefaultLdapGroupTenantIdProvider
-
-
Method Details
-
determineTenantId
Description copied from interface:LdapGroupTenantIdProviderMethod for extracting the tenant id for a group from the providedAttributes- Specified by:
determineTenantIdin interfaceLdapGroupTenantIdProvider- Parameters:
attributes- the attributes that can be used to determine the tenant id- Returns:
- the tenant id that the group should have
-
createTenantIdFilter
Description copied from interface:LdapGroupTenantIdProviderMethod for providing the optionalFilterfor the tenant being queried. If no filter is provided, then querying on tenant id would be ignored.- Specified by:
createTenantIdFilterin interfaceLdapGroupTenantIdProvider- Parameters:
queryTenantId- the query tenant id, nevernull- Returns:
- the optional LDAP filter
-
createFilter
-
getGroupProperties
-
setGroupProperties
-