You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@activemq.apache.org by ENP <pr...@stc.donpac.ru> on 2006/06/01 14:32:44 UTC

JNDI and Security

Hi,

Can I use JNDI properties (something like java.naming.security.principal) to
setup authentication info instead of using proprietary ActiveMQ
ActiveMQConnection.makeConnection?
--
View this message in context: http://www.nabble.com/JNDI+and+Security-t1716512.html#a4661310
Sent from the ActiveMQ - User forum at Nabble.com.


Re: JNDI and Security

Posted by James Strachan <ja...@gmail.com>.
On 6/1/06, ENP <pr...@stc.donpac.ru> wrote:
>
> Thanks! I don't know about ConnectionFactory.createConnection() :)

see

http://java.sun.com/j2ee/1.4/docs/api/javax/jms/ConnectionFactory.html#createConnection(java.lang.String,%20java.lang.String)

-- 

James
-------
http://radio.weblogs.com/0112098/

Re: JNDI and Security

Posted by ENP <pr...@stc.donpac.ru>.
Thanks! I don't know about ConnectionFactory.createConnection() :)
--
View this message in context: http://www.nabble.com/JNDI+and+Security-t1716512.html#a4661954
Sent from the ActiveMQ - User forum at Nabble.com.


Re: JNDI and Security

Posted by James Strachan <ja...@gmail.com>.
On 6/1/06, ENP <pr...@stc.donpac.ru> wrote:
>
> Hi,
>
> Can I use JNDI properties (something like java.naming.security.principal) to
> setup authentication info instead of using proprietary ActiveMQ
> ActiveMQConnection.makeConnection?

In JMS you specify the username/password on the
ConnectionFactory.createConnection() method - just like with JDBC. Or
did you mean something else?

FWIW you can use ActiveMQ with any JNDI provider you like, so you
could just use LDAP?

-- 

James
-------
http://radio.weblogs.com/0112098/