Ok, the problem is that Tomcat isn't using the tomcat-users.xml file in the cactus-specified conf directory, but the one in the %TOMCAT_HOME%/conf directory. Add the testuser/testpwd entry to that file and things work.
If I have a chance I'll dig into Tomcat code and see what's up. Looks like a Tomcat bug to me. Jason -----Original Message----- From: Robertson, Jason Sent: Thursday, January 17, 2002 2:55 PM To: 'Vincent Massol'; 'Cactus Developers List' Subject: RE: Problem with Tomcat 4.0 authentication Ignore previous response. I should completely read and then think and then email. I'm currently running tomcat outside of the cactus tests, and I can request the ServletRedirector in IE and it prompts me properly and when I enter testuser/testpwd I get the good old 'Missing service name parameter' so I'm getting as far as I can manually and it seems that Tomcat is working. Interestingly, however, from the release notes of Tomcat 4-0-1, under the "using with Apache" section: * With this release, FORM-based authentication will work correctly, but there is a bug that prevents BASIC authentication from operating. This will be addressed before final release. I also found a handful of mentions in the archives about basic authentication not working, such as: http://www.apachelabs.org/tomcat-user/200109.mbox/%3C20010914101338.E38404-1 00000@localhost%3E But I don't know if this applies to using the built in web server or just the Apache Web Connector. Jason -----Original Message----- From: Vincent Massol [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 16, 2002 6:16 PM To: 'Cactus Developers List' Cc: Robertson, Jason Subject: Problem with Tomcat 4.0 authentication Jason, For some reasons, I cannot configure properly Tomcat 4.0 to run with our basic authentication. It works fine with Tomcat 3.3. I am sure I have a bad setting somewhere but I can't find where. You can find the summary of what I set up either in CVS or in the email I sent to the Tomcat 4 mailing list (but I got no response ... :-( ), available at : http://www.mail-archive.com/tomcat-user%40jakarta.apache.org/msg42173.ht ml The result of the build is : http://www.mail-archive.com/cactus-dev%40jakarta.apache.org/msg00286.htm l Any idea ? Thanks -Vincent -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
