Package org.camunda.bpm.engine.rest.impl
Class AbstractAuthorizedRestResource
- java.lang.Object
-
- org.camunda.bpm.engine.rest.impl.AbstractRestProcessEngineAware
-
- org.camunda.bpm.engine.rest.impl.AbstractAuthorizedRestResource
-
- Direct Known Subclasses:
AbstractIdentityResource
,AuthorizationResourceImpl
,AuthorizationRestServiceImpl
,FilterResourceImpl
,FilterRestServiceImpl
,GroupRestServiceImpl
,TenantRestServiceImpl
,UserRestServiceImpl
public abstract class AbstractAuthorizedRestResource extends AbstractRestProcessEngineAware
- Author:
- Daniel Meyer
-
-
Field Summary
Fields Modifier and Type Field Description protected Resource
resource
protected String
resourceId
-
Fields inherited from class org.camunda.bpm.engine.rest.impl.AbstractRestProcessEngineAware
objectMapper, relativeRootResourcePath
-
-
Constructor Summary
Constructors Constructor Description AbstractAuthorizedRestResource(String processEngineName, Resource resource, String resourceId, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected boolean
isAuthorized(Permission permission)
protected boolean
isAuthorized(Permission permission, Resource resource)
protected boolean
isAuthorized(Permission permission, Resource resource, String resourceId)
-
Methods inherited from class org.camunda.bpm.engine.rest.impl.AbstractRestProcessEngineAware
getObjectMapper, getProcessEngine, setRelativeRootResourceUri
-
-
-
-
Method Detail
-
isAuthorized
protected boolean isAuthorized(Permission permission, Resource resource, String resourceId)
-
isAuthorized
protected boolean isAuthorized(Permission permission, Resource resource)
-
isAuthorized
protected boolean isAuthorized(Permission permission)
-
-