private String debugPrivPrint(Privilege[] privileges) {
    StringBuilder sb = new StringBuilder();
    sb.append("Privileges{");
    if (privileges != null){
    for (Privilege p : privileges){
      sb.append(p.toString());
    }
    }else{
      sb.append("null");
    }
    sb.append("}");
    return sb.toString();
  }
Dummy implementation for use by unit tests. Tracks the context of calls made to
its authorize functions in {@link AuthCallContext}
itests/util/src/main/java/org/apache/hadoop/hive/ql/security/DummyHiveMetastoreAuthorizationProvider.java