Win a copy of Design for the Mind this week in the Design 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