public static SaslQOP fromString(String str) {
    if (str != null) {
      str = str.toLowerCase();
    }
    SaslQOP saslQOP = STR_TO_ENUM.get(str);
    if (saslQOP == null) {
      throw new IllegalArgumentException(
        "Unknown auth type: " + str + " Allowed values are: " + STR_TO_ENUM.keySet());
    }
    return saslQOP;
  }
Possible values of SASL quality-of-protection value.
service/src/java/org/apache/hive/service/auth/SaslQOP.java