Class CamundaCCSMDefinitionAuthorizationService
java.lang.Object
io.camunda.optimize.service.security.util.definition.CamundaCCSMDefinitionAuthorizationService
- All Implemented Interfaces:
DataSourceDefinitionAuthorizationService
@Conditional(io.camunda.optimize.service.util.configuration.condition.CCSMCondition.class)
@Component
public class CamundaCCSMDefinitionAuthorizationService
extends Object
implements DataSourceDefinitionAuthorizationService
-
Constructor Summary
ConstructorsConstructorDescriptionCamundaCCSMDefinitionAuthorizationService(CamundaCCSMTenantAuthorizationService tenantAuthorizationService) -
Method Summary
Modifier and TypeMethodDescriptionbooleanisAuthorizedToAccessDefinition(String identityId, IdentityType identityType, String definitionKey, DefinitionType definitionType, List<String> tenantIds) booleanisAuthorizedToAccessDefinition(String userId, String tenantId, SimpleDefinitionDto definition) <T extends DefinitionOptimizeResponseDto>
booleanisAuthorizedToAccessDefinition(String userId, T definition) resolveAuthorizedTenantsForProcess(String userId, SimpleDefinitionDto definitionDto, List<String> tenantIds, Set<String> engines) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.camunda.optimize.service.security.util.definition.DataSourceDefinitionAuthorizationService
isAuthorizedToAccessDefinition
-
Constructor Details
-
CamundaCCSMDefinitionAuthorizationService
public CamundaCCSMDefinitionAuthorizationService(CamundaCCSMTenantAuthorizationService tenantAuthorizationService)
-
-
Method Details
-
isAuthorizedToAccessDefinition
public boolean isAuthorizedToAccessDefinition(String identityId, IdentityType identityType, String definitionKey, DefinitionType definitionType, List<String> tenantIds) - Specified by:
isAuthorizedToAccessDefinitionin interfaceDataSourceDefinitionAuthorizationService
-
resolveAuthorizedTenantsForProcess
public List<TenantDto> resolveAuthorizedTenantsForProcess(String userId, SimpleDefinitionDto definitionDto, List<String> tenantIds, Set<String> engines) - Specified by:
resolveAuthorizedTenantsForProcessin interfaceDataSourceDefinitionAuthorizationService
-
isAuthorizedToAccessDefinition
public boolean isAuthorizedToAccessDefinition(String userId, String tenantId, SimpleDefinitionDto definition) - Specified by:
isAuthorizedToAccessDefinitionin interfaceDataSourceDefinitionAuthorizationService
-
isAuthorizedToAccessDefinition
public <T extends DefinitionOptimizeResponseDto> boolean isAuthorizedToAccessDefinition(String userId, T definition) - Specified by:
isAuthorizedToAccessDefinitionin interfaceDataSourceDefinitionAuthorizationService
-