Where can I find the org.apache.naming.java.javaURLContextFactory class file
or jar file that contains it?
I'm trying to set up a simple JUnit test case JDNI fixture to create the
JDNI context for my test cases. But I can't find where the class file sits.
Does anybody have any idea?
I would
I've gotten a JndiRealm working with Tomcat to authenticate users from our
LDAP directory and allow them access to various parts of our web application
based on groups and roles. That works slick as snot. Now I'd like to pluck
a few more tidbits from our LDAP database -- email address, first
via JNDI to get the other user attributes.
JNDIRealm only knows how to authenticate and authorize, not user information
retrieval.
To get the user name - request.getRemoteUser() or request.getUserPrincipal()
should give you enough information to perform your ldap lookups.
-Tim
Dave Bender wrote
Can you provide some more detail? When you say you're running two servers accessing
an Access database, do you mean two different machines or just different server
instances on the same machine?
If you're trying to access Access from a different machine, you may have to use a
different jdbc
Sounds like nothing's running on localhost port 1099. I'm not a Tomcat expert so I
don't know if Tomcat is supposed to be exposing its Naming Service on that port. If
it is, it isn't there.
Dave
-Original Message-
From: Russ Leong [mailto:[EMAIL PROTECTED]
Sent: Tuesday, June 15,
Is it possible to configure Tomcat to use an external JNDI service? If that
were possible, the original problem in this thread could be solved, in that
Tomcat would use an external Naming Service as would the application outside
of Tomcat.
Possible? If so, how?
Dave
-Original