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
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 user from the providedAttributesvoidsetUserProperties(LdapUserProperties userProperties)
-
Field Details
-
logger
protected final org.slf4j.Logger logger -
userProperties
-
-
Constructor Details
-
DefaultLdapUserTenantIdProvider
-
-
Method Details
-
determineTenantId
Description copied from interface:LdapUserTenantIdProviderMethod for extracting the tenant id for a user from the providedAttributes- Specified by:
determineTenantIdin 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:LdapUserTenantIdProviderMethod for providing the optionalFilterfor the tenant being queried. If no filter is provided, then querying on tenant id would be ignored.- Specified by:
createTenantIdFilterin interfaceLdapUserTenantIdProvider- Parameters:
queryTenantId- the query tenant id, nevernull- Returns:
- the optional LDAP filter
-
createFilter
-
getUserProperties
-
setUserProperties
-