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
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected OrFilter
createFilter
(Collection<String> tenantIdMappings, String tenantId) createTenantIdFilter
(String queryTenantId) Method for providing the optionalFilter
for the tenant being queried.determineTenantId
(Attributes attributes) Method for extracting the tenant id for a group from the providedAttributes
void
setGroupProperties
(LdapGroupProperties groupProperties)
-
Field Details
-
logger
protected final org.slf4j.Logger logger -
groupProperties
-
-
Constructor Details
-
DefaultLdapGroupTenantIdProvider
-
-
Method Details
-
determineTenantId
Description copied from interface:LdapGroupTenantIdProvider
Method for extracting the tenant id for a group from the providedAttributes
- Specified by:
determineTenantId
in 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:LdapGroupTenantIdProvider
Method for providing the optionalFilter
for the tenant being queried. If no filter is provided, then querying on tenant id would be ignored.- Specified by:
createTenantIdFilter
in interfaceLdapGroupTenantIdProvider
- Parameters:
queryTenantId
- the query tenant id, nevernull
- Returns:
- the optional LDAP filter
-
createFilter
-
getGroupProperties
-
setGroupProperties
-