OmniSciDB
a5dc49c757
|
Classes | |
enum | TransportType |
Public Member Functions | |
SockTransportProperties (String truststore_name, String truststore_passwd) throws Exception | |
TTransport | openClientTransport (String server_host, int port) throws org.apache.thrift.TException |
TTransport | openHttpsClientTransport (String server_host, int port) throws Exception |
TTransport | openHttpClientTransport (String server_host, int port) throws org.apache.thrift.TException |
TServerTransport | openServerTransport (int port) throws org.apache.thrift.TException |
Static Public Member Functions | |
static SockTransportProperties | getUnencryptedClient () throws Exception |
static SockTransportProperties | getEncryptedClientDefaultTrustStore (boolean validate_server_name) throws Exception |
static SockTransportProperties | getEncryptedClientSpecifiedTrustStore (String trustStoreName, String trustStorePassword) throws Exception |
static SockTransportProperties | getEncryptedClientSpecifiedTrustStore (String trustStoreName, String trustStorePassword, boolean validate_server_name) throws Exception |
static SockTransportProperties | getEncryptedServer (String keyStoreName, String keyStorePassword) throws Exception |
static SockTransportProperties | getUnecryptedServer () throws Exception |
Package Attributes | |
X509HostnameVerifier | x509HostnameVerifier_ |
Static Package Attributes | |
static final org.slf4j.Logger | HEAVYDBLOGGER |
Private Member Functions | |
SockTransportProperties (TransportType tT, String store_name, String passwd, boolean validate_server_name) throws Exception | |
SockTransportProperties (TransportType transportType, boolean validate_server_name) throws Exception | |
void | initializeAcceptedIssuers (KeyStore trust_store) throws Exception |
TTransport | openBinaryEncrypted (String server_host, int port) throws org.apache.thrift.TException |
TServerTransport | openServerTransportEncrypted (int port) throws org.apache.thrift.TException |
Private Attributes | |
TrustManager[] | trustManagers |
TransportType | transportType = null |
KeyManager[] | keyManagers |
String | key_store_name = null |
char[] | key_store_password = null |
Definition at line 34 of file SockTransportProperties.java.
|
inline |
public constructor (for backward compatibility)
Definition at line 107 of file SockTransportProperties.java.
References com.mapd.common.SockTransportProperties.TransportType.encryptedClientSpecifiedTrustStore.
Referenced by com.mapd.common.SockTransportProperties.getEncryptedClientDefaultTrustStore(), com.mapd.common.SockTransportProperties.getEncryptedClientSpecifiedTrustStore(), com.mapd.common.SockTransportProperties.getEncryptedServer(), com.mapd.common.SockTransportProperties.getUnecryptedServer(), and com.mapd.common.SockTransportProperties.getUnencryptedClient().
|
inlineprivate |
private constructors called from public static methods
Definition at line 116 of file SockTransportProperties.java.
References com.mapd.common.SockTransportProperties.initializeAcceptedIssuers(), com.mapd.common.SockTransportProperties.key_store_name, com.mapd.common.SockTransportProperties.key_store_password, com.mapd.common.SockTransportProperties.transportType, and com.mapd.common.SockTransportProperties.x509HostnameVerifier_.
|
inlineprivate |
Definition at line 163 of file SockTransportProperties.java.
References com.mapd.common.SockTransportProperties.initializeAcceptedIssuers(), com.mapd.common.SockTransportProperties.transportType, and com.mapd.common.SockTransportProperties.x509HostnameVerifier_.
|
inlinestatic |
Encrypted Client method
Definition at line 52 of file SockTransportProperties.java.
References com.mapd.common.SockTransportProperties.TransportType.encryptedClientDefaultTrustStore, and com.mapd.common.SockTransportProperties.SockTransportProperties().
|
inlinestatic |
Definition at line 59 of file SockTransportProperties.java.
|
inlinestatic |
Definition at line 64 of file SockTransportProperties.java.
References com.mapd.common.SockTransportProperties.TransportType.encryptedClientSpecifiedTrustStore, and com.mapd.common.SockTransportProperties.SockTransportProperties().
|
inlinestatic |
Server methods
Definition at line 74 of file SockTransportProperties.java.
References com.mapd.common.SockTransportProperties.TransportType.encryptedServer, and com.mapd.common.SockTransportProperties.SockTransportProperties().
|
inlinestatic |
Definition at line 90 of file SockTransportProperties.java.
References com.mapd.common.SockTransportProperties.SockTransportProperties(), and com.mapd.common.SockTransportProperties.TransportType.unencryptedServer.
|
inlinestatic |
Unencrypted Client method
Definition at line 46 of file SockTransportProperties.java.
References com.mapd.common.SockTransportProperties.SockTransportProperties(), and com.mapd.common.SockTransportProperties.TransportType.unencryptedClient.
Referenced by com.mapd.parser.extension.ddl.DDLTest.setup().
|
inlineprivate |
end private constructors
Definition at line 187 of file SockTransportProperties.java.
References com.mapd.common.SockTransportProperties.trustManagers.
Referenced by com.mapd.common.SockTransportProperties.SockTransportProperties().
|
inlineprivate |
Definition at line 228 of file SockTransportProperties.java.
References com.mapd.common.SockTransportProperties.trustManagers.
Referenced by com.mapd.common.SockTransportProperties.openClientTransport().
|
inline |
Definition at line 207 of file SockTransportProperties.java.
References com.mapd.common.SockTransportProperties.openBinaryEncrypted(), and com.mapd.common.SockTransportProperties.transportType.
|
inline |
Definition at line 287 of file SockTransportProperties.java.
References com.mapd.common.SockTransportProperties.transportType, and com.mapd.common.SockTransportProperties.TransportType.unencryptedClient.
|
inline |
Definition at line 251 of file SockTransportProperties.java.
References com.mapd.common.SockTransportProperties.TransportType.encryptedClientDefaultTrustStore, com.mapd.common.SockTransportProperties.TransportType.encryptedClientSpecifiedTrustStore, com.mapd.common.SockTransportProperties.transportType, com.mapd.common.SockTransportProperties.trustManagers, and com.mapd.common.SockTransportProperties.x509HostnameVerifier_.
|
inline |
Definition at line 304 of file SockTransportProperties.java.
References com.mapd.common.SockTransportProperties.TransportType.encryptedServer, com.mapd.common.SockTransportProperties.openServerTransportEncrypted(), com.mapd.common.SockTransportProperties.transportType, and com.mapd.common.SockTransportProperties.TransportType.unencryptedServer.
|
inlineprivate |
Definition at line 319 of file SockTransportProperties.java.
References com.mapd.common.SockTransportProperties.key_store_name, com.mapd.common.SockTransportProperties.key_store_password, and report.params.
Referenced by com.mapd.common.SockTransportProperties.openServerTransport().
|
staticpackage |
Definition at line 35 of file SockTransportProperties.java.
|
private |
Definition at line 339 of file SockTransportProperties.java.
Referenced by com.mapd.common.SockTransportProperties.openServerTransportEncrypted(), and com.mapd.common.SockTransportProperties.SockTransportProperties().
|
private |
Definition at line 340 of file SockTransportProperties.java.
Referenced by com.mapd.common.SockTransportProperties.openServerTransportEncrypted(), and com.mapd.common.SockTransportProperties.SockTransportProperties().
|
private |
Definition at line 338 of file SockTransportProperties.java.
|
private |
Definition at line 337 of file SockTransportProperties.java.
Referenced by com.mapd.common.SockTransportProperties.openClientTransport(), com.mapd.common.SockTransportProperties.openHttpClientTransport(), com.mapd.common.SockTransportProperties.openHttpsClientTransport(), com.mapd.common.SockTransportProperties.openServerTransport(), and com.mapd.common.SockTransportProperties.SockTransportProperties().
|
private |
|
package |
Definition at line 341 of file SockTransportProperties.java.
Referenced by com.mapd.common.SockTransportProperties.openHttpsClientTransport(), and com.mapd.common.SockTransportProperties.SockTransportProperties().