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 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. |
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 |
Modifier and Type | Method and Description |
---|---|
protected void |
AbstractCockpitPluginResource.addPermissionCheck(QueryParameters<?> query,
Resource resource,
String queryParam,
Permission permission)
Add a new
PermissionCheck with the given values. |
Modifier and Type | Method and 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.
|
Modifier and Type | Class and Description |
---|---|
class |
Resources
The set of built-in
Resource names. |
Modifier and Type | Field and Description |
---|---|
protected static Resource[] |
HistoricTaskPermissions.RESOURCES |
protected static Resource[] |
HistoricProcessInstancePermissions.RESOURCES |
Modifier and Type | Method and Description |
---|---|
Resource[] |
Permissions.getTypes() |
Resource[] |
BatchPermissions.getTypes() |
Resource[] |
TaskPermissions.getTypes() |
Resource[] |
HistoricTaskPermissions.getTypes() |
Resource[] |
OptimizePermissions.getTypes()
Deprecated.
|
Resource[] |
HistoricProcessInstancePermissions.getTypes() |
Resource[] |
Permission.getTypes()
returns the resource types which are allowed for this permission
|
Resource[] |
UserOperationLogCategoryPermissions.getTypes() |
Resource[] |
ProcessInstancePermissions.getTypes() |
Resource[] |
ProcessDefinitionPermissions.getTypes() |
Modifier and Type | Method and Description |
---|---|
AuthorizationQuery |
AuthorizationQuery.resourceType(Resource resource)
only selects authorizations for the given resource type
|
void |
Authorization.setResource(Resource resource)
sets the type of the resource
|
Modifier and Type | Method and Description |
---|---|
Set<Resource> |
AuthorizationQueryImpl.getResourcesIntersection() |
Modifier and Type | Method and 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) |
Modifier and Type | Method and 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.
|
Modifier and Type | Field and Description |
---|---|
protected Resource |
AuthorizationCheckCmd.resource |
Modifier and Type | Method and Description |
---|---|
protected void |
AuthorizationCheckCmd.validate(String userId,
List<String> groupIds,
Permission permission,
Resource resource) |
Constructor and Description |
---|
AuthorizationCheckCmd(String userId,
List<String> groupIds,
Permission permission,
Resource resource,
String resourceId) |
Modifier and Type | Field and Description |
---|---|
protected Resource |
PermissionCheck.resource
the type of the resource to check permissions for
|
Modifier and Type | Method and Description |
---|---|
Resource |
PermissionCheck.getResource() |
Modifier and Type | Method and Description |
---|---|
PermissionCheckBuilder |
PermissionCheckBuilder.atomicCheck(Resource resource,
String queryParam,
Permission permission) |
PermissionCheckBuilder |
PermissionCheckBuilder.atomicCheckForResourceId(Resource resource,
String resourceId,
Permission permission) |
void |
PermissionCheck.setResource(Resource resource) |
Modifier and Type | Method and Description |
---|---|
protected void |
DbReadOnlyIdentityServiceProvider.checkAuthorization(Permission permission,
Resource resource,
String resourceId) |
protected void |
DbReadOnlyIdentityServiceProvider.configureQuery(AbstractQuery query,
Resource resource) |
Modifier and Type | Method and 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) |
Modifier and Type | Method and 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(Permission permission,
Resource resource,
String resourceId) |
boolean |
AuthorizationManager.isAuthorized(String userId,
List<String> groupIds,
Permission permission,
Resource resource,
String resourceId) |
void |
AuthorizationEntity.setResource(Resource resource) |
Modifier and Type | Method and Description |
---|---|
static Resource |
ResourceTypeUtil.getResourceByType(int resourceType)
|
Modifier and Type | Method and Description |
---|---|
static boolean |
ResourceTypeUtil.resourceIsContainedInArray(Integer resourceTypeId,
Resource[] resources) |
Modifier and Type | Field and Description |
---|---|
protected Resource |
AbstractAuthorizedRestResource.resource |
Modifier and Type | Method and Description |
---|---|
protected boolean |
AbstractAuthorizedRestResource.isAuthorized(Permission permission,
Resource resource) |
protected boolean |
AbstractAuthorizedRestResource.isAuthorized(Permission permission,
Resource resource,
String resourceId) |
Constructor and Description |
---|
AbstractAuthorizedRestResource(String processEngineName,
Resource resource,
String resourceId,
com.fasterxml.jackson.databind.ObjectMapper objectMapper) |
Constructor and Description |
---|
AbstractIdentityResource(String processEngineName,
Resource resource,
String resourceId,
com.fasterxml.jackson.databind.ObjectMapper objectMapper) |
Modifier and Type | Class and Description |
---|---|
class |
ResourceUtil |
Modifier and Type | Method and Description |
---|---|
protected boolean |
LdapIdentityProviderSession.isAuthorized(Permission permission,
Resource resource,
String resourceId) |
Modifier and Type | Method and Description |
---|---|
protected void |
AuthorizationPerformanceTestCase.grouptGrant(String groupId,
Resource resource,
Permission... perms) |
protected void |
AuthorizationPerformanceTestCase.userGrant(String userId,
Resource resource,
Permission... perms) |
Copyright © 2021. All rights reserved.