Class CamundaCCSMTenantAuthorizationService
java.lang.Object
io.camunda.optimize.service.security.util.tenant.CamundaCCSMTenantAuthorizationService
- All Implemented Interfaces:
DataSourceTenantAuthorizationService
@Conditional(io.camunda.optimize.service.util.configuration.condition.CCSMCondition.class)
@Component
public class CamundaCCSMTenantAuthorizationService
extends Object
implements DataSourceTenantAuthorizationService
-
Constructor Summary
ConstructorsConstructorDescriptionCamundaCCSMTenantAuthorizationService(CCSMTokenService ccsmTokenService, ConfigurationService configurationService) -
Method Summary
Modifier and TypeMethodDescriptionbooleanisAuthorizedToSeeAllTenants(String identityId, IdentityType identityType, List<String> tenantIds) booleanisAuthorizedToSeeTenant(String identityId, IdentityType identityType, String tenantId) booleanisAuthorizedToSeeTenant(String identityId, IdentityType identityType, String tenantId, String dataSourceName)
-
Constructor Details
-
CamundaCCSMTenantAuthorizationService
public CamundaCCSMTenantAuthorizationService(CCSMTokenService ccsmTokenService, ConfigurationService configurationService)
-
-
Method Details
-
isAuthorizedToSeeAllTenants
public boolean isAuthorizedToSeeAllTenants(String identityId, IdentityType identityType, List<String> tenantIds) - Specified by:
isAuthorizedToSeeAllTenantsin interfaceDataSourceTenantAuthorizationService
-
isAuthorizedToSeeTenant
public boolean isAuthorizedToSeeTenant(String identityId, IdentityType identityType, String tenantId) - Specified by:
isAuthorizedToSeeTenantin interfaceDataSourceTenantAuthorizationService
-
isAuthorizedToSeeTenant
public boolean isAuthorizedToSeeTenant(String identityId, IdentityType identityType, String tenantId, String dataSourceName) - Specified by:
isAuthorizedToSeeTenantin interfaceDataSourceTenantAuthorizationService
-
getCurrentUserTenantAuthorizations
-
getCurrentUserAuthorizedTenants
-