Jian Lin wrote:
>
> I know that some of the EJB servers let you create a Context object using
> new InitialContext()
> in a bean without providing any property values. I suppose that no
> authentication is performed
> here and it may work only if the EJB server is also providing the JNDI service.
> Is this vendor-specific?
>
As far as I can remember the spec states that the server should provide the
ability for a bean to do "new InitialContext()" to get a context that is
implemented by the server. This was discussed some time ago regarding how to
lookup bean settings ("comp/ejb"?). I suspect authentication is performed on a
server basis (ie the server is authenticated and not the bean/bean caller), but
I'm not sure.
Just my 2 SEK IMHO FWIW etc :)
/Kalle
===========================================================================
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".