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, java.lang.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(java.lang.String userId, java.util.List<java.lang.String> groupIds, Permission permission, Resource resource)
Allows performing an authorization check.boolean
AuthorizationService. isUserAuthorized(java.lang.String userId, java.util.List<java.lang.String> groupIds, Permission permission, Resource resource, java.lang.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[]
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 java.util.Set<Resource>
AuthorizationQueryImpl. getResourcesIntersection()
Methods in org.camunda.bpm.engine.impl with parameters of type Resource Modifier and Type Method Description boolean
AuthorizationServiceImpl. isUserAuthorized(java.lang.String userId, java.util.List<java.lang.String> groupIds, Permission permission, Resource resource)
boolean
AuthorizationServiceImpl. isUserAuthorized(java.lang.String userId, java.util.List<java.lang.String> groupIds, Permission permission, Resource resource, java.lang.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(java.lang.String userId, java.lang.String groupId, Resource resource, java.lang.String resourceId, Permission... permissions)
protected AuthorizationEntity
DefaultAuthorizationProvider. createGrantAuthorization(java.lang.String userId, java.lang.String groupId, Resource resource, java.lang.String resourceId, Permission... permissions)
protected AuthorizationEntity
DefaultAuthorizationProvider. createOrUpdateAuthorization(Task task, java.lang.String userId, java.lang.String groupId, Resource resource, boolean isHistoric, Permission... permissions)
protected AuthorizationEntity
DefaultAuthorizationProvider. getGrantAuthorization(java.lang.String taskId, java.lang.String userId, java.lang.String groupId, Resource resource)
protected AuthorizationEntity
DefaultAuthorizationProvider. getGrantAuthorizationByGroupId(java.lang.String groupId, Resource resource, java.lang.String resourceId)
protected AuthorizationEntity
DefaultAuthorizationProvider. getGrantAuthorizationByUserId(java.lang.String userId, Resource resource, java.lang.String resourceId)
protected boolean
DefaultAuthorizationProvider. hasEntitySameAuthorizationRights(AuthorizationEntity authEntity, java.lang.String userId, java.lang.String groupId, Resource resource, java.lang.String resourceId)
protected void
DefaultAuthorizationProvider. updateAuthorizationBasedOnCacheEntries(AuthorizationEntity authorization, java.lang.String userId, java.lang.String groupId, Resource resource, java.lang.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(java.lang.String userId, java.util.List<java.lang.String> groupIds, Permission permission, Resource resource)
Constructors in org.camunda.bpm.engine.impl.cmd with parameters of type Resource Constructor Description AuthorizationCheckCmd(java.lang.String userId, java.util.List<java.lang.String> groupIds, Permission permission, Resource resource, java.lang.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, java.lang.String queryParam, Permission permission)
PermissionCheckBuilder
PermissionCheckBuilder. atomicCheckForResourceId(Resource resource, java.lang.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, java.lang.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, java.lang.String resourceId)
protected void
AbstractManager. configureQuery(AbstractQuery<?,?> query, Resource resource)
protected void
AbstractManager. deleteAuthorizations(Resource resource, java.lang.String resourceId)
protected void
AbstractManager. deleteAuthorizationsForGroup(Resource resource, java.lang.String resourceId, java.lang.String groupId)
protected void
AbstractManager. deleteAuthorizationsForUser(Resource resource, java.lang.String resourceId, java.lang.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, java.lang.String resourceId)
void
AuthorizationManager. configureQuery(AbstractQuery query, Resource resource)
void
AuthorizationManager. configureQuery(AbstractQuery query, Resource resource, java.lang.String queryParam)
void
AuthorizationManager. configureQuery(AbstractQuery query, Resource resource, java.lang.String queryParam, Permission permission)
void
AuthorizationManager. configureQueryHistoricFinishedInstanceReport(ListQueryParameterObject query, Resource resource)
void
AuthorizationManager. deleteAuthorizationsByResourceId(Resource resource, java.lang.String resourceId)
void
AuthorizationManager. deleteAuthorizationsByResourceIdAndGroupId(Resource resource, java.lang.String resourceId, java.lang.String groupId)
void
AuthorizationManager. deleteAuthorizationsByResourceIdAndUserId(Resource resource, java.lang.String resourceId, java.lang.String userId)
AuthorizationEntity
AuthorizationManager. findAuthorization(int type, java.lang.String userId, java.lang.String groupId, Resource resource, java.lang.String resourceId)
AuthorizationEntity
AuthorizationManager. findAuthorizationByGroupIdAndResourceId(int type, java.lang.String groupId, Resource resource, java.lang.String resourceId)
AuthorizationEntity
AuthorizationManager. findAuthorizationByUserIdAndResourceId(int type, java.lang.String userId, Resource resource, java.lang.String resourceId)
boolean
AuthorizationManager. isAuthorized(java.lang.String userId, java.util.List<java.lang.String> groupIds, Permission permission, Resource resource, java.lang.String resourceId)
boolean
AuthorizationManager. isAuthorized(Permission permission, Resource resource, java.lang.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(java.lang.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, java.lang.String resourceId)
Constructors in org.camunda.bpm.engine.rest.impl with parameters of type Resource Constructor Description AbstractAuthorizedRestResource(java.lang.String processEngineName, Resource resource, java.lang.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(java.lang.String processEngineName, Resource resource, java.lang.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, java.lang.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(java.lang.String groupId, Resource resource, Permission... perms)
protected void
AuthorizationPerformanceTestCase. userGrant(java.lang.String userId, Resource resource, Permission... perms)
-