public class DefaultTlsSocketPlugin extends Object implements TlsSocketPlugin
| 构造器和说明 |
|---|
DefaultTlsSocketPlugin() |
| 限定符和类型 | 方法和说明 |
|---|---|
SSLSocketFactory |
getSocketFactory(Options options)
Get socket factory.
|
String |
name()
plugin name.
|
String |
type()
plugin type.
|
void |
verify(String host,
SSLSession session,
Options options,
long serverThreadId)
Host name verifier implementation.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcreateSocketpublic String name()
TlsSocketPluginname 在接口中 TlsSocketPluginpublic String type()
TlsSocketPlugintype 在接口中 TlsSocketPluginpublic SSLSocketFactory getSocketFactory(Options options) throws SQLException
TlsSocketPlugingetSocketFactory 在接口中 TlsSocketPluginoptions - connection string option. Non standard option are stored in `nonMappedOptions`
if any specific option is needed.SQLException - if socket factory configuration failed.public void verify(String host, SSLSession session, Options options, long serverThreadId) throws SSLException
TlsSocketPluginverify 在接口中 TlsSocketPluginhost - hostnamesession - ssl sessionoptions - connection string option. Non standard option are stored in * `nonMappedOptions`
if any specific option is needed.serverThreadId - current server threadIdSSLException - if verification failCopyright © 2024 oceanbase.com. All rights reserved.