Package io.camunda.zeebe.auth.impl
Class TenantAuthorizationCheckerImpl
java.lang.Object
io.camunda.zeebe.auth.impl.TenantAuthorizationCheckerImpl
- All Implemented Interfaces:
TenantAuthorizationChecker
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic TenantAuthorizationCheckerfromAuthorizationMap(Map<String, Object> authMap) isAuthorized(String tenantId) Verifies if data can be accessed for the tenant whose identifier was provided.isFullyAuthorized(List<String> tenantIds) Verifies if data can be accessed for the list of tenants whose identifiers were provided.
-
Constructor Details
-
TenantAuthorizationCheckerImpl
-
-
Method Details
-
isAuthorized
Description copied from interface:TenantAuthorizationCheckerVerifies if data can be accessed for the tenant whose identifier was provided.- Specified by:
isAuthorizedin interfaceTenantAuthorizationChecker- Parameters:
tenantId- the tenant identifier to be checked- Returns:
true
-
isFullyAuthorized
Description copied from interface:TenantAuthorizationCheckerVerifies if data can be accessed for the list of tenants whose identifiers were provided.- Specified by:
isFullyAuthorizedin interfaceTenantAuthorizationChecker- Parameters:
tenantIds- the tenant identifier to be checked- Returns:
true
-
fromAuthorizationMap
-