i thought i found the solution with the run-as tag (but it's still not working)
| <enterprise-beans> | <message-driven> | <ejb-name>DocImportProcessorEJB</ejb-name> | <ejb-class>ch.e_act.e_archive.server.emanager.ejb.DocImportProcessorBean</ejb-class> | <transaction-type>Container</transaction-type> | <message-selector>MessageFormat = 'Version 3.4'</message-selector> | <acknowledge-mode>auto-acknowledge</acknowledge-mode> | <message-driven-destination> | <destination-type>javax.jms.Queue</destination-type> | </message-driven-destination> | <security-identity> | <run-as> | <role-name>ecollector</role-name> | <use-caller-identity>false</use-caller-identity> | </run-as> | </security-identity> | <resource-ref> | <res-ref-name>jms/QueueFactory</res-ref-name> | <res-type>javax.jms.QueueConnectionFactory</res-type> | <res-auth>Container</res-auth> | </resource-ref> | </message-driven> | </enterprise-beans> | is there an other way to give the mdb-bean a role? or is the "run-as tag" the right way, and i missed something? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3888204#3888204 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3888204 ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click _______________________________________________ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user