@Override
  public RequestStatus createResourcesAuthorized(Request request)
      throws SystemException, UnsupportedPropertyException,
      ResourceAlreadyExistsException, NoSuchParentResourceException {
    for (Map<String, Object> properties : request.getProperties()) {
      createResources(getCreateCommand(properties));
    }
    notifyCreate(resourceType, request);

    return getRequestStatus(null);
  }
Get the id for the resource specified by predicate.

@param predicate predicate

@return the resource id
ambari-server/src/main/java/org/apache/ambari/server/controller/internal/PrivilegeResourceProvider.java