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" <[EMAIL PROTECTED]> To: "Tomcat Users List" <[EMAIL PROTECTED]> 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: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
