public class DefaultTlsSocketPlugin extends Object implements TlsSocketPlugin
| Constructor and Description |
|---|
DefaultTlsSocketPlugin() |
| Modifier and Type | Method and Description |
|---|---|
SSLSocketFactory |
getSocketFactory(Configuration conf,
ExceptionFactory exceptionFactory)
Get socket factory.
|
String |
type()
plugin type.
|
void |
verify(String host,
SSLSession session,
long serverThreadId)
Host name verifier implementation.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcreateSocketpublic String type()
TlsSocketPlugintype in interface TlsSocketPluginpublic SSLSocketFactory getSocketFactory(Configuration conf, ExceptionFactory exceptionFactory) throws SQLException
TlsSocketPlugingetSocketFactory in interface TlsSocketPluginconf - connection string option. Non standard option are stored in `nonMappedOptions` if
any specific option is needed.exceptionFactory - exception handlerSQLException - if socket factory configuration failed.public void verify(String host, SSLSession session, long serverThreadId) throws SSLException
TlsSocketPluginverify in interface TlsSocketPluginhost - hostnamesession - ssl sessionserverThreadId - current server threadIdSSLException - if verification failCopyright © 2022 SingleStore. All rights reserved.