This content has been marked as final.
Show 2 replies
-
1. Re: No security context set?
haraldgliebe Jun 2, 2003 3:07 AM (in response to gridplan)The exception is correct. According to the EJB Spec you're not allowed to call getCallerPrincipal from within the ejbCreate method of stateless SB.
Since a SLSB instance can be used by multiple clients and the creation (ejbCreate) of an instance doesn't need to correspond to a create call from the client, the caller identity wouldn't be very useful anyway.
Regards,
Harald -
2. Re: No security context set?
gridplan Jun 5, 2003 10:09 AM (in response to gridplan)That makes perfect sense, Harald. Thank you very much!