Class CamundaCCSMTenantService
java.lang.Object
io.camunda.optimize.service.tenant.CamundaCCSMTenantService
- All Implemented Interfaces:
TenantService
@Component
@Conditional(io.camunda.optimize.service.util.configuration.condition.CCSMCondition.class)
public class CamundaCCSMTenantService
extends Object
implements TenantService
-
Constructor Summary
ConstructorsConstructorDescriptionCamundaCCSMTenantService(CamundaCCSMTenantAuthorizationService tenantAuthorizationService, ConfigurationService configurationService) -
Method Summary
Modifier and TypeMethodDescriptiongetTenantsForUser(String userId) booleanisAuthorizedToSeeTenant(String userId, String tenantId) booleanMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.camunda.optimize.service.tenant.TenantService
getTenantIdsForUser
-
Constructor Details
-
CamundaCCSMTenantService
public CamundaCCSMTenantService(CamundaCCSMTenantAuthorizationService tenantAuthorizationService, ConfigurationService configurationService)
-
-
Method Details
-
isAuthorizedToSeeTenant
- Specified by:
isAuthorizedToSeeTenantin interfaceTenantService
-
isMultiTenantEnvironment
public boolean isMultiTenantEnvironment()- Specified by:
isMultiTenantEnvironmentin interfaceTenantService
-
getTenantsForUser
- Specified by:
getTenantsForUserin interfaceTenantService
-