Can someone direct me to a JBoss example of how to implement security for a message-driven bean. I am encountering the following problem and I don't have a feel for how to address is.
1. An MDB that does not invoke other EJBs runs just
fine. No exceptions thrown and everything works.
2. However, an MDB that invokes other EJBs results in "principal=null" security errors.
What needs to be done here? My apologies in advance for this newbie-type question.
You are in the wrong forum, you should be in
the messaging or ejb forum.
Have you tried configuring the <run-as>
for the MDB in ejb-jar.xml