public abstract class AbstractAuthorizedRestResource extends AbstractRestProcessEngineAware
Modifier and Type | Field and Description |
---|---|
protected Resource |
resource |
protected String |
resourceId |
objectMapper, relativeRootResourcePath
processEngine
Constructor and Description |
---|
AbstractAuthorizedRestResource(String processEngineName,
Resource resource,
String resourceId,
com.fasterxml.jackson.databind.ObjectMapper objectMapper) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
isAuthorized(Permission permission) |
protected boolean |
isAuthorized(Permission permission,
Resource resource) |
protected boolean |
isAuthorized(Permission permission,
Resource resource,
String resourceId) |
getObjectMapper, getProcessEngine, setRelativeRootResourceUri
protected final Resource resource
protected final String resourceId
protected boolean isAuthorized(Permission permission, Resource resource, String resourceId)
protected boolean isAuthorized(Permission permission, Resource resource)
protected boolean isAuthorized(Permission permission)
Copyright © 2021. All rights reserved.