Package org.camunda.bpm.engine.impl.db

Examples of org.camunda.bpm.engine.impl.db.AuthorizationCheck


  }

  public boolean isAuthorized(String userId, List<String> groupIds, Permission permission, Resource resource, String resourceId) {

    AuthorizationCheck authCheck = new AuthorizationCheck();
    authCheck.setAuthUserId(userId);
    authCheck.setAuthGroupIds(groupIds);
    authCheck.setAuthResourceType(resource.resourceType());
    authCheck.setAuthResourceId(resourceId);
    authCheck.setAuthPerms(permission.getValue());

    return getDbEntityManager().selectBoolean("isUserAuthorizedForResource", authCheck);
  }
View Full Code Here

TOP

Related Classes of org.camunda.bpm.engine.impl.db.AuthorizationCheck

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.