public abstract class AbstractAuthorizedRestResource extends AbstractRestProcessEngineAware
Modifier and Type | Field and Description |
---|---|
protected Resource |
resource |
protected String |
resourceId |
relativeRootResourcePath
processEngine
Constructor and Description |
---|
AbstractAuthorizedRestResource(Resource resource,
String resourceId) |
AbstractAuthorizedRestResource(String processEngineName,
Resource resource,
String resourceId) |
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) |
getProcessEngine, setRelativeRootResourceUri
protected final Resource resource
protected final String resourceId
public AbstractAuthorizedRestResource(String processEngineName, Resource resource, String resourceId)
protected boolean isAuthorized(Permission permission, Resource resource, String resourceId)
protected boolean isAuthorized(Permission permission, Resource resource)
protected boolean isAuthorized(Permission permission)
Copyright © 2015. All rights reserved.