io.dropwizard.cassandra.ssl.RemoteEndpointAwareJdkSSLOptionsFactory Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of dropwizard-cassandra Show documentation
Show all versions of dropwizard-cassandra Show documentation
Provides easy integration for Dropwizard applications with Apache Cassandra using the DataStax 4.x client
package io.dropwizard.cassandra.ssl;
import com.datastax.driver.core.RemoteEndpointAwareJdkSSLOptions;
import com.datastax.driver.core.SSLOptions;
import com.fasterxml.jackson.annotation.JsonTypeName;
/**
* A factory for configuring and building {@link com.datastax.driver.core.RemoteEndpointAwareJdkSSLOptions} instances.
*/
@JsonTypeName("jdk")
public class RemoteEndpointAwareJdkSSLOptionsFactory implements SSLOptionsFactory {
@Override
public SSLOptions build() {
return RemoteEndpointAwareJdkSSLOptions.builder().build();
}
}