Skip to main content

JMS + security realm in Jave EE 7 / Glassfish v4

Please note these java.net forums are being decommissioned and use the new and improved forums at https://community.oracle.com/community/java.
No replies
pranahata
Offline
Joined: 2013-07-11

We have a jms queue in a jee 7 application running on glassfish v4.

At the moment, an MDB is reading from the queue.

Is it possible to secure this queue with the application's security realm and be able to do things like fetch the user princiapl and do principal.isUserInRole while processing the message received on the jms queue?