|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ResourceAuthorizationProvider
Manages (create/update/delete) default authorization when an entity is changed
Implementations should throw an exception when a specific resource's id is *, as
* represents access to all resources/by all users.
| Method Summary | |
|---|---|
AuthorizationEntity[] |
deleteTaskGroupIdentityLink(Task task,
String groupId,
String type)
Invoked whenever a group identity link of a task has been deleted. |
AuthorizationEntity[] |
deleteTaskUserIdentityLink(Task task,
String userId,
String type)
Invoked whenever a user identity link of a task has been deleted. |
AuthorizationEntity[] |
groupMembershipCreated(String groupId,
String userId)
Invoked whenever a user is added to a group |
AuthorizationEntity[] |
newDecisionDefinition(DecisionDefinition decisionDefinition)
Invoked whenever a new decision definition is created. |
AuthorizationEntity[] |
newDeployment(Deployment deployment)
Invoked whenever a new deployment is created |
AuthorizationEntity[] |
newFilter(Filter filter)
Invoked whenever a new filter is created |
AuthorizationEntity[] |
newGroup(Group group)
Invoked whenever a new group is created |
AuthorizationEntity[] |
newProcessDefinition(ProcessDefinition processDefinition)
Invoked whenever a new process definition is created |
AuthorizationEntity[] |
newProcessInstance(ProcessInstance processInstance)
Invoked whenever a new process instance is started |
AuthorizationEntity[] |
newTask(Task task)
Invoked whenever a new task is created |
AuthorizationEntity[] |
newTaskAssignee(Task task,
String oldAssignee,
String newAssignee)
Invoked whenever an user has been assigned to a task. |
AuthorizationEntity[] |
newTaskGroupIdentityLink(Task task,
String groupId,
String type)
Invoked whenever a new group identity link has been added to a task. |
AuthorizationEntity[] |
newTaskOwner(Task task,
String oldOwner,
String newOwner)
Invoked whenever an user has been set as the owner of a task. |
AuthorizationEntity[] |
newTaskUserIdentityLink(Task task,
String userId,
String type)
Invoked whenever a new user identity link has been added to a task. |
AuthorizationEntity[] |
newTenant(Tenant tenant)
Invoked whenever a new tenant is created |
AuthorizationEntity[] |
newUser(User user)
Invoked whenever a new user is created |
| Method Detail |
|---|
AuthorizationEntity[] newUser(User user)
Invoked whenever a new user is created
user - a newly created user
AuthorizationEntity[] newGroup(Group group)
Invoked whenever a new group is created
group - a newly created Group
Group is created.AuthorizationEntity[] newTenant(Tenant tenant)
Invoked whenever a new tenant is created
tenant - a newly created Tenant
Tenant is created.
AuthorizationEntity[] groupMembershipCreated(String groupId,
String userId)
Invoked whenever a user is added to a group
userId - the id of the user who is added to a group a newly created
UsergroupId - the id of the group to which the user is added
User is created.AuthorizationEntity[] newFilter(Filter filter)
Invoked whenever a new filter is created
filter - the newly created filter
Filter is created.AuthorizationEntity[] newDeployment(Deployment deployment)
Invoked whenever a new deployment is created
deployment - the newly created deployment
Deployment is created.AuthorizationEntity[] newProcessDefinition(ProcessDefinition processDefinition)
Invoked whenever a new process definition is created
processDefinition - the newly created process definition
ProcessDefinition is created.AuthorizationEntity[] newProcessInstance(ProcessInstance processInstance)
Invoked whenever a new process instance is started
processInstance - the newly started process instance
ProcessInstance is started.AuthorizationEntity[] newTask(Task task)
Invoked whenever a new task is created
task - the newly created task
Task is created.
AuthorizationEntity[] newTaskAssignee(Task task,
String oldAssignee,
String newAssignee)
Invoked whenever an user has been assigned to a task.
task - the task on which the assignee has been changedoldAssignee - the old assignee of the tasknewAssignee - the new assignee of the task
AuthorizationEntity[] newTaskOwner(Task task,
String oldOwner,
String newOwner)
Invoked whenever an user has been set as the owner of a task.
task - the task on which the owner has been changedoldOwner - the old owner of the tasknewOwner - the new owner of the task
AuthorizationEntity[] newTaskUserIdentityLink(Task task,
String userId,
String type)
Invoked whenever a new user identity link has been added to a task.
task - the task on which a new identity link has been addeduserId - the user for which the identity link has been createdtype - the type of the identity link (e.g. IdentityLinkType.CANDIDATE)
AuthorizationEntity[] newTaskGroupIdentityLink(Task task,
String groupId,
String type)
Invoked whenever a new group identity link has been added to a task.
task - the task on which a new identity link has been addedgroupId - the group for which the identity link has been createdtype - the type of the identity link (e.g. IdentityLinkType.CANDIDATE)
AuthorizationEntity[] deleteTaskUserIdentityLink(Task task,
String userId,
String type)
Invoked whenever a user identity link of a task has been deleted.
task - the task on which the identity link has been deleteduserId - the user for which the identity link has been deletedtype - the type of the identity link (e.g. IdentityLinkType.CANDIDATE)
AuthorizationEntity[] deleteTaskGroupIdentityLink(Task task,
String groupId,
String type)
Invoked whenever a group identity link of a task has been deleted.
task - the task on which the identity link has been deletedgroupId - the group for which the identity link has been deletedtype - the type of the identity link (e.g. IdentityLinkType.CANDIDATE)
AuthorizationEntity[] newDecisionDefinition(DecisionDefinition decisionDefinition)
Invoked whenever a new decision definition is created.
decisionDefinition - the newly created decision definition
DecisionDefinition is created.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||