use of org.apache.ignite.ssl.SslContextFactory in project ignite by apache.
the class TcpDiscoverySslParametersTest method getConfiguration.
/**
* {@inheritDoc}
*/
@Override
protected IgniteConfiguration getConfiguration(String gridName) throws Exception {
IgniteConfiguration cfg = super.getConfiguration(gridName);
SslContextFactory factory = (SslContextFactory) GridTestUtils.sslTrustedFactory("node01", "trustone");
factory.setCipherSuites(cipherSuites);
factory.setProtocols(protocols);
cfg.setSslContextFactory(factory);
return cfg;
}
Aggregations