[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
Thu Feb 16 12:42:00 EST 2017


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

Van Halbert commented on TEIID-4709:
------------------------------------

Here's an example used in testing:

{code}
               <resource-adapter id="ispnHotrod">
                    <module slot="main" id="org.jboss.teiid.resource-adapter.infinispan.dsl"/>
                    <connection-definitions>
                        <connection-definition class-name="org.teiid.resource.adapter.infinispan.dsl.InfinispanManagedConnectionFactory" jndi-name="java:/PersonJDGSource" enabled="true" use-java-context="true" pool-name="infinispanHotRodDS" use-ccm="true" >
                            <config-property name="MessageDescriptor">
                                quickstart.Person
                            </config-property>
                            <config-property name="AuthApplicationRealm">
                                ApplicationRealm
                            </config-property>
                            <config-property name="MessageMarshallers">       com.client.quickstart.addressbook.pojos.domain.Person:com.client.quickstart.addressbook.pojos.marshallers.PersonMarshaller,com.client.quickstart.addressbook.pojos.domain.Address:com.client.quickstart.addressbook.pojos.marshallers.AddressMarshaller,com.client.quickstart.addressbook.pojos.domain.PhoneNumber:com.client.quickstart.addressbook.pojos.marshallers.PhoneNumberMarshaller
                            </config-property>
                            <config-property name="AuthServerName">
                                myhotrodserver
                            </config-property>
                            <config-property name="AuthSASLMechanism">
                                DIGEST-MD5
                            </config-property>
                            <config-property name="Module">
                                com.client.quickstart.addressbook.pojos
                            </config-property>
                            <config-property name="RemoteServerList">
                                127.0.0.1:11322
                            </config-property>
                            <config-property name="ProtobufDefinitionFile">
                                /quickstart/addressbook.proto
                            </config-property>
                            <config-property name="AdminPassword">
                                redhat1!
                            </config-property>
                            <config-property name="AdminUserName">
                                teiidUser
                            </config-property>
                            <config-property name="AuthUserName">
                                teiidUser
                            </config-property>
                            <config-property name="AuthPassword">
                                redhat1!
                            </config-property>
                            <config-property name="CacheTypeMap">
                                datasourceCache:com.client.quickstart.addressbook.pojos.domain.Person;id
                            </config-property>

<security><security-domain-and-application>teiid-security</security-domain-and-application></security>

                        </connection-definition>
                    </connection-definitions>
                </resource-adapter>
{code}

> 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