how to secure JNDI lookups in Sun java application server

Hi

Thank you for reading my post.

we have an application running on glassfish and it is exposed to internet because we have some web services , some swing client and some non-java client.

as you know we can lookup the server JNDI from a remote client if we have the ip address and port of the server.

we need to let this port open to outside because our swing client need to perform some lookups.

what make me worry is security of our system, because any one can try and lookup into our JNDI.

is there any way to do some authentication before allowing any one to perform lookup?

for example passing some user/password with initialContext() properties?

thanks

[713 byte] By [Legolas.wa] at [2007-11-26 14:05:24]
# 1
any comment for this?Thanks
Legolas.wa at 2007-7-8 1:50:10 > top of Java-index,Application & Integration Servers,Application Servers...