public class HiveAuthUtils extends Object
Constructor and Description |
---|
HiveAuthUtils() |
Modifier and Type | Method and Description |
---|---|
static org.apache.thrift.transport.TServerSocket |
getServerSocket(String hiveHost,
int portNum) |
static org.apache.thrift.transport.TServerSocket |
getServerSSLSocket(String hiveHost,
int portNum,
String keyStorePath,
String keyStorePassWord,
String keyStoreType,
String keyStoreAlgorithm,
List<String> sslVersionBlacklist,
String includeCipherSuites) |
static org.apache.thrift.transport.TTransport |
getSocketTransport(String host,
int port,
int loginTimeout) |
static org.apache.thrift.transport.TTransport |
getSSLSocket(String host,
int port,
int loginTimeout) |
static org.apache.thrift.transport.TTransport |
getSSLSocket(String host,
int port,
int loginTimeout,
String trustStorePath,
String trustStorePassWord,
String trustStoreType,
String trustStoreAlgorithm) |
public static org.apache.thrift.transport.TTransport getSocketTransport(String host, int port, int loginTimeout) throws org.apache.thrift.transport.TTransportException
org.apache.thrift.transport.TTransportException
public static org.apache.thrift.transport.TTransport getSSLSocket(String host, int port, int loginTimeout) throws org.apache.thrift.transport.TTransportException
org.apache.thrift.transport.TTransportException
public static org.apache.thrift.transport.TTransport getSSLSocket(String host, int port, int loginTimeout, String trustStorePath, String trustStorePassWord, String trustStoreType, String trustStoreAlgorithm) throws org.apache.thrift.transport.TTransportException
org.apache.thrift.transport.TTransportException
public static org.apache.thrift.transport.TServerSocket getServerSocket(String hiveHost, int portNum) throws org.apache.thrift.transport.TTransportException
org.apache.thrift.transport.TTransportException
public static org.apache.thrift.transport.TServerSocket getServerSSLSocket(String hiveHost, int portNum, String keyStorePath, String keyStorePassWord, String keyStoreType, String keyStoreAlgorithm, List<String> sslVersionBlacklist, String includeCipherSuites) throws org.apache.thrift.transport.TTransportException, UnknownHostException
org.apache.thrift.transport.TTransportException
UnknownHostException
Copyright © 2022 The Apache Software Foundation. All rights reserved.