Package com.flowable.idm.engine.ldap
Class DefaultLdapUserTenantIdProvider
java.lang.Object
com.flowable.idm.engine.ldap.DefaultLdapUserTenantIdProvider
- All Implemented Interfaces:
LdapUserTenantIdProvider
- 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 user from the providedAttributes
void
setUserProperties
(LdapUserProperties userProperties)
-
Field Details
-
logger
protected final org.slf4j.Logger logger -
userProperties
-
-
Constructor Details
-
DefaultLdapUserTenantIdProvider
-
-
Method Details
-
determineTenantId
Description copied from interface:LdapUserTenantIdProvider
Method for extracting the tenant id for a user from the providedAttributes
- Specified by:
determineTenantId
in interfaceLdapUserTenantIdProvider
- Parameters:
attributes
- the attributes that can be used to determine the tenant id- Returns:
- the tenant id that the user should have
-
createTenantIdFilter
Description copied from interface:LdapUserTenantIdProvider
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 interfaceLdapUserTenantIdProvider
- Parameters:
queryTenantId
- the query tenant id, nevernull
- Returns:
- the optional LDAP filter
-
createFilter
-
getUserProperties
-
setUserProperties
-