- public interface AuthorizationHandler
verifies if an authenticated user has enough privileges. An AuthorizationHandler
can be specified on the level of a process definition. All method-calls to
the admin and execution component that are related to that process definition
will call the AuthorizationHandler to validate authorization.
|
Method Summary |
void |
checkCancelFlow(java.lang.String authenticatedActorId,
java.lang.Long flowId)
|
void |
checkCancelProcessInstance(java.lang.String authenticatedActorId,
java.lang.Long processInstanceId)
|
void |
checkDelegateActivity(java.lang.String authenticatedActorId,
java.lang.Long flowId,
java.lang.String delegateActorId)
|
void |
checkGetActivityForm(java.lang.String authenticatedActorId,
java.lang.Long flowId)
|
void |
checkGetFlow(java.lang.String authenticatedActorId,
java.lang.Long flowId)
|
void |
checkGetStartForm(java.lang.String authenticatedActorId,
java.lang.Long processDefinitionId)
|
void |
checkPerformActivity(java.lang.String authenticatedActorId,
java.lang.Long flowId,
java.util.Map attributeValues,
java.lang.String transitionName)
|
void |
checkRemoveProcessDefinition(java.lang.String authenticatedActorId,
java.lang.Long processDefinitionId)
|
void |
checkRemoveProcessInstance(java.lang.String authenticatedActorId,
java.lang.Long processInstanceId)
|
void |
checkStartProcessInstance(java.lang.String authenticatedActorId,
java.lang.Long processDefinitionId,
java.util.Map attributeValues,
java.lang.String transitionName)
|
checkRemoveProcessInstance
public void checkRemoveProcessInstance(java.lang.String authenticatedActorId,
java.lang.Long processInstanceId)
throws org.jbpm.workflow.execution.AuthorizationException
checkRemoveProcessDefinition
public void checkRemoveProcessDefinition(java.lang.String authenticatedActorId,
java.lang.Long processDefinitionId)
throws org.jbpm.workflow.execution.AuthorizationException
checkStartProcessInstance
public void checkStartProcessInstance(java.lang.String authenticatedActorId,
java.lang.Long processDefinitionId,
java.util.Map attributeValues,
java.lang.String transitionName)
throws org.jbpm.workflow.execution.AuthorizationException
checkGetStartForm
public void checkGetStartForm(java.lang.String authenticatedActorId,
java.lang.Long processDefinitionId)
throws org.jbpm.workflow.execution.AuthorizationException
checkGetActivityForm
public void checkGetActivityForm(java.lang.String authenticatedActorId,
java.lang.Long flowId)
throws org.jbpm.workflow.execution.AuthorizationException
checkPerformActivity
public void checkPerformActivity(java.lang.String authenticatedActorId,
java.lang.Long flowId,
java.util.Map attributeValues,
java.lang.String transitionName)
throws org.jbpm.workflow.execution.AuthorizationException
checkDelegateActivity
public void checkDelegateActivity(java.lang.String authenticatedActorId,
java.lang.Long flowId,
java.lang.String delegateActorId)
throws org.jbpm.workflow.execution.AuthorizationException
checkCancelProcessInstance
public void checkCancelProcessInstance(java.lang.String authenticatedActorId,
java.lang.Long processInstanceId)
throws org.jbpm.workflow.execution.AuthorizationException
checkCancelFlow
public void checkCancelFlow(java.lang.String authenticatedActorId,
java.lang.Long flowId)
throws org.jbpm.workflow.execution.AuthorizationException
checkGetFlow
public void checkGetFlow(java.lang.String authenticatedActorId,
java.lang.Long flowId)
throws org.jbpm.workflow.execution.AuthorizationException