Class UGIAssumingTransportFactory

  • public class UGIAssumingTransportFactory
    extends org.apache.thrift.transport.TTransportFactory
    A TransportFactory that wraps another one, but assumes a specified UGI before calling through. This is used on the server side to assume the server's Principal when accepting clients. Borrowed from Apache Hive 0.14
    • Constructor Detail

      • UGIAssumingTransportFactory

        public UGIAssumingTransportFactory​(org.apache.thrift.transport.TTransportFactory wrapped,
    • Method Detail

      • getTransport

        public org.apache.thrift.transport.TTransport getTransport​(org.apache.thrift.transport.TTransport trans)
        getTransport in class org.apache.thrift.transport.TTransportFactory