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.createTenantIdLikeFilter(String queryTenantIdLike) Method for providing the optionalFilterfor the tenant id like value 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
-
createTenantIdLikeFilter
Description copied from interface:LdapUserTenantIdProviderMethod for providing the optionalFilterfor the tenant id like value being queried. If no filter is provided, then querying on tenant id like would be ignored.The default implementation provides no filter.
- Specified by:
createTenantIdLikeFilterin interfaceLdapUserTenantIdProvider- Parameters:
queryTenantIdLike- the query tenant id like value, nevernull- Returns:
- the optional LDAP filter
-
createFilter
-
getUserProperties
-
setUserProperties
-