[jboss-user] [Security & JAAS/JBoss] - Re: SecurityContext after JMS call

jaikiran do-not-reply at jboss.com
Tue Oct 24 12:05:34 EDT 2006


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#3980432

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3980432



More information about the jboss-user mailing list