[teiid-issues] [JBoss JIRA] (TEIID-4718) Enable JDG resource adapter to support HotRod SSL
Van Halbert (JIRA)
issues at jboss.org
Thu Jan 26 08:20:00 EST 2017
[ https://issues.jboss.org/browse/TEIID-4718?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13353899#comment-13353899 ]
Van Halbert commented on TEIID-4718:
------------------------------------
With JDG 7.1, it supports a new method: .sniHostName("domain1") when configuring the JDG remoteCacheManager.
Example:
{code}
ConfigurationBuilder clientBuilder = new ConfigurationBuilder();
clientBuilder
.addServer()
.host("127.0.0.1")
.port(hotrodServer.getPort())
.socketTimeout(3000)
.security()
.ssl()
.enabled(sslClient)
.sniHostName("domain1")
.trustStoreFileName("truststore.jks")
.trustStorePassword("secret".toCharArray());
remoteCacheManager = new RemoteCacheManager(clientBuilder.build());
{code}
In order to support JDG 7.1 and JDG 6.6, have 2 choices:
- lazily instantiate the class that configures JDG cache based on JDG version being used, but will be problematic in unit testing
- create a new resource-adapter specifically for for JDG 7.1
> Enable JDG resource adapter to support HotRod SSL
> -------------------------------------------------
>
> Key: TEIID-4718
> URL: https://issues.jboss.org/browse/TEIID-4718
> Project: Teiid
> Issue Type: Enhancement
> Components: JDG Connector
> Affects Versions: 9.2
> Reporter: Van Halbert
> Assignee: Van Halbert
>
> Enable the JDG resource adapter to support the HotRod encryption [1]
> http://infinispan.org/docs/9.0.x/infinispan_server_guide/infinispan_server_guide.html#_hot_rod_encryption_ssl
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
More information about the teiid-issues
mailing list