Uses of Interface
org.camunda.bpm.engine.authorization.Resource
Packages that use 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
Methods in org.camunda.bpm.cockpit.plugin.resource with parameters of type ResourceModifier 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
Methods in org.camunda.bpm.engine with parameters of type ResourceModifier 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
Classes in org.camunda.bpm.engine.authorization that implement ResourceFields in org.camunda.bpm.engine.authorization declared as ResourceModifier and TypeFieldDescriptionprotected static final Resource[]
BatchPermissions.RESOURCES
protected static final Resource[]
HistoricProcessInstancePermissions.RESOURCES
protected static final Resource[]
HistoricTaskPermissions.RESOURCES
Methods in org.camunda.bpm.engine.authorization that return ResourceModifier 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()
Methods in org.camunda.bpm.engine.authorization with parameters of type ResourceModifier 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
Methods in org.camunda.bpm.engine.impl that return types with arguments of type ResourceMethods in org.camunda.bpm.engine.impl with parameters of type ResourceModifier 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
Methods in org.camunda.bpm.engine.impl.cfg.auth with parameters of type ResourceModifier 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
Fields in org.camunda.bpm.engine.impl.cmd declared as ResourceMethods in org.camunda.bpm.engine.impl.cmd with parameters of type ResourceModifier and TypeMethodDescriptionprotected void
AuthorizationCheckCmd.validate
(String userId, List<String> groupIds, Permission permission, Resource resource) Constructors in org.camunda.bpm.engine.impl.cmd with parameters of type ResourceModifierConstructorDescriptionAuthorizationCheckCmd
(String userId, List<String> groupIds, Permission permission, Resource resource, String resourceId) -
Uses of Resource in org.camunda.bpm.engine.impl.db
Fields in org.camunda.bpm.engine.impl.db declared as ResourceModifier and TypeFieldDescriptionprotected Resource
PermissionCheck.resource
the type of the resource to check permissions forMethods in org.camunda.bpm.engine.impl.db that return ResourceMethods in org.camunda.bpm.engine.impl.db with parameters of type ResourceModifier 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
Methods in org.camunda.bpm.engine.impl.identity.db with parameters of type ResourceModifier 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
Methods in org.camunda.bpm.engine.impl.persistence with parameters of type ResourceModifier 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
Methods in org.camunda.bpm.engine.impl.persistence.entity with parameters of type ResourceModifier 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
Methods in org.camunda.bpm.engine.impl.util that return ResourceModifier and TypeMethodDescriptionstatic Resource
ResourceTypeUtil.getResourceByType
(int resourceType) Methods in org.camunda.bpm.engine.impl.util with parameters of type ResourceModifier and TypeMethodDescriptionstatic boolean
ResourceTypeUtil.resourceIsContainedInArray
(Integer resourceTypeId, Resource[] resources) -
Uses of Resource in org.camunda.bpm.engine.rest.impl
Fields in org.camunda.bpm.engine.rest.impl declared as ResourceModifier and TypeFieldDescriptionprotected final Resource
AbstractAuthorizedRestResource.resource
Methods in org.camunda.bpm.engine.rest.impl with parameters of type ResourceModifier and TypeMethodDescriptionprotected boolean
AbstractAuthorizedRestResource.isAuthorized
(Permission permission, Resource resource) protected boolean
AbstractAuthorizedRestResource.isAuthorized
(Permission permission, Resource resource, String resourceId) Constructors in org.camunda.bpm.engine.rest.impl with parameters of type ResourceModifierConstructorDescriptionAbstractAuthorizedRestResource
(String processEngineName, Resource resource, String resourceId, com.fasterxml.jackson.databind.ObjectMapper objectMapper) -
Uses of Resource in org.camunda.bpm.engine.rest.sub.identity.impl
Constructors in org.camunda.bpm.engine.rest.sub.identity.impl with parameters of type ResourceModifierConstructorDescriptionAbstractIdentityResource
(String processEngineName, Resource resource, String resourceId, com.fasterxml.jackson.databind.ObjectMapper objectMapper) -
Uses of Resource in org.camunda.bpm.engine.rest.util
Classes in org.camunda.bpm.engine.rest.util that implement Resource -
Uses of Resource in org.camunda.bpm.identity.impl.ldap
Methods in org.camunda.bpm.identity.impl.ldap with parameters of type ResourceModifier and TypeMethodDescriptionprotected boolean
LdapIdentityProviderSession.isAuthorizedToRead
(Resource resource, String resourceId) -
Uses of Resource in org.camunda.bpm.qa.performance.engine.junit
Methods in org.camunda.bpm.qa.performance.engine.junit with parameters of type ResourceModifier and TypeMethodDescriptionprotected void
AuthorizationPerformanceTestCase.grouptGrant
(String groupId, Resource resource, Permission... perms) protected void
AuthorizationPerformanceTestCase.userGrant
(String userId, Resource resource, Permission... perms)