User development,

A new message was posted in the thread "Authentication for individual queues?":

http://community.jboss.org/message/527542#527542

Author  : Wing Yau Au Yeong
Profile : http://community.jboss.org/people/auywy

Message:
--------------------------------------------------------------
Trying to configure Messaging so that different clients have different 
permisisons for different queues. Trying to do this via the XML files.
 
So i added this in login-config.xml:
 
 
 
And I have props/messaging-roles.properties:
guest=guestadmin=admin
 
 
props/messaging-users.properties:
guest=guestadmin=password
 
 
Then in destinations-service.xml, I modified the DLQ:

 
 
Now my client will throw a JMSNamingException:
javax.jms.JMSSecurityException: User admin is NOT authenticated
 
 
Where the client code is:
InitialContext ctx = new InitialContext();ConnectionFactory cf = 
(ConnectionFactory) ctx.lookup("ConnectionFactory");QueueConnectionFactory qcf 
= (QueueConnectionFactory) cf;QueueConnection conn = 
qcf.createQueueConnection("admin","password");
 
 
 
I'm certain there's a mistake in my configuration. Can anyone please assist? 
Thanks!

--------------------------------------------------------------

To reply to this message visit the message page: 
http://community.jboss.org/message/527542#527542


_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to