Uses of Interface
org.camunda.bpm.engine.authorization.Resource
Package
Description
Public API of the Camunda Platform engine.
Typical usage of the API starts by the creation of a
Through the services obtained from such a
Typical usage of the API starts by the creation of a
ProcessEngineConfiguration
(typically based on a configuration file), from which a ProcessEngine
can be obtained.Through the services obtained from such a
ProcessEngine
, BPM and workflow operation
can be executed:RepositoryService
:
Manages Deployment
sRuntimeService
:
For starting and searching ProcessInstance
sTaskService
:
Exposes operations to manage human (standalone) Task
s,
such as claiming, completing and assigning tasksIdentityService
:
Used for managing User
s,
Group
s and the relations between themManagementService
:
Exposes engine admin and maintenance operations,
which have no relation to the runtime execution of business processesHistoryService
:
Exposes information about ongoing and past process instances.FormService
:
Access to form data and rendered forms for starting new process instances and completing tasks.API implementation classes, which shouldn't directly be used by end-users.
-
Uses of Resource in org.camunda.bpm.cockpit.plugin.resource
Modifier and TypeMethodDescriptionprotected void
AbstractCockpitPluginResource.addPermissionCheck
(QueryParameters query, Resource resource, String queryParam, Permission permission) Add a newPermissionCheck
with the given values. -
Uses of Resource in org.camunda.bpm.engine
Modifier and TypeMethodDescriptionboolean
AuthorizationService.isUserAuthorized
(String userId, List<String> groupIds, Permission permission, Resource resource) Allows performing an authorization check.boolean
AuthorizationService.isUserAuthorized
(String userId, List<String> groupIds, Permission permission, Resource resource, String resourceId) Allows performing an authorization check. -
Uses of Resource in org.camunda.bpm.engine.authorization
Modifier and TypeFieldDescriptionprotected static final Resource[]
BatchPermissions.RESOURCES
protected static final Resource[]
HistoricProcessInstancePermissions.RESOURCES
protected static final Resource[]
HistoricTaskPermissions.RESOURCES
Modifier and TypeMethodDescriptionResource[]
BatchPermissions.getTypes()
Resource[]
HistoricProcessInstancePermissions.getTypes()
Resource[]
HistoricTaskPermissions.getTypes()
Resource[]
OptimizePermissions.getTypes()
Deprecated.Resource[]
Permission.getTypes()
returns the resource types which are allowed for this permissionResource[]
Permissions.getTypes()
Resource[]
ProcessDefinitionPermissions.getTypes()
Resource[]
ProcessInstancePermissions.getTypes()
Resource[]
SystemPermissions.getTypes()
Resource[]
TaskPermissions.getTypes()
Resource[]
UserOperationLogCategoryPermissions.getTypes()
Modifier and TypeMethodDescriptionAuthorizationQuery.resourceType
(Resource resource) only selects authorizations for the given resource typevoid
Authorization.setResource
(Resource resource) sets the type of the resource -
Uses of Resource in org.camunda.bpm.engine.impl
Modifier and TypeMethodDescriptionboolean
AuthorizationServiceImpl.isUserAuthorized
(String userId, List<String> groupIds, Permission permission, Resource resource) boolean
AuthorizationServiceImpl.isUserAuthorized
(String userId, List<String> groupIds, Permission permission, Resource resource, String resourceId) AuthorizationQueryImpl.resourceType
(Resource resource) -
Uses of Resource 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.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) protected boolean
DefaultAuthorizationProvider.hasEntitySameAuthorizationRights
(AuthorizationEntity authEntity, String userId, String groupId, Resource resource, String resourceId) 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 Resource in org.camunda.bpm.engine.impl.cmd
Modifier and TypeMethodDescriptionprotected void
AuthorizationCheckCmd.validate
(String userId, List<String> groupIds, Permission permission, Resource resource) ModifierConstructorDescriptionAuthorizationCheckCmd
(String userId, List<String> groupIds, Permission permission, Resource resource, String resourceId) -
Uses of Resource in org.camunda.bpm.engine.impl.db
Modifier and TypeFieldDescriptionprotected Resource
PermissionCheck.resource
the type of the resource to check permissions forModifier and TypeMethodDescriptionPermissionCheckBuilder.atomicCheck
(Resource resource, String queryParam, Permission permission) PermissionCheckBuilder.atomicCheckForResourceId
(Resource resource, String resourceId, Permission permission) void
PermissionCheck.setResource
(Resource resource) -
Uses of Resource in org.camunda.bpm.engine.impl.identity.db
Modifier and TypeMethodDescriptionprotected void
DbReadOnlyIdentityServiceProvider.checkAuthorization
(Permission permission, Resource resource, String resourceId) protected void
DbReadOnlyIdentityServiceProvider.configureQuery
(AbstractQuery query, Resource resource) -
Uses of Resource in org.camunda.bpm.engine.impl.persistence
Modifier and TypeMethodDescriptionprotected void
AbstractManager.checkAuthorization
(Permission permission, Resource resource, String resourceId) protected void
AbstractManager.configureQuery
(AbstractQuery<?, ?> query, Resource resource) protected void
AbstractManager.deleteAuthorizations
(Resource resource, String resourceId) protected void
AbstractManager.deleteAuthorizationsForGroup
(Resource resource, String resourceId, String groupId) protected void
AbstractManager.deleteAuthorizationsForUser
(Resource resource, String resourceId, String userId) -
Uses of Resource in org.camunda.bpm.engine.impl.persistence.entity
Modifier and TypeMethodDescriptionvoid
AuthorizationManager.checkAuthorization
(Permission permission, Resource resource) void
AuthorizationManager.checkAuthorization
(Permission permission, Resource resource, String resourceId) void
AuthorizationManager.configureQuery
(AbstractQuery query, Resource resource) void
AuthorizationManager.configureQuery
(AbstractQuery query, Resource resource, String queryParam) void
AuthorizationManager.configureQuery
(AbstractQuery query, Resource resource, String queryParam, Permission permission) void
AuthorizationManager.configureQueryHistoricFinishedInstanceReport
(ListQueryParameterObject query, Resource resource) void
AuthorizationManager.deleteAuthorizationsByResourceId
(Resource resource, String resourceId) void
AuthorizationManager.deleteAuthorizationsByResourceIdAndGroupId
(Resource resource, String resourceId, String groupId) void
AuthorizationManager.deleteAuthorizationsByResourceIdAndUserId
(Resource resource, String resourceId, String userId) AuthorizationManager.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) boolean
AuthorizationManager.isAuthorized
(String userId, List<String> groupIds, Permission permission, Resource resource, String resourceId) boolean
AuthorizationManager.isAuthorized
(Permission permission, Resource resource, String resourceId) void
AuthorizationEntity.setResource
(Resource resource) -
Uses of Resource in org.camunda.bpm.engine.impl.util
Modifier and TypeMethodDescriptionstatic Resource
ResourceTypeUtil.getResourceByType
(int resourceType) Modifier and TypeMethodDescriptionstatic boolean
ResourceTypeUtil.resourceIsContainedInArray
(Integer resourceTypeId, Resource[] resources) -
Uses of Resource in org.camunda.bpm.engine.rest.impl
Modifier and TypeFieldDescriptionprotected final Resource
AbstractAuthorizedRestResource.resource
Modifier and TypeMethodDescriptionprotected boolean
AbstractAuthorizedRestResource.isAuthorized
(Permission permission, Resource resource) protected boolean
AbstractAuthorizedRestResource.isAuthorized
(Permission permission, Resource resource, String resourceId) ModifierConstructorDescriptionAbstractAuthorizedRestResource
(String processEngineName, Resource resource, String resourceId, com.fasterxml.jackson.databind.ObjectMapper objectMapper) -
Uses of Resource in org.camunda.bpm.engine.rest.sub.identity.impl
ModifierConstructorDescriptionAbstractIdentityResource
(String processEngineName, Resource resource, String resourceId, com.fasterxml.jackson.databind.ObjectMapper objectMapper) -
Uses of Resource in org.camunda.bpm.engine.rest.util
-
Uses of Resource in org.camunda.bpm.identity.impl.ldap
Modifier and TypeMethodDescriptionprotected boolean
LdapIdentityProviderSession.isAuthorizedToRead
(Resource resource, String resourceId) -
Uses of Resource in org.camunda.bpm.qa.performance.engine.junit
Modifier and TypeMethodDescriptionprotected void
AuthorizationPerformanceTestCase.grouptGrant
(String groupId, Resource resource, Permission... perms) protected void
AuthorizationPerformanceTestCase.userGrant
(String userId, Resource resource, Permission... perms)