This is the simple jsp I used to test my JNDI Connection with:

<%
        String id = request.getRemoteUser();
        out.write("User: " + id);
%>

See if that helps any.

Dean


-----Original Message-----
From:   Damien Pacaud [mailto:[EMAIL PROTECTED]
Sent:   Mon 12/1/2003 06:00
To:     [EMAIL PROTECTED]
Cc:     
Subject:        LDAP connection problem through JSP
hi list, 
I am trying to get the login for the user authentificated through LDAP in a JSP...
I tryed : request.getRemoteUser();
but that returns always null...
I am sure it can be done but am unable to find how...

Any help would be greatly appreciated ;)

Thanks in advance

Damien Pacaud

-----------------------
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]

Reply via email to