protected void checkHttpSecurity(SaslUtil.QualityOfProtection qop, Configuration conf) {
    if (
      qop == SaslUtil.QualityOfProtection.PRIVACY && conf.getBoolean(USE_HTTP_CONF_KEY, false)
        && !conf.getBoolean(THRIFT_SSL_ENABLED_KEY, false)
    ) {
      throw new IllegalArgumentException(
        "Thrift HTTP Server's QoP is privacy, but " + THRIFT_SSL_ENABLED_KEY + " is false");
    }
  }
ThriftServer- this class starts up a Thrift server which implements the Hbase API specified in
the Hbase.thrift IDL file. The server runs in an independent process.
hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift/ThriftServer.java