Uses of Class
org.camunda.bpm.engine.impl.persistence.entity.AuthorizationEntity
Package
Description
-
Uses of AuthorizationEntity in org.camunda.bpm.engine.impl.cfg.auth
Modifier and TypeMethodDescriptionprotected AuthorizationEntity
DefaultAuthorizationProvider.createAuthorization
(String userId, String groupId, Resource resource, String resourceId, Permission... permissions) protected AuthorizationEntity
DefaultAuthorizationProvider.createGrantAuthorization
(String userId, String groupId, Resource resource, String resourceId, Permission... permissions) protected AuthorizationEntity
DefaultAuthorizationProvider.createOrUpdateAuthorization
(Task task, String userId, String groupId, Resource resource, boolean isHistoric, Permission... permissions) protected AuthorizationEntity[]
DefaultAuthorizationProvider.createOrUpdateAuthorizations
(Task task, String groupId, String userId) (1) Fetch existing runtime & history authorizations (2) Update authorizations: (2a) fetched authorization == null -> create a new runtime authorization (with READ, (UPDATE/TASK_WORK) permission, and READ_VARIABLE if enabled) -> create a new history authorization (with READ on HISTORIC_TASK) (2b) fetched authorization != null -> Add READ, (UPDATE/TASK_WORK) permission, and READ_VARIABLE if enabled UPDATE or TASK_WORK permission is configurable in camunda.cfg.xml and by default, UPDATE permission is provided -> Add READ on HISTORIC_TASKprotected AuthorizationEntity[]
DefaultAuthorizationProvider.createOrUpdateAuthorizationsByGroupId
(Task task, String groupId) protected AuthorizationEntity[]
DefaultAuthorizationProvider.createOrUpdateAuthorizationsByUserId
(Task task, String userId) DefaultAuthorizationProvider.deleteTaskGroupIdentityLink
(Task task, String groupId, String type) ResourceAuthorizationProvider.deleteTaskGroupIdentityLink
(Task task, String groupId, String type) Invoked whenever a group identity link of a task has been deleted.DefaultAuthorizationProvider.deleteTaskUserIdentityLink
(Task task, String userId, String type) ResourceAuthorizationProvider.deleteTaskUserIdentityLink
(Task task, String userId, String type) Invoked whenever a user identity link of a task has been deleted.protected AuthorizationEntity
DefaultAuthorizationProvider.getGrantAuthorization
(String taskId, String userId, String groupId, Resource resource) protected AuthorizationEntity
DefaultAuthorizationProvider.getGrantAuthorizationByGroupId
(String groupId, Resource resource, String resourceId) protected AuthorizationEntity
DefaultAuthorizationProvider.getGrantAuthorizationByUserId
(String userId, Resource resource, String resourceId) DefaultAuthorizationProvider.groupMembershipCreated
(String groupId, String userId) ResourceAuthorizationProvider.groupMembershipCreated
(String groupId, String userId) Invoked whenever a user is added to a groupDefaultAuthorizationProvider.newDecisionDefinition
(DecisionDefinition decisionDefinition) ResourceAuthorizationProvider.newDecisionDefinition
(DecisionDefinition decisionDefinition) Invoked whenever a new decision definition is created.DefaultAuthorizationProvider.newDecisionRequirementsDefinition
(DecisionRequirementsDefinition decisionRequirementsDefinition) ResourceAuthorizationProvider.newDecisionRequirementsDefinition
(DecisionRequirementsDefinition decisionRequirementsDefinition) Invoked whenever a new decision requirements definition is created.DefaultAuthorizationProvider.newDeployment
(Deployment deployment) ResourceAuthorizationProvider.newDeployment
(Deployment deployment) Invoked whenever a new deployment is createdInvoked whenever a new filter is createdInvoked whenever a new group is createdDefaultAuthorizationProvider.newProcessDefinition
(ProcessDefinition processDefinition) ResourceAuthorizationProvider.newProcessDefinition
(ProcessDefinition processDefinition) Invoked whenever a new process definition is createdDefaultAuthorizationProvider.newProcessInstance
(ProcessInstance processInstance) ResourceAuthorizationProvider.newProcessInstance
(ProcessInstance processInstance) Invoked whenever a new process instance is startedInvoked whenever a new task is createdDefaultAuthorizationProvider.newTaskAssignee
(Task task, String oldAssignee, String newAssignee) ResourceAuthorizationProvider.newTaskAssignee
(Task task, String oldAssignee, String newAssignee) Invoked whenever an user has been assigned to a task.DefaultAuthorizationProvider.newTaskGroupIdentityLink
(Task task, String groupId, String type) ResourceAuthorizationProvider.newTaskGroupIdentityLink
(Task task, String groupId, String type) Invoked whenever a new group identity link has been added to a task.DefaultAuthorizationProvider.newTaskOwner
(Task task, String oldOwner, String newOwner) ResourceAuthorizationProvider.newTaskOwner
(Task task, String oldOwner, String newOwner) Invoked whenever an user has been set as the owner of a task.DefaultAuthorizationProvider.newTaskUserIdentityLink
(Task task, String userId, String type) ResourceAuthorizationProvider.newTaskUserIdentityLink
(Task task, String userId, String type) Invoked whenever a new user identity link has been added to a task.Invoked whenever a new tenant is createdInvoked whenever a new user is createdDefaultAuthorizationProvider.tenantMembershipCreated
(Tenant tenant, Group group) DefaultAuthorizationProvider.tenantMembershipCreated
(Tenant tenant, User user) ResourceAuthorizationProvider.tenantMembershipCreated
(Tenant tenant, Group group) Invoked whenever a group is added to a tenant.ResourceAuthorizationProvider.tenantMembershipCreated
(Tenant tenant, User user) Invoked whenever an user is added to a tenant.Modifier and TypeMethodDescriptionprotected void
DefaultAuthorizationProvider.addPermissions
(AuthorizationEntity authorization, Permission... permissions) protected boolean
DefaultAuthorizationProvider.hasEntitySameAuthorizationRights
(AuthorizationEntity authEntity, String userId, String groupId, Resource resource, String resourceId) protected void
DefaultAuthorizationProvider.provideRemovalTime
(AuthorizationEntity authorization, Task task) 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. -
Uses of AuthorizationEntity in org.camunda.bpm.engine.impl.cmd
Modifier and TypeFieldDescriptionprotected AuthorizationEntity
SaveAuthorizationCmd.authorization
-
Uses of AuthorizationEntity in org.camunda.bpm.engine.impl.persistence
Modifier and TypeMethodDescriptionvoid
AbstractManager.deleteDefaultAuthorizations
(AuthorizationEntity[] authorizations) void
AbstractManager.saveDefaultAuthorizations
(AuthorizationEntity[] authorizations) -
Uses of AuthorizationEntity in org.camunda.bpm.engine.impl.persistence.entity
Modifier and TypeMethodDescriptionAuthorizationManager.findAuthorization
(int type, String userId, String groupId, Resource resource, String resourceId) AuthorizationManager.findAuthorizationByGroupIdAndResourceId
(int type, String groupId, Resource resource, String resourceId) AuthorizationManager.findAuthorizationByUserIdAndResourceId
(int type, String userId, Resource resource, String resourceId) Modifier and TypeMethodDescriptionprotected void
TaskEntity.deleteAuthorizations
(AuthorizationEntity[] authorizations) protected String
UserOperationLogManager.getPermissionStringList
(AuthorizationEntity authorization) void
UserOperationLogManager.logAuthorizationOperation
(String operation, AuthorizationEntity authorization, AuthorizationEntity previousValues) protected void
TaskEntity.saveAuthorizations
(AuthorizationEntity[] authorizations) void
AuthorizationManager.update
(AuthorizationEntity authorization) void
AuthorizationManager.validateResourceCompatibility
(AuthorizationEntity authorization)