wood burning stoves 2.0*
The moose likes EJB Certification (SCBCD/OCPJBCD) and the fly likes Is Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » EJB Certification (SCBCD/OCPJBCD)
Bookmark "Is "run-as" a must for MDB?" Watch "Is "run-as" a must for MDB?" New topic

Is "run-as" a must for MDB?

Alec Lee
Ranch Hand

Joined: Jan 28, 2004
Posts: 569
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

Joined: Feb 05, 2004
Posts: 19
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".

subject: Is "run-as" a must for MDB?
Similar Threads
Weblogic cluster question
The class must not define the finalize() method
How to open ".mdb" file(access database) by java code
Question on EJB Transactions
about websphere MQ