1 Reply Latest reply on Dec 4, 2005 11:17 AM by Kabir Khan

    How to Secure JMS Destinations with EJB3 MDBs

    Bobby Kennedy Newbie

      Hi all,

      I was wondering if anyone has any guidance/examples on how to secure JMS destinations when using EJB3 style MDBs?

      In the trailblazer you get a good example on how to setup an EJB3 MDB:
      http://trailblazer.demo.jboss.com/EJB3Trail/serviceobjects/mdb/index.html

      And in the wiki you can find how to setup EJB2 style MDB security:
      http://wiki.jboss.org/wiki/Wiki.jsp?page=ConfigJBossMQSecurity

      But how do you do combine these and do security with EJB3 MDBs? Is there an 'mdb-user' annotation? Do you need to stick it in a jboss.xml? If anyone has had success with this can you please provide guidance? Thanks.