Re: No WWW-Authenticate header sent when error-page 401 is configured

2010-03-30 Thread Konstantin Kolinko
2010/3/30 Nick Wiedenbrück : > I got it working on Tomcat 6 and Jetty, but I've got a problem with Tomcat > 5.5.23, It will not work with 5.5.23, because it is some issue that was fixed in a later version. (Headers were cleared when rendering a custom page). Search the bugzilla or look in the cha

No WWW-Authenticate header sent when error-page 401 is configured

2010-03-30 Thread Nick Wiedenbrück
Hi, I'm trying to get digest authentication working on Tomcat 5.5.23. I got it working on Tomcat 6 and Jetty, but I've got a problem with Tomcat 5.5.23, because there no WWW-Authenticate header is sent. I figured out that it will work if I remove error-page 401 configuration from

Re: Www-authenticate ...

2009-12-24 Thread André Warnier
Mark Thomas wrote: On 24/12/2009 02:18, Christopher Schultz wrote: On 12/23/2009 2:13 PM, Mark Thomas wrote: digest is (almost) completely orthogonal to DIGEST authentication. digest controls whether or not the password stored on the server is held in plain text or in digest form. It is (almost

Re: Www-authenticate ...

2009-12-24 Thread Mark Thomas
On 24/12/2009 02:18, Christopher Schultz wrote: > On 12/23/2009 2:13 PM, Mark Thomas wrote: >> digest is (almost) completely orthogonal to DIGEST authentication. > >> digest controls whether or not the password stored on the server is held >> in plain text or in digest form. It is (almost) indepen

Re: Www-authenticate ...

2009-12-23 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mark, On 12/23/2009 2:13 PM, Mark Thomas wrote: > On 23/12/2009 16:49, Christopher Schultz wrote: >> The servlet specification actually makes DIGEST authentication optional >> for spec0compliant containers, which is interesting. There is also no >> (s

Re: Www-authenticate ...

2009-12-23 Thread Mark Thomas
On 23/12/2009 16:49, Christopher Schultz wrote: > The servlet specification actually makes DIGEST authentication optional > for spec0compliant containers, which is interesting. There is also no > (standard) way to configure the algorithm for DIGEST authentication. > Tomcat allows you to do it using

Re: Www-authenticate ...

2009-12-23 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 12/21/2009 7:34 AM, André Warnier wrote: > insi wrote: >> Hi, >> >> My tomcat server is sending www-authenticate (digest) header but the >> header >> doesn't contain the algorithm field, which one is choosen

Re: Www-authenticate ...

2009-12-21 Thread André Warnier
insi wrote: Hi, My tomcat server is sending www-authenticate (digest) header but the header doesn't contain the algorithm field, which one is choosen by default? MD5 How do I specify it to use particular algorithm (sha1/md5)? In short, you can't. See HTTP 2616 and 2617. Theoreti

Www-authenticate ...

2009-12-21 Thread insi
Hi, My tomcat server is sending www-authenticate (digest) header but the header doesn't contain the algorithm field, which one is choosen by default? How do I specify it to use particular algorithm (sha1/md5)? -- View this message in context: http://old.nabble.com/Www-authent

Re: how to tell Tomcat to send a blank "WWW-Authenticate" header?

2007-01-21 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mitch, Fisher, Mitchell L wrote: >> Christopher Schultz wrote: >>> When you want to log someone out of BASIC authentication, you >>> have to send a blank "WWW-Authenticate" header to the client, >>> ju

Re: how to tell Tomcat to send a blank "WWW-Authenticate" header?

2007-01-21 Thread Martin Gainty
inal Message - From: "Fisher, Mitchell L" <[EMAIL PROTECTED]> To: "Tomcat Users List" Sent: Sunday, January 21, 2007 1:31 PM Subject: RE: how to tell Tomcat to send a blank "WWW-Authenticate" header? > Christopher Schultz wrote: >> Also, you c

RE: how to tell Tomcat to send a blank "WWW-Authenticate" header?

2007-01-21 Thread Fisher, Mitchell L
out of BASIC authentication, you have to send a blank >> "WWW-Authenticate" header to the client, just the same way that Tomcat >> would do if you weren't already authenticated. Could you expand on this? RFC2616 (HTTP/1.1) (http://www.w3.org/Protocols/rfc2616/rfc26

Re: how to tell Tomcat to send a blank "WWW-Authenticate" header?

2007-01-17 Thread Christopher Schultz
er to access the forbidden resource. When you want to log >> someone out of BASIC authentication, you have to send a blank >> "WWW-Authenticate" header to the client, just the same way that Tomcat >> would do if you weren't already authenticated. > > Is there a

how to tell Tomcat to send a blank "WWW-Authenticate" header?

2007-01-17 Thread John Caron
ve to send a blank "WWW-Authenticate" header to the client, just the same way that Tomcat would do if you weren't already authenticated. Is there a way to tell Tomcat to send a blank "WWW-Authenticate" header to the client when authorization fails? I would like to not use FO

Re: Tomcat 5.0 : 401 errors do NOT send back a www-authenticate field :(

2005-12-21 Thread Francis Galiegue
2005/12/19, Francis Galiegue <[EMAIL PROTECTED]>: > Hello, > > As the subject says, we have a problem with Tomcat 5.0 (5.0.27 through > 5.0.30 to be precise) where a servlet invoked from tomcat5 does NOT > send a www-authenticate header back, resulting in a definitive 401 &

[Repost...] Tomcat 5.0 : 401 errors do NOT send back a www-authenticate field :(

2005-12-19 Thread Francis Galiegue
[I don't know why, looks like the original message didn't make it to the list... Sorry if it's a double send] Hello, As the subject says, we have a problem with Tomcat 5.0 (5.0.27 through 5.0.30 to be precise) where a servlet invoked from tomcat5 does NOT send a www-authentic

Tomcat 5.0 : 401 errors do NOT send back a www-authenticate field :(

2005-12-19 Thread Francis Galiegue
Hello, As the subject says, we have a problem with Tomcat 5.0 (5.0.27 through 5.0.30 to be precise) where a servlet invoked from tomcat5 does NOT send a www-authenticate header back, resulting in a definitive 401 error. This violates RFC 2616 (paragraph 14.47). As we suspected Apache first, I