How to set username and password on BrokerJMS destination

How can we set credentials (username/password) for a BrokerJMS queue or topic such that these credentials must be specified by a JMS client in order to read or write messages from them?

We are using the WM Naming Provider and BrokerJMS 6.5. We are using WmJMSAdmin to define factories and destinations.

The docs show an example of how to set JNDI properties to connect to a naming provider, but, to my knowledge, not how to assign credentials to a queue or topic.


Hi Mark,

Di dyou get to solve for this problem? I have a similar kind of issue, where i need to implement some sort of security on queues and topics.