RE: Accessing LDAP after authentication

2004-08-24 Thread Dave Bender
OK, thanks. I was reaching that conclusion. Thanks for the confirmation. Dave -Original Message- From: Tim Funk [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 24, 2004 10:05 AM To: Tomcat Users List Subject: Re: Accessing LDAP after authentication You'll need to connect to

Re: Accessing LDAP after authentication

2004-08-24 Thread Tim Funk
You'll need to connect to LDAP 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