JNDIRealm can be used to authenticate users against an LDAP (I'm guessing in this case ActiveDirectory).
You will, however, want to use Basic authentication, and prompt the user username for a username and password. Justin -----Original Message----- From: Damien Pacaud [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 02, 2003 10:16 AM To: Tomcat Users List Subject: Configure tomcat for LDAP Hi, i want to use LDAP to athenticate my users on a JSP application and would like to know how to configure TOMCAT so that i can acces the login of the current user through a jsp ? for now, i have it all set on apache, in the virtual host using ath_ldap . my problem is that the request.getRemoteUser() method always returns null in my jsp application... but apache writes the login of the user in the acces.log ....so i guess it is a conf problem with tomcat... Does anyone have an idea, or a url that could halp ?? thanks in advance ----------------------- le pr�sent message (ainsi que ses �ventuelles pi�ces jointes) peut contenir des informations confidentielles. Etant �tabli � l'intention de ses destinataires, son utilisation ou diffusion non autoris�e est interdite. Tout message �lectronique �tant susceptible d'alt�ration, Prisma Presse d�cline toute responsabilit� au titre dudit message en cas de falsification. Ce message a �t� trait� par un anti virus et aucun virus connu n'a �t� d�tect�. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
