Interface LdapGroupTenantIdProvider
- All Known Implementing Classes:
DefaultLdapGroupTenantIdProvider
public interface LdapGroupTenantIdProvider
A provider for a tenant id for a group based on LDAP group
Attributes.- Author:
- Filip Hrisafov
-
Method Summary
Modifier and TypeMethodDescriptioncreateTenantIdFilter(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 group from the providedAttributes
-
Method Details
-
determineTenantId
Method for extracting the tenant id for a group from the providedAttributes- Parameters:
attributes- the attributes that can be used to determine the tenant id- Returns:
- the tenant id that the group should have
-
createTenantIdFilter
-
createTenantIdLikeFilter
Method 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.
- Parameters:
queryTenantIdLike- the query tenant id like value, nevernull- Returns:
- the optional LDAP filter
-