Class BaseServiceDefinitionResource
java.lang.Object
com.flowable.serviceregistry.rest.service.api.repository.BaseServiceDefinitionResource
- Direct Known Subclasses:
ServiceDefinitionCollectionResource,ServiceDefinitionResource,ServiceDeploymentCollectionResource,ServiceDeploymentResource,ServiceDeploymentResourceDataResource,ServiceEngineResource
public class BaseServiceDefinitionResource
extends java.lang.Object
- Author:
- Valentin Zickner
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.String[]additionalAdminUsersprotected java.lang.IntegerdefaultListResponseSizeprotected com.flowable.core.spring.security.interceptor.PlatformSecurityInterceptorplatformSecurityInterceptorprotected ServiceRegistryRepositoryServiceserviceRegistryRepositoryService -
Constructor Summary
Constructors Constructor Description BaseServiceDefinitionResource(ServiceRegistryRepositoryService serviceRegistryRepositoryService) -
Method Summary
Modifier and Type Method Description protected booleancurrentUserHasAdminRights()protected booleancurrentUserIsSuperAdmin()protected voidvalidateAccessToServiceManagement()
-
Field Details
-
serviceRegistryRepositoryService
-
platformSecurityInterceptor
@Autowired(required=false) protected com.flowable.core.spring.security.interceptor.PlatformSecurityInterceptor platformSecurityInterceptor -
additionalAdminUsers
@Value("${flowable.platform.idm.additional-admin-users:}") protected java.lang.String[] additionalAdminUsers -
defaultListResponseSize
@Value("${flowable.platform.rest.default-list-response-size:100}") protected java.lang.Integer defaultListResponseSize
-
-
Constructor Details
-
BaseServiceDefinitionResource
public BaseServiceDefinitionResource(ServiceRegistryRepositoryService serviceRegistryRepositoryService)
-
-
Method Details
-
currentUserHasAdminRights
protected boolean currentUserHasAdminRights() -
currentUserIsSuperAdmin
protected boolean currentUserIsSuperAdmin() -
validateAccessToServiceManagement
protected void validateAccessToServiceManagement()
-