Hi, all, In First Head EJB book, it says you can get client security info in ebjCreate, ejbRemove, ejbPassivate and ejbActivate. But in EJB spec page 90, the chart there shows you can only do this business method. (Unless, there is other ways to get security info instead of isCallerinRole etc) Anyone has any idea? Thanks
Stateless session beans can get client security info only in business methods. Stateful session beans can get client security info in ejbCreate, ejbRemove, ejbActivate, ejbPassivate and business methods. CMP entity beans can get client security info in ejbCreate, ejbPostCreate, ejbRemove, ejbLoad, ejbStore and home business methods.
I hope this helps you.
SCJA, SCJP, SCBCD & SCEA (Part I)
Yeast devil! Back to the oven that baked you! And take this tiny ad too: