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, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content