W3C home > Mailing lists > Public > ietf-http-wg@w3.org > July to September 2011

Re: #78: Relationship between 401, Authorization and WWW-Authenticate

From: Yutaka OIWA <y.oiwa@aist.go.jp>
Date: Tue, 26 Jul 2011 22:28:14 +0900
Message-ID: <4E2EC0EE.8060200@aist.go.jp>
To: Mark Nottingham <mnot@mnot.net>
CC: HTTP Working Group <ietf-http-wg@w3.org>
2011/7/25 Mark Nottingham <mnot@mnot.net>:
> <http://trac.tools.ietf.org/wg/httpbis/trac/ticket/78>
>
> Proposal:
>
> 1) Clarify that WWW-Authenticate can appear on any response, and that when it
> appears on any other than a 401, it means that the client can optionally
> present the request again with a credential.

Just for confirmation:
I remember we had some discussion about this years ago.
This change will break SPNEGO (see RFC 4559, Sec. 5 example)
and other other authentication schemes which uses
WWW-Authenticate on 200 as a carrier for authentication
exchanges, instead of Authentication-Info.
Is this incompatible change OK?
(I prefer this direction, though.)

And if this change text intends to introduce any opportunity
for optional authentication to HTTP at this time,
I think we need more detailed restrictions to make it really work.
If the intention is just to clarify header meanings and
leave the rest for future work, it is OK for me.

> 2) Clarify that an Authentication scheme that uses WWW-Authenticate and/or
> 401 MUST use the Authorization header in the request, because of its
> implications for caching. Schemes MAY specify additional headers to be used
> alongside it.

+1. Good way.

-- 
Yutaka OIWA, Ph.D.                                       Research Scientist
                            Research Center for Information Security (RCIS)
    National Institute of Advanced Industrial Science and Technology (AIST)
                      Mail addresses: <y.oiwa@aist.go.jp>, <yutaka@oiwa.jp>
OpenPGP: id[440546B5] fp[7C9F 723A 7559 3246 229D  3139 8677 9BD2 4405 46B5]
Received on Tuesday, 26 July 2011 13:28:53 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 27 April 2012 06:51:46 GMT