Re: Tomcat 6 getRemoteUser() returns null

2008-11-19 Thread Thangavel Sankaranarayanan
4 pm Subject: Tomcat 6 getRemoteUser() returns null Hi, We have to retrieve the userid of the remote user when the user logs on. But request.getRemoteUser() or the requet.getPrinciple.getName() is returning null in Tomcat 6. Authentication is done. through LDAP. Any suggestion

Re: Tomcat 6 getRemoteUser() returns null

2008-11-19 Thread Thangavel Sankaranarayanan
4 pm Subject: Tomcat 6 getRemoteUser() returns null Hi, We have to retrieve the userid of the remote user when the user logs on. But request.getRemoteUser() or the requet.getPrinciple.getName() is returning null in Tomcat 6. Authentication is done. through LDAP. Any suggestion

Re: Tomcat 6 getRemoteUser() returns null

2008-11-17 Thread bhooshanpandit
What is auth type? e.g. Form / Basic??? -Original Message- From: Thangavel Sankaranarayanan <[EMAIL PROTECTED]> To: Tomcat Users List Sent: Mon, 17 Nov 2008 2:24 pm Subject: Tomcat 6 getRemoteUser() returns null Hi, We have to retrieve the userid of the remote user when th

Tomcat 6 getRemoteUser() returns null

2008-11-17 Thread Thangavel Sankaranarayanan
Hi, We have to retrieve the userid of the remote user when the user logs on. But request.getRemoteUser() or the requet.getPrinciple.getName() is returning null in Tomcat 6. Authentication is done. through LDAP. Any suggestion? Thanks, Thangavel.S

Re: Tomcat 6 getRemoteUser() returns null

2007-12-29 Thread Natalie Wang
Thank you for all the help. It is a configuration problem. I use apache and webauth to do the authentication. in tomcat server.xml, I need to set tomcatAuthentication="false" which I did not do it. Thanks, Natalie --- Mark Thomas <[EMAIL PROTECTED]> wrote: > Natalie Wang wrote: > > It does

Re: Tomcat 6 getRemoteUser() returns null

2007-12-22 Thread Mark Thomas
Natalie Wang wrote: > It does not work either. Tomcat version? Java version? OS and version? LDAP and version? Errors in logs? Extracts from relevant configuration files? Have you tried this with a simple test case? Ie a single html file and a resource constraint? Does the same test work if you u

Re: Tomcat 6 getRemoteUser() returns null

2007-12-21 Thread Gabe Wong
Natalie Wang wrote: It does not work either. Thanks, Natalie --- Gabe Wong <[EMAIL PROTECTED]> wrote: Natalie Wang wrote: Hi, We have to retrieve the userid of the remote user when the user logs on. But request.getRemoteUser() is returning null in Tomcat 6. Authenticat

Re: Tomcat 6 getRemoteUser() returns null

2007-12-21 Thread Natalie Wang
It does not work either. Thanks, Natalie --- Gabe Wong <[EMAIL PROTECTED]> wrote: > Natalie Wang wrote: > > Hi, > > > > We have to retrieve the userid of the remote user > when > > the user logs on. But request.getRemoteUser() is > > returning null in Tomcat 6. Authentication is done > > through

Re: Tomcat 6 getRemoteUser() returns null

2007-12-21 Thread Gabe Wong
Natalie Wang wrote: Hi, We have to retrieve the userid of the remote user when the user logs on. But request.getRemoteUser() is returning null in Tomcat 6. Authentication is done through LDAP. It works fine in Tomcat 5 and 4. Any suggestion? Thanks, Natalie This me be an issue with the W

Tomcat 6 getRemoteUser() returns null

2007-12-21 Thread Natalie Wang
Hi, We have to retrieve the userid of the remote user when the user logs on. But request.getRemoteUser() is returning null in Tomcat 6. Authentication is done through LDAP. It works fine in Tomcat 5 and 4. Any suggestion? Thanks, Natalie