tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jason Riley <the.ril...@bigpond.com>
Subject Re: getRemoteUser = null
Date Wed, 25 Jun 2003 11:13:21 GMT
I'm trying to use BASIC authentication with Tomcat.  My web.xml has
<security-constraint> <login-config>, etc. in it.  This does cause the login
dialog to appear.  But when I enter a user/password, the dialog box is just
presented again.  I believe this is because the remote user in the request
is still set to null, so Tomcat throws it back out for authentication again.
The user/password are in the tomcat-users.conf file for now although the
plan is to move to LDAP.  I've tried setting tomcatAuthentication to both
true and false and nothing changes.

Thanks,
Jennifer


----- Original Message ----- 
From: "Jason Bainbridge" <jason@jblinux.org>
To: "Tomcat Users List" <tomcat-user@jakarta.apache.org>
Sent: Wednesday, June 25, 2003 20:35
Subject: Re: getRemoteUser = null


> On Wed, 25 Jun 2003 18:42, Jason Riley wrote:
> > I'm having the same problem that it seems many of you have had.  I'm
using
> > tomcat 4.1.24 and apache with the JkCoyote connector.  I've set
> > tomcatAuthentication=false in jk2.properties.  Yet, getRemoteUser is
still
> > returning null.  Would someone who's gotten this working mind posting
the
> > relevant portions of your config files (web.xml, server.xml,
> > jk2.properties).  Are you using .htaccess also or anything special in
the
> > apache config files?
>
> What sort of authentication are you using then?
>
> Regards,
> -- 
> Jason Bainbridge
> http://jblinux.org
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>
>



---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message