public static class HadoopThriftAuthBridge.Client extends Object
| Constructor and Description |
|---|
Client() |
| Modifier and Type | Method and Description |
|---|---|
org.apache.thrift.transport.TTransport |
createClientTransport(String principalConfig,
String host,
String methodStr,
String tokenStrForm,
org.apache.thrift.transport.TTransport underlyingTransport,
Map<String,String> saslProps)
Create a client-side SASL transport that wraps an underlying transport.
|
public org.apache.thrift.transport.TTransport createClientTransport(String principalConfig, String host, String methodStr, String tokenStrForm, org.apache.thrift.transport.TTransport underlyingTransport, Map<String,String> saslProps) throws IOException
methodStr - The authentication method to use. Currently only KERBEROS is
supported.principalConfig - The Kerberos principal of the target server.underlyingTransport - The underlying transport mechanism, usually a TSocket.saslProps - the sasl properties to create the client withIOExceptionCopyright © 2019 The Apache Software Foundation. All Rights Reserved.