|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.camunda.bpm.engine.impl.cfg.auth.AuthorizationCommandChecker
public class AuthorizationCommandChecker
CommandChecker that uses the AuthorizationManager to perform
authorization checks.
| Constructor Summary | |
|---|---|
AuthorizationCommandChecker()
|
|
| Method Summary | |
|---|---|
void |
checkCreateCaseInstance(CaseDefinition caseDefinition)
Checks if it is allowed to create an instance of the given case definition. |
void |
checkCreateProcessInstance(ProcessDefinition processDefinition)
Checks if it is allowed to create an instance of the given process definition. |
void |
checkEvaluateDecision(DecisionDefinition decisionDefinition)
Checks if it is allowed to evaluate the given decision. |
void |
checkReadProcessDefinition(ProcessDefinition processDefinition)
Checks if it is allowed to read the given process definition. |
void |
checkUpdateProcessDefinitionById(String processDefinitionId)
Checks if it is allowed to update a process definition of the given process definition id. |
void |
checkUpdateProcessDefinitionByKey(String processDefinitionKey)
Checks if it is allowed to update a process definition of the given process definition key. |
void |
checkUpdateProcessInstanceById(String processInstanceId)
Checks if it is allowed to update a process instance of the given process instance id. |
void |
checkUpdateProcessInstanceByProcessDefinitionId(String processDefinitionId)
Checks if it is allowed to update a process instance of the given process definition id. |
void |
checkUpdateProcessInstanceByProcessDefinitionKey(String processDefinitionKey)
Checks if it is allowed to update a process instance of the given process definition key. |
protected ExecutionEntity |
findExecutionById(String processInstanceId)
|
protected ProcessDefinitionEntity |
findLatestProcessDefinitionById(String processDefinitionId)
|
protected AuthorizationManager |
getAuthorizationManager()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AuthorizationCommandChecker()
| Method Detail |
|---|
public void checkEvaluateDecision(DecisionDefinition decisionDefinition)
CommandChecker
checkEvaluateDecision in interface CommandCheckerpublic void checkCreateProcessInstance(ProcessDefinition processDefinition)
CommandChecker
checkCreateProcessInstance in interface CommandCheckerpublic void checkReadProcessDefinition(ProcessDefinition processDefinition)
CommandChecker
checkReadProcessDefinition in interface CommandCheckerpublic void checkCreateCaseInstance(CaseDefinition caseDefinition)
CommandChecker
checkCreateCaseInstance in interface CommandCheckerpublic void checkUpdateProcessDefinitionById(String processDefinitionId)
CommandChecker
checkUpdateProcessDefinitionById in interface CommandCheckerpublic void checkUpdateProcessDefinitionByKey(String processDefinitionKey)
CommandChecker
checkUpdateProcessDefinitionByKey in interface CommandCheckerpublic void checkUpdateProcessInstanceByProcessDefinitionId(String processDefinitionId)
CommandChecker
checkUpdateProcessInstanceByProcessDefinitionId in interface CommandCheckerpublic void checkUpdateProcessInstanceByProcessDefinitionKey(String processDefinitionKey)
CommandChecker
checkUpdateProcessInstanceByProcessDefinitionKey in interface CommandCheckerpublic void checkUpdateProcessInstanceById(String processInstanceId)
CommandChecker
checkUpdateProcessInstanceById in interface CommandCheckerprotected AuthorizationManager getAuthorizationManager()
protected ProcessDefinitionEntity findLatestProcessDefinitionById(String processDefinitionId)
protected ExecutionEntity findExecutionById(String processInstanceId)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||