Tabnine Logo
AuthorizationManager.getCommandContext
Code IndexAdd Tabnine to your IDE (free)

How to use
getCommandContext
method
in
org.camunda.bpm.engine.impl.persistence.entity.AuthorizationManager

Best Java code snippets using org.camunda.bpm.engine.impl.persistence.entity.AuthorizationManager.getCommandContext (Showing top 6 results out of 315)

origin: camunda/camunda-bpm-platform

protected void addPermissionCheck(AuthorizationCheck authCheck, CompositePermissionCheck compositeCheck) {
 CommandContext commandContext = getCommandContext();
 if (isAuthorizationEnabled() && getCurrentAuthentication() != null && commandContext.isAuthorizationCheckEnabled()) {
  authCheck.setPermissionChecks(compositeCheck);
 }
}
origin: camunda/camunda-bpm-platform

protected void addPermissionCheck(AuthorizationCheck authCheck, CompositePermissionCheck compositeCheck) {
 CommandContext commandContext = getCommandContext();
 if (isAuthorizationEnabled() && getCurrentAuthentication() != null && commandContext.isAuthorizationCheckEnabled()) {
  authCheck.setPermissionChecks(compositeCheck);
 }
}
origin: camunda/camunda-bpm-platform

protected void addPermissionCheck(ListQueryParameterObject query, Resource resource, String queryParam, Permission permission) {
 CommandContext commandContext = getCommandContext();
 if (isAuthorizationEnabled() && getCurrentAuthentication() != null && commandContext.isAuthorizationCheckEnabled()) {
  PermissionCheck permCheck = newPermissionCheck();
  permCheck.setResource(resource);
  permCheck.setResourceIdQueryParam(queryParam);
  permCheck.setPermission(permission);
  query.getAuthCheck().addAtomicPermissionCheck(permCheck);
 }
}
origin: camunda/camunda-bpm-platform

protected void addPermissionCheck(ListQueryParameterObject query, Resource resource, String queryParam, Permission permission) {
 CommandContext commandContext = getCommandContext();
 if (isAuthorizationEnabled() && getCurrentAuthentication() != null && commandContext.isAuthorizationCheckEnabled()) {
  PermissionCheck permCheck = newPermissionCheck();
  permCheck.setResource(resource);
  permCheck.setResourceIdQueryParam(queryParam);
  permCheck.setPermission(permission);
  query.getAuthCheck().addAtomicPermissionCheck(permCheck);
 }
}
origin: org.camunda.bpm/camunda-engine

protected void addPermissionCheck(AuthorizationCheck authCheck, CompositePermissionCheck compositeCheck) {
 CommandContext commandContext = getCommandContext();
 if (isAuthorizationEnabled() && getCurrentAuthentication() != null && commandContext.isAuthorizationCheckEnabled()) {
  authCheck.setPermissionChecks(compositeCheck);
 }
}
origin: org.camunda.bpm/camunda-engine

protected void addPermissionCheck(ListQueryParameterObject query, Resource resource, String queryParam, Permission permission) {
 CommandContext commandContext = getCommandContext();
 if (isAuthorizationEnabled() && getCurrentAuthentication() != null && commandContext.isAuthorizationCheckEnabled()) {
  PermissionCheck permCheck = newPermissionCheck();
  permCheck.setResource(resource);
  permCheck.setResourceIdQueryParam(queryParam);
  permCheck.setPermission(permission);
  query.getAuthCheck().addAtomicPermissionCheck(permCheck);
 }
}
org.camunda.bpm.engine.impl.persistence.entityAuthorizationManagergetCommandContext

Popular methods of AuthorizationManager

  • configureQuery
  • filterAuthenticatedGroupIds
  • isAuthorized
  • addPermissionCheck
  • checkAuthorization
  • checkCamundaAdmin
    Checks if the current authentication contains the group Groups#CAMUNDA_ADMIN. The check is ignored i
  • configureActivityStatisticsQuery
  • configureBatchQuery
  • configureBatchStatisticsQuery
  • configureConditionalEventSubscriptionQuery
  • configureDecisionDefinitionQuery
  • configureDecisionRequirementsDefinitionQuery
  • configureDecisionDefinitionQuery,
  • configureDecisionRequirementsDefinitionQuery,
  • configureDeploymentQuery,
  • configureDeploymentStatisticsQuery,
  • configureEventSubscriptionQuery,
  • configureExecutionQuery,
  • configureExternalTaskFetch,
  • configureExternalTaskQuery,
  • configureHistoricActivityInstanceQuery,
  • configureHistoricBatchQuery

Popular in Java

  • Reactive rest calls using spring rest template
  • scheduleAtFixedRate (Timer)
  • setContentView (Activity)
  • notifyDataSetChanged (ArrayAdapter)
  • OutputStream (java.io)
    A writable sink for bytes.Most clients will use output streams that write data to the file system (
  • URLEncoder (java.net)
    This class is used to encode a string using the format required by application/x-www-form-urlencoded
  • ResultSet (java.sql)
    An interface for an object which represents a database table entry, returned as the result of the qu
  • Format (java.text)
    The base class for all formats. This is an abstract base class which specifies the protocol for clas
  • CountDownLatch (java.util.concurrent)
    A synchronization aid that allows one or more threads to wait until a set of operations being perfor
  • Collectors (java.util.stream)
  • Github Copilot alternatives
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now