public interface RemoteEndpointAwareSSLOptions extends SSLOptions
SSLOptionswith the possibility to pass remote endpoint data when instantiating
This is needed when e.g. hostname verification is required. See JAVA-1364 for details.
|Modifier and Type||Method and Description|
Creates a new SSL handler for the given Netty channel and the given remote endpoint.
SslHandler newSSLHandler(SocketChannel channel, InetSocketAddress remoteEndpoint)
This gets called each time the driver opens a new connection to a Cassandra host. The newly created handler will be added to the channel's pipeline to provide SSL support for the connection.
channel- the channel.
remoteEndpoint- the remote endpoint address.
Copyright © 2012–2018. All rights reserved.