This content has been marked as final.
Show 2 replies
-
1. Re: Losing LoginContext in EJB
haraldgliebe May 30, 2003 6:31 PM (in response to sgfcci)The EJB-Spec doesn't mandate that a stateful session bean should use the security information used in the ejbCreate method for subsequent calls on the same instance, so the reauthentication is neccessary in the ejbRemove method.
Since the user you're using seems constant, you should have a look if declaring
<security-identity>
<run-as>dataaccess</run-as>
</security-identity>
in the deployment descriptor for your bean doesn't better fits your needs.
Regards,
Harald -
2. Re: Losing LoginContext in EJB
sgfcci Jun 2, 2003 1:26 PM (in response to sgfcci)Thanks, I will have a look at that...