"Subrahmanyam A.V.B." wrote:
>
> What about the InitialContext you're creating in the servlet (or any
> other client) for lookup. In WebLogic, you should be setting
> Context.SECURITY_PRINCIPAL and Context.SECURITY_CREDENTIALS while
> creating the InitialContext? Does it not explain the magic?

Partially.  Does this mean that I should be getting a new
InitialContext() *every time* my servlet is invoked (since it could be
invoked by all sorts of people), rather than stashing the first
InitialContext away as a member variable?  Isn't this slow and
unadvisable?  Then again, perhaps this is the only way to do it?

Cheers,
Laird

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to