@Override
  public String toString() {
    if (getAllowedUsers().contains(WILDCARD_ACL_VALUE)) {
      return WILDCARD_ACL_VALUE;
    } else {
      if (allowedUsers.size() == 0 && allowedGroups.size() == 0) {
        return " ";
      }
      String userString = constructCsv(allowedUsers);
      String groupString = "";
      if (allowedGroups.size() > 0) {
        groupString = " " + constructCsv(allowedGroups);
      }
      return userString + groupString;
    }
  }
Parser for extracting ACL information from Configs
common/src/java/org/apache/hive/common/util/ACLConfigurationParser.java