Uses of Interface
org.camunda.bpm.engine.authorization.Resource
-
Packages that use Resource Package Description org.camunda.bpm.cockpit.plugin.resource org.camunda.bpm.engine Public API of the Camunda Platform engine.
Typical usage of the API starts by the creation of aProcessEngineConfiguration
(typically based on a configuration file), from which aProcessEngine
can be obtained.
Through the services obtained from such aProcessEngine
, BPM and workflow operation can be executed:
RepositoryService
: ManagesDeployment
s
RuntimeService
: For starting and searchingProcessInstance
s
TaskService
: Exposes operations to manage human (standalone)Task
s, such as claiming, completing and assigning tasks
IdentityService
: Used for managingUser
s,Group
s and the relations between them
ManagementService
: Exposes engine admin and maintenance operations, which have no relation to the runtime execution of business processes
HistoryService
: Exposes information about ongoing and past process instances.
FormService
: Access to form data and rendered forms for starting new process instances and completing tasks.org.camunda.bpm.engine.authorization org.camunda.bpm.engine.impl API implementation classes, which shouldn't directly be used by end-users.org.camunda.bpm.engine.impl.cfg.auth org.camunda.bpm.engine.impl.cmd org.camunda.bpm.engine.impl.db org.camunda.bpm.engine.impl.identity.db org.camunda.bpm.engine.impl.persistence org.camunda.bpm.engine.impl.persistence.entity org.camunda.bpm.engine.impl.util org.camunda.bpm.engine.rest.impl org.camunda.bpm.engine.rest.sub.identity.impl org.camunda.bpm.engine.rest.util org.camunda.bpm.identity.impl.ldap org.camunda.bpm.qa.performance.engine.junit -
-
Uses of Resource in org.camunda.bpm.cockpit.plugin.resource
Methods in org.camunda.bpm.cockpit.plugin.resource with parameters of type Resource Modifier and Type Method Description protected 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 Resource Modifier and Type Method Description boolean
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 Resource Modifier and Type Class Description class
Resources
The set of built-inResource
names.Fields in org.camunda.bpm.engine.authorization declared as Resource Modifier and Type Field Description protected static Resource[]
BatchPermissions. RESOURCES
protected static Resource[]
HistoricProcessInstancePermissions. RESOURCES
protected static Resource[]
HistoricTaskPermissions. RESOURCES
Methods in org.camunda.bpm.engine.authorization that return Resource Modifier and Type Method Description Resource[]
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 Resource Modifier and Type Method Description AuthorizationQuery
AuthorizationQuery. 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 Resource Modifier and Type Method Description Set<Resource>
AuthorizationQueryImpl. getResourcesIntersection()
Methods in org.camunda.bpm.engine.impl with parameters of type Resource Modifier and Type Method Description boolean
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)
AuthorizationQuery
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 Resource Modifier and Type Method Description protected 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 Resource Modifier and Type Field Description protected Resource
AuthorizationCheckCmd. resource
Methods in org.camunda.bpm.engine.impl.cmd with parameters of type Resource Modifier and Type Method Description protected void
AuthorizationCheckCmd. validate(String userId, List<String> groupIds, Permission permission, Resource resource)
Constructors in org.camunda.bpm.engine.impl.cmd with parameters of type Resource Constructor Description AuthorizationCheckCmd(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 Resource Modifier and Type Field Description protected Resource
PermissionCheck. resource
the type of the resource to check permissions forMethods in org.camunda.bpm.engine.impl.db that return Resource Modifier and Type Method Description Resource
PermissionCheck. getResource()
Methods in org.camunda.bpm.engine.impl.db with parameters of type Resource Modifier and Type Method Description PermissionCheckBuilder
PermissionCheckBuilder. atomicCheck(Resource resource, String queryParam, Permission permission)
PermissionCheckBuilder
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 Resource Modifier and Type Method Description protected 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 Resource Modifier and Type Method Description protected 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 Resource Modifier and Type Method Description void
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)
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)
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 Resource Modifier and Type Method Description static Resource
ResourceTypeUtil. getResourceByType(int resourceType)
Methods in org.camunda.bpm.engine.impl.util with parameters of type Resource Modifier and Type Method Description static 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 Resource Modifier and Type Field Description protected Resource
AbstractAuthorizedRestResource. resource
Methods in org.camunda.bpm.engine.rest.impl with parameters of type Resource Modifier and Type Method Description protected 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 Resource Constructor Description AbstractAuthorizedRestResource(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 Resource Constructor Description AbstractIdentityResource(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 Modifier and Type Class Description class
ResourceUtil
-
Uses of Resource in org.camunda.bpm.identity.impl.ldap
Methods in org.camunda.bpm.identity.impl.ldap with parameters of type Resource Modifier and Type Method Description protected boolean
LdapIdentityProviderSession. isAuthorized(Permission permission, 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 Resource Modifier and Type Method Description protected void
AuthorizationPerformanceTestCase. grouptGrant(String groupId, Resource resource, Permission... perms)
protected void
AuthorizationPerformanceTestCase. userGrant(String userId, Resource resource, Permission... perms)
-