RE: LDAP connection problem through JSP

2003-12-01 Thread Dean Searle
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 prsent message (ainsi que ses ventuelles pices jointes) peut
contenir des informations confidentielles. Etant tabli  l'intention de ses
destinataires, son utilisation ou diffusion non autorise est interdite.

Tout message lectronique tant susceptible d'altration, Prisma Presse
dcline 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 dtect.





-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Re: LDAP connection problem through JSP

2003-12-01 Thread Damien Pacaud
yes that's what i tried but the id String is always null
i am getting confused here...
do you get the LDAP  login of the current user whith this script ??
- Original Message -
From: Dean Searle [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Monday, December 01, 2003 3:31 PM
Subject: RE: LDAP connection problem through JSP


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 prsent message (ainsi que ses ventuelles pices jointes) peut
contenir des informations confidentielles. Etant tabli  l'intention de ses
destinataires, son utilisation ou diffusion non autorise est interdite.

Tout message lectronique tant susceptible d'altration, Prisma Presse
dcline 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
dtect.












 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]



---
le prsent message (ainsi que ses ventuelles pices jointes) peut
contenir des informations confidentielles. Etant tabli  l'intention de ses
destinataires, son utilisation ou diffusion non autorise est interdite.

Tout message lectronique tant susceptible d'altration, Prisma Presse
dcline 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 dtect.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]