i'm tryng to control the access method to my queue (password), but i'm having some problems.
I have the folling piece of code in jbossmq-destinations-service.xml:
<!-- Security -->
and in the jbossmq-state.xml i have:
Now the problem is that when i try to deploy my message driven bean in jboss 3.0.4 with this piece of code:
QueueConnectionFactory qcf = (QueueConnectionFactory) tmp;
conn = qcf.createQueueConnection("john", "needle");
i get a error in the jboss like this :
javax.jms.JMSSecurityException: Connection not authorized to subscribe to destination: Multibanco
What am i doing wrong ?
Do i have to configure another file (maybe auth.conf) ?
Thanks a lot