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

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

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