Codota Logo
AuthorizationManager.getCommandContext
Code IndexAdd Codota 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)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
ArrayList a =
  • Codota Iconnew ArrayList<String>()
  • Codota Iconnew ArrayList()
  • Codota Iconnew ArrayList<Object>()
  • Smart code suggestions by Codota
}
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

  • Making http requests using okhttp
  • getResourceAsStream (ClassLoader)
  • setContentView (Activity)
  • addToBackStack (FragmentTransaction)
  • URLConnection (java.net)
    The abstract class URLConnection is the superclass of all classes that represent a communications li
  • Enumeration (java.util)
    A legacy iteration interface.New code should use Iterator instead. Iterator replaces the enumeration
  • Random (java.util)
    This class provides methods that return pseudo-random values.It is dangerous to seed Random with the
  • BasicDataSource (org.apache.commons.dbcp)
    Basic implementation of javax.sql.DataSource that is configured via JavaBeans properties. This is no
  • Project (org.apache.tools.ant)
    Central representation of an Ant project. This class defines an Ant project with all of its targets,
  • SAXParseException (org.xml.sax)
    Encapsulate an XML parse error or warning.This exception may include information for locating the er
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now