Class SslContextFactory
java.lang.Object
io.debezium.connector.cassandra.network.SslContextFactory
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic io.netty.handler.ssl.SslContextcreateSslContext(SslConfig config) static io.netty.handler.ssl.SslContextcreateSslContext(String sslConfigPath) Return anSslContextcontaining all SSL configurations parsed from the Properties file path
-
Field Details
-
LOGGER
private static final org.slf4j.Logger LOGGER
-
-
Constructor Details
-
SslContextFactory
private SslContextFactory()
-
-
Method Details
-
createSslContext
public static io.netty.handler.ssl.SslContext createSslContext(String sslConfigPath) throws GeneralSecurityException, IOException Return anSslContextcontaining all SSL configurations parsed from the Properties file pathSee
SslConfigclass for a list of valid config names- Parameters:
sslConfigPath- the SSL config file path required for the storage node- Returns:
- SslContext
- Throws:
GeneralSecurityExceptionIOException
-
createSslContext
public static io.netty.handler.ssl.SslContext createSslContext(SslConfig config) throws GeneralSecurityException, IOException - Throws:
GeneralSecurityExceptionIOException
-