public abstract static class HadoopThriftAuthBridge.Client
extends java.lang.Object
| Constructor and Description |
|---|
Client() |
| Modifier and Type | Method and Description |
|---|---|
abstract org.apache.thrift.transport.TTransport |
createClientTransport(java.lang.String principalConfig,
java.lang.String host,
java.lang.String methodStr,
java.lang.String tokenStrForm,
org.apache.thrift.transport.TTransport underlyingTransport,
java.util.Map<java.lang.String,java.lang.String> saslProps) |
public abstract org.apache.thrift.transport.TTransport createClientTransport(java.lang.String principalConfig,
java.lang.String host,
java.lang.String methodStr,
java.lang.String tokenStrForm,
org.apache.thrift.transport.TTransport underlyingTransport,
java.util.Map<java.lang.String,java.lang.String> saslProps)
throws java.io.IOException
principalConfig - In the case of Kerberos authentication this will
be the kerberos principal name, for DIGEST-MD5 (delegation token) based
authentication this will be nullhost - The metastore server host namemethodStr - "KERBEROS" or "DIGEST"tokenStrForm - This is url encoded string form of
org.apache.hadoop.security.token.underlyingTransport - the underlying transportjava.io.IOExceptionCopyright © 2012 The Apache Software Foundation