Modifier and Type | Method and Description |
---|---|
protected AuthorizationEntity |
DefaultAuthorizationProvider.createGrantAuthorization(String userId,
String groupId,
Resource resource,
String resourceId,
Permission... permissions) |
AuthorizationEntity[] |
DefaultAuthorizationProvider.deleteTaskGroupIdentityLink(Task task,
String groupId,
String type) |
AuthorizationEntity[] |
ResourceAuthorizationProvider.deleteTaskGroupIdentityLink(Task task,
String groupId,
String type)
Invoked whenever a group identity link of a task has been deleted.
|
AuthorizationEntity[] |
DefaultAuthorizationProvider.deleteTaskUserIdentityLink(Task task,
String userId,
String type) |
AuthorizationEntity[] |
ResourceAuthorizationProvider.deleteTaskUserIdentityLink(Task task,
String userId,
String type)
Invoked whenever a user identity link of a task has been deleted.
|
protected AuthorizationEntity |
DefaultAuthorizationProvider.getGrantAuthorizationByGroupId(String groupId,
Resource resource,
String resourceId) |
protected AuthorizationEntity |
DefaultAuthorizationProvider.getGrantAuthorizationByUserId(String userId,
Resource resource,
String resourceId) |
AuthorizationEntity[] |
DefaultAuthorizationProvider.groupMembershipCreated(String groupId,
String userId) |
AuthorizationEntity[] |
ResourceAuthorizationProvider.groupMembershipCreated(String groupId,
String userId)
Invoked whenever a user is added to a group
|
AuthorizationEntity[] |
DefaultAuthorizationProvider.newDecisionDefinition(DecisionDefinition decisionDefinition) |
AuthorizationEntity[] |
ResourceAuthorizationProvider.newDecisionDefinition(DecisionDefinition decisionDefinition)
Invoked whenever a new decision definition is created.
|
AuthorizationEntity[] |
DefaultAuthorizationProvider.newDecisionRequirementsDefinition(DecisionRequirementsDefinition decisionRequirementsDefinition) |
AuthorizationEntity[] |
ResourceAuthorizationProvider.newDecisionRequirementsDefinition(DecisionRequirementsDefinition decisionRequirementsDefinition)
Invoked whenever a new decision requirements definition is created.
|
AuthorizationEntity[] |
DefaultAuthorizationProvider.newDeployment(Deployment deployment) |
AuthorizationEntity[] |
ResourceAuthorizationProvider.newDeployment(Deployment deployment)
Invoked whenever a new deployment is created
|
AuthorizationEntity[] |
DefaultAuthorizationProvider.newFilter(Filter filter) |
AuthorizationEntity[] |
ResourceAuthorizationProvider.newFilter(Filter filter)
Invoked whenever a new filter is created
|
AuthorizationEntity[] |
DefaultAuthorizationProvider.newGroup(Group group) |
AuthorizationEntity[] |
ResourceAuthorizationProvider.newGroup(Group group)
Invoked whenever a new group is created
|
AuthorizationEntity[] |
DefaultAuthorizationProvider.newProcessDefinition(ProcessDefinition processDefinition) |
AuthorizationEntity[] |
ResourceAuthorizationProvider.newProcessDefinition(ProcessDefinition processDefinition)
Invoked whenever a new process definition is created
|
AuthorizationEntity[] |
DefaultAuthorizationProvider.newProcessInstance(ProcessInstance processInstance) |
AuthorizationEntity[] |
ResourceAuthorizationProvider.newProcessInstance(ProcessInstance processInstance)
Invoked whenever a new process instance is started
|
AuthorizationEntity[] |
DefaultAuthorizationProvider.newTask(Task task) |
AuthorizationEntity[] |
ResourceAuthorizationProvider.newTask(Task task)
Invoked whenever a new task is created
|
AuthorizationEntity[] |
DefaultAuthorizationProvider.newTaskAssignee(Task task,
String oldAssignee,
String newAssignee) |
AuthorizationEntity[] |
ResourceAuthorizationProvider.newTaskAssignee(Task task,
String oldAssignee,
String newAssignee)
Invoked whenever an user has been assigned to a task.
|
AuthorizationEntity[] |
DefaultAuthorizationProvider.newTaskGroupIdentityLink(Task task,
String groupId,
String type) |
AuthorizationEntity[] |
ResourceAuthorizationProvider.newTaskGroupIdentityLink(Task task,
String groupId,
String type)
Invoked whenever a new group identity link has been added to a task.
|
AuthorizationEntity[] |
DefaultAuthorizationProvider.newTaskOwner(Task task,
String oldOwner,
String newOwner) |
AuthorizationEntity[] |
ResourceAuthorizationProvider.newTaskOwner(Task task,
String oldOwner,
String newOwner)
Invoked whenever an user has been set as the owner of a task.
|
AuthorizationEntity[] |
DefaultAuthorizationProvider.newTaskUserIdentityLink(Task task,
String userId,
String type) |
AuthorizationEntity[] |
ResourceAuthorizationProvider.newTaskUserIdentityLink(Task task,
String userId,
String type)
Invoked whenever a new user identity link has been added to a task.
|
AuthorizationEntity[] |
DefaultAuthorizationProvider.newTenant(Tenant tenant) |
AuthorizationEntity[] |
ResourceAuthorizationProvider.newTenant(Tenant tenant)
Invoked whenever a new tenant is created
|
AuthorizationEntity[] |
DefaultAuthorizationProvider.newUser(User user) |
AuthorizationEntity[] |
ResourceAuthorizationProvider.newUser(User user)
Invoked whenever a new user is created
|
AuthorizationEntity[] |
DefaultAuthorizationProvider.tenantMembershipCreated(Tenant tenant,
Group group) |
AuthorizationEntity[] |
ResourceAuthorizationProvider.tenantMembershipCreated(Tenant tenant,
Group group)
Invoked whenever a group is added to a tenant.
|
AuthorizationEntity[] |
DefaultAuthorizationProvider.tenantMembershipCreated(Tenant tenant,
User user) |
AuthorizationEntity[] |
ResourceAuthorizationProvider.tenantMembershipCreated(Tenant tenant,
User user)
Invoked whenever an user is added to a tenant.
|
protected AuthorizationEntity |
DefaultAuthorizationProvider.updateAuthorization(AuthorizationEntity authorization,
String userId,
String groupId,
Resource resource,
String resourceId,
Permission... permissions) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
DefaultAuthorizationProvider.hasEntitySameAuthorizationRights(AuthorizationEntity authEntity,
String userId,
String groupId,
Resource resource,
String resourceId) |
protected AuthorizationEntity |
DefaultAuthorizationProvider.updateAuthorization(AuthorizationEntity authorization,
String userId,
String groupId,
Resource resource,
String resourceId,
Permission... permissions) |
protected void |
DefaultAuthorizationProvider.updateAuthorizationBasedOnCacheEntries(AuthorizationEntity authorization,
String userId,
String groupId,
Resource resource,
String resourceId)
Searches through the cache, if there is already an authorization with same rights.
|
Modifier and Type | Field and Description |
---|---|
protected AuthorizationEntity |
SaveAuthorizationCmd.authorization |
Modifier and Type | Method and Description |
---|---|
void |
AbstractManager.deleteDefaultAuthorizations(AuthorizationEntity[] authorizations) |
void |
AbstractManager.saveDefaultAuthorizations(AuthorizationEntity[] authorizations) |
Modifier and Type | Method and Description |
---|---|
AuthorizationEntity |
AuthorizationManager.findAuthorization(int type,
String userId,
String groupId,
Resource resource,
String resourceId) |
AuthorizationEntity |
AuthorizationManager.findAuthorizationByGroupIdAndResourceId(int type,
String groupId,
Resource resource,
String resourceId) |
AuthorizationEntity |
AuthorizationManager.findAuthorizationByUserIdAndResourceId(int type,
String userId,
Resource resource,
String resourceId) |
Modifier and Type | Method and Description |
---|---|
protected void |
TaskEntity.deleteAuthorizations(AuthorizationEntity[] authorizations) |
protected void |
TaskEntity.saveAuthorizations(AuthorizationEntity[] authorizations) |
void |
AuthorizationManager.update(AuthorizationEntity authorization) |
Copyright © 2019. All rights reserved.