public interface LdapUserTenantIdProvider
Attributes
.Modifier and Type | Method and Description |
---|---|
Optional<Filter> |
createTenantIdFilter(String queryTenantId)
Method for providing the optional
Filter for the tenant being queried. |
String |
determineTenantId(Attributes attributes)
Method for extracting the tenant id for a user from the provided
Attributes |
String determineTenantId(Attributes attributes)
Attributes
attributes
- the attributes that can be used to determine the tenant idOptional<Filter> createTenantIdFilter(String queryTenantId)
Filter
for the tenant being queried.
If no filter is provided, then querying on tenant id would be ignored.queryTenantId
- the query tenant id, never null