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,
org.codehaus.jackson.map.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 © 2018. All rights reserved.