public void setSecretManager(DelegationTokenSecretManager secretManager) {
      this.secretManager = secretManager;
    }
Create a server with a kerberos keytab/principal.
standalone-metastore/metastore-common/src/main/java/org/apache/hadoop/hive/metastore/security/HadoopThriftAuthBridge.java