Class DefaultGraphUserTenantIdProvider
java.lang.Object
com.flowable.idm.engine.microsoft.graph.DefaultGraphUserTenantIdProvider
- All Implemented Interfaces:
GraphUserTenantIdProvider
- Author:
- Roger Villars
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected OrFiltercreateFilter(Collection<String> tenantIdMappings, String tenantId) createTenantIdFilter(String queryTenantId) Method for providing the optionalStringfor the tenant being queried.createTenantIdLikeFilter(String queryTenantIdLike) Method for providing the optionalFilterfor the tenant id like value being queried.determineTenantId(tools.jackson.databind.JsonNode valueNode) Method for extracting the tenant id for a user from the providedJsonNodevoidsetUserProperties(GraphUserProperties userProperties)
-
Field Details
-
logger
protected final org.slf4j.Logger logger -
userProperties
-
-
Constructor Details
-
DefaultGraphUserTenantIdProvider
-
-
Method Details
-
determineTenantId
Description copied from interface:GraphUserTenantIdProviderMethod for extracting the tenant id for a user from the providedJsonNode- Specified by:
determineTenantIdin interfaceGraphUserTenantIdProvider- Parameters:
valueNode- the valueNode that can be used to determine the tenant id- Returns:
- the tenant id that the user should have
-
createTenantIdFilter
Description copied from interface:GraphUserTenantIdProviderMethod for providing the optionalStringfor the tenant being queried. If no filter is provided, then querying on tenant id would be ignored.- Specified by:
createTenantIdFilterin interfaceGraphUserTenantIdProvider- Parameters:
queryTenantId- the query tenant id, nevernull- Returns:
- the optional Graph API filter
-
createTenantIdLikeFilter
Description copied from interface:GraphUserTenantIdProviderMethod 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 interfaceGraphUserTenantIdProvider- Parameters:
queryTenantIdLike- the query tenant id like value, nevernull- Returns:
- the optional Graph API filter
-
createFilter
-
getUserProperties
-
setUserProperties
-