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]

Reply via email to