public static AclScheme parse(String scheme) {
      if (scheme.toLowerCase().equals("world") || scheme.toLowerCase().equals("ip")) {
        return new AclScheme(scheme);
      }
      throw new IllegalArgumentException("Unsupported scheme: " + scheme);
    }
Sets the ACL on the znode indicated by the given pattern
ambari-agent/src/main/java/org/apache/ambari/tools/zk/ZkAcl.java