run-as has no affect on the roles seen by the onMessage invocation. It only affects calls made to other resources from within the onMessage method. There is no spec defined mechanism to setting the identity of an mdb message. You would have to use a custom interceptor and establish the identity based on some message property.
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3866131#3866131 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3866131 ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ JBoss-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jboss-user
