you're right... please report this to bugzilla in www.orionserver.com
TIA
JP
> -----Original Message-----
> From: Eduardo Estefano [mailto:[EMAIL PROTECTED]]
> Sent: Miércoles, 21 de Febrero de 2001 13:57
> To: Orion-Interest
> Subject: Got SecurityException, bu shouldn't it be NamingException?
>
>
> I was looking up a bean using:
>
> JndiContext.lookup("ContactManager");
>
> And I was getting a security exception: User Admin does not
> have permissions
> to ContactManager.
>
> However, there is no ContactManager in the jndi tree. The
> bean name in the
> tree was ContactManagerHome.
>
> I changed it and it worked fine.
>
> The question is: Shouldn't I get a NamingException instead of a
> SecurityException?
>
> -----------------------------------------
> Eduardo Estefano
> Integrated Information Systems
> 480.317.8549
>
>