public TTransportFactory wrapTransportFactoryInClientUGI(TTransportFactory transFactory) {
      return new TUGIAssumingTransportFactory(transFactory, clientValidationUGI);
    }
Similar to the above function, except use client facing UGI.
standalone-metastore/metastore-common/src/main/java/org/apache/hadoop/hive/metastore/security/HadoopThriftAuthBridge.java