You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Michael Andre Pearce (Jira)" <ji...@apache.org> on 2021/09/10 09:44:00 UTC

[jira] [Created] (QPIDJMS-548) Support using principle and credentials from jndi context for default CF when using naming url

Michael Andre Pearce created QPIDJMS-548:
--------------------------------------------

             Summary: Support using principle and credentials from jndi context for default CF when using naming url
                 Key: QPIDJMS-548
                 URL: https://issues.apache.org/jira/browse/QPIDJMS-548
             Project: Qpid JMS
          Issue Type: Improvement
          Components: qpid-jms-client
            Reporter: Michael Andre Pearce
             Fix For: 1.2.0


Since QPIDJMS-542 it possible to provide the url on the context via java.naming.provider.url, as an extension / enhancement to this would be to support using the jndi context security principle and security context.

e.g.
java.naming.factory.initial=org.apache.qpid.jms.jndi.JmsInitialContextFactory
java.naming.provider.url=failover:(amqps://host1:5672,amqps://host2:5672)
java.naming.security.principal=myuser
java.naming.security.credentials=mypassword
 

Would set the user and password on the connection factory to "myuser" and "mypassword" 

 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org