How can I setup my MDB to call two different secured EJBs depending on the received message

Solution Verified - Updated -

Issue

For MDBs to call secured EJBs they need to specify an identity and this needs to be set by RunAs. So to call 2 secured ejbs RunAs would need to change.

Environment

JBoss Enterprise Application Platform 5.1.2

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.