Specify a <run-as> in the ejb-jar.xml for the Message Driven Bean. Check the
ejb-jar.xml's dtd, for more details:
http://java.sun.com/dtd/ejb-jar_2_0.dtd
<!--
| The run-as element specifies the run-as identity to be used for the
| execution of the enterprise bean. It contains an optional description, and
| the name of a security role.
|
| Used in: security-identity
| -->
| <!ELEMENT run-as (description?, role-name)>
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3980432#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...