javaURLContextFactory class or jar file

2005-02-08 Thread Dave Bender
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

Accessing LDAP after authentication

2004-08-24 Thread Dave Bender
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

RE: Accessing LDAP after authentication

2004-08-24 Thread Dave Bender
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

RE: Newbie Question

2004-07-23 Thread Dave Bender
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

RE: Configuring JNDI for tomcat

2004-06-16 Thread Dave Bender
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,

RE: Configuring JNDI for tomcat

2004-06-16 Thread Dave Bender
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