[teiid-issues] [JBoss JIRA] (TEIID-4709) Enable JDG resource adapter to pass the username/password to HotRod Client

Van Halbert (JIRA) issues at jboss.org
Wed Feb 1 10:16:01 EST 2017


    [ https://issues.jboss.org/browse/TEIID-4709?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13356422#comment-13356422 ] 

Van Halbert edited comment on TEIID-4709 at 2/1/17 10:15 AM:
-------------------------------------------------------------

Initial testing scenarios of 8.12.x against JDG 6.6:

1)  specifying username/password on RA, for the materialization use case

JDG config:  swapped out the default hotrod-connector with the following:

{code}
<hotrod-connector socket-binding="hotrod" cache-container="clustered">
    <topology-state-transfer lazy-retrieval="false" lock-timeout="1000" replication-timeout="5000"/>
   <authentication security-realm="ApplicationRealm">
      <sasl server-name="myhotrodserver" mechanisms="DIGEST-MD5" qop="auth" />
   </authentication>
</hotrod-connector>
{code}

Teiid config:

The following are the new settings on the RA to configure 
{code}
                            <config-property name="AuthServerName">
                                myhotrodserver
                            </config-property>
                            <config-property name="AuthApplicationRealm">
                                ApplicationRealm
                            </config-property>
                            <config-property name="AuthSASLMechanism">
                                DIGEST-MD5
                            </config-property>
                            <config-property name="AuthUserName">
                                teiidUser
                            </config-property>
                            <config-property name="AuthPassword">
                                redhat1!
                            </config-property>
{code}

-  the username/password have to be added to the JDG server

confirmed this works with the upcoming changes.


was (Author: van.halbert):
Initial testing scenarios of 8.12.x against JDG 6.6:

1)  specifying username/password on RA, for the materialization use case

JDG config:

{code}
<hotrod-connector socket-binding="hotrod" cache-container="clustered">
    <topology-state-transfer lazy-retrieval="false" lock-timeout="1000" replication-timeout="5000"/>
   <authentication security-realm="ApplicationRealm">
      <sasl server-name="myhotrodserver" mechanisms="DIGEST-MD5" qop="auth" />
   </authentication>
</hotrod-connector>
{code}

Teiid config:

The following are the new settings on the RA to configure 
{code}
                            <config-property name="AuthServerName">
                                myhotrodserver
                            </config-property>
                            <config-property name="AuthApplicationRealm">
                                ApplicationRealm
                            </config-property>
                            <config-property name="AuthSASLMechanism">
                                DIGEST-MD5
                            </config-property>
                            <config-property name="AuthUserName">
                                teiidUser
                            </config-property>
                            <config-property name="AuthPassword">
                                redhat1!
                            </config-property>
{code}

-  the username/password have to be added to the JDG server

confirmed this works with the upcoming changes.

> Enable JDG resource adapter to pass the username/password to HotRod Client
> --------------------------------------------------------------------------
>
>                 Key: TEIID-4709
>                 URL: https://issues.jboss.org/browse/TEIID-4709
>             Project: Teiid
>          Issue Type: Feature Request
>          Components: JDG Connector
>    Affects Versions: 9.3
>            Reporter: Van Halbert
>            Assignee: Van Halbert
>             Fix For: 9.3, 8.12.9.6_3
>
>
> Enable the JDG resource adapter to pass the username/password to the JDG hot rod client.



--
This message was sent by Atlassian JIRA
(v7.2.3#72005)


More information about the teiid-issues mailing list