This week's book giveaways are in the Refactoring and Agile forums.
We're giving away four copies each of Re-engineering Legacy Software and Docker in Action and have the authors on-line!
See this thread and this one for details.
Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Is "run-as" a must for MDB?

 
Alec Lee
Ranch Hand
Posts: 569
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is "run-as" a must for MDB? HFEJB says it *can* (which implies optional), but I think I *must*; otherwise, the bean called by MDB dont know what security context to use.
 
Pradeep Dhavakumar
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can or must depends on what the "other" bean is .If the other bean is also a MBD or has methods NOT dependent on the the client's role it is "can".
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic