source: draft-ietf-httpbis/24/p7-auth.xml @ 2640

Last change on this file since 2640 was 2414, checked in by julian.reschke@…, 7 years ago

Prepare release of -24 on Sept 25

  • Property svn:eol-style set to native
  • Property svn:mime-type set to text/xml
File size: 49.6 KB
Line 
1<?xml version="1.0" encoding="utf-8"?>
2<?xml-stylesheet type='text/xsl' href='../myxml2rfc.xslt'?>
3<!DOCTYPE rfc [
4  <!ENTITY MAY "<bcp14 xmlns='http://purl.org/net/xml2rfc/ext'>MAY</bcp14>">
5  <!ENTITY MUST "<bcp14 xmlns='http://purl.org/net/xml2rfc/ext'>MUST</bcp14>">
6  <!ENTITY MUST-NOT "<bcp14 xmlns='http://purl.org/net/xml2rfc/ext'>MUST NOT</bcp14>">
7  <!ENTITY OPTIONAL "<bcp14 xmlns='http://purl.org/net/xml2rfc/ext'>OPTIONAL</bcp14>">
8  <!ENTITY RECOMMENDED "<bcp14 xmlns='http://purl.org/net/xml2rfc/ext'>RECOMMENDED</bcp14>">
9  <!ENTITY REQUIRED "<bcp14 xmlns='http://purl.org/net/xml2rfc/ext'>REQUIRED</bcp14>">
10  <!ENTITY SHALL "<bcp14 xmlns='http://purl.org/net/xml2rfc/ext'>SHALL</bcp14>">
11  <!ENTITY SHALL-NOT "<bcp14 xmlns='http://purl.org/net/xml2rfc/ext'>SHALL NOT</bcp14>">
12  <!ENTITY SHOULD "<bcp14 xmlns='http://purl.org/net/xml2rfc/ext'>SHOULD</bcp14>">
13  <!ENTITY SHOULD-NOT "<bcp14 xmlns='http://purl.org/net/xml2rfc/ext'>SHOULD NOT</bcp14>">
14  <!ENTITY ID-VERSION "24">
15  <!ENTITY ID-MONTH "September">
16  <!ENTITY ID-YEAR "2013">
17  <!ENTITY mdash "&#8212;">
18  <!ENTITY Note "<x:h xmlns:x='http://purl.org/net/xml2rfc/ext'>Note:</x:h>">
19  <!ENTITY messaging                    "<xref target='Part1' xmlns:x='http://purl.org/net/xml2rfc/ext'/>">
20  <!ENTITY semantics                    "<xref target='Part2' xmlns:x='http://purl.org/net/xml2rfc/ext'/>">
21  <!ENTITY architecture                 "<xref target='Part1' x:rel='#architecture' xmlns:x='http://purl.org/net/xml2rfc/ext'/>">
22  <!ENTITY conformance                  "<xref target='Part1' x:rel='#conformance' xmlns:x='http://purl.org/net/xml2rfc/ext'/>">
23  <!ENTITY notation                     "<xref target='Part1' x:rel='#notation' xmlns:x='http://purl.org/net/xml2rfc/ext'/>">
24  <!ENTITY abnf-extension               "<xref target='Part1' x:rel='#abnf.extension' xmlns:x='http://purl.org/net/xml2rfc/ext'/>">
25  <!ENTITY acks                         "<xref target='Part1' x:rel='#acks' xmlns:x='http://purl.org/net/xml2rfc/ext'/>">
26  <!ENTITY whitespace                   "<xref target='Part1' x:rel='#whitespace' xmlns:x='http://purl.org/net/xml2rfc/ext'/>">
27  <!ENTITY field-components             "<xref target='Part1' x:rel='#field.components' xmlns:x='http://purl.org/net/xml2rfc/ext'/>">
28  <!ENTITY effective-request-uri        "<xref target='Part1' x:rel='#effective.request.uri' xmlns:x='http://purl.org/net/xml2rfc/ext'/>">
29  <!ENTITY msg-orient-and-buffering     "<xref target='Part1' x:rel='#intermediaries' xmlns:x='http://purl.org/net/xml2rfc/ext'/>">
30  <!ENTITY end-to-end.and-hop-by-hop    "<xref target='Part1' x:rel='#end-to-end.and.hop-by-hop.header-fields' xmlns:x='http://purl.org/net/xml2rfc/ext'/>">
31  <!ENTITY status.403                   "<xref target='Part2' x:rel='#status.403' xmlns:x='http://purl.org/net/xml2rfc/ext'/>">
32  <!ENTITY caching-authenticated-responses "<xref target='Part6' x:rel='#caching.authenticated.responses' xmlns:x='http://purl.org/net/xml2rfc/ext'/>">
33  <!ENTITY caching-rqd-no-store         "<xref target='Part6' x:rel='#cache-request-directive.no-store' xmlns:x='http://purl.org/net/xml2rfc/ext'/>">
34  <!ENTITY caching-rsd-private          "<xref target='Part6' x:rel='#cache-response-directive.private' xmlns:x='http://purl.org/net/xml2rfc/ext'/>">
35]>
36<?rfc toc="yes" ?>
37<?rfc symrefs="yes" ?>
38<?rfc sortrefs="yes" ?>
39<?rfc compact="yes"?>
40<?rfc subcompact="no" ?>
41<?rfc linkmailto="no" ?>
42<?rfc editing="no" ?>
43<?rfc comments="yes"?>
44<?rfc inline="yes"?>
45<?rfc rfcedstyle="yes"?>
46<?rfc-ext allow-markup-in-artwork="yes" ?>
47<?rfc-ext include-references-in-index="yes" ?>
48<rfc obsoletes="2616" updates="2617" category="std" x:maturity-level="proposed"
49     ipr="pre5378Trust200902" docName="draft-ietf-httpbis-p7-auth-&ID-VERSION;"
50     xmlns:x='http://purl.org/net/xml2rfc/ext'>
51<x:link rel="prev" basename="p6-cache"/>
52<x:feedback template="mailto:ietf-http-wg@w3.org?subject={docname},%20%22{section}%22&amp;body=&lt;{ref}&gt;:"/>
53<front>
54
55  <title abbrev="HTTP/1.1 Authentication">Hypertext Transfer Protocol (HTTP/1.1): Authentication</title>
56
57  <author initials="R." surname="Fielding" fullname="Roy T. Fielding" role="editor">
58    <organization abbrev="Adobe">Adobe Systems Incorporated</organization>
59    <address>
60      <postal>
61        <street>345 Park Ave</street>
62        <city>San Jose</city>
63        <region>CA</region>
64        <code>95110</code>
65        <country>USA</country>
66      </postal>
67      <email>fielding@gbiv.com</email>
68      <uri>http://roy.gbiv.com/</uri>
69    </address>
70  </author>
71
72  <author initials="J. F." surname="Reschke" fullname="Julian F. Reschke" role="editor">
73    <organization abbrev="greenbytes">greenbytes GmbH</organization>
74    <address>
75      <postal>
76        <street>Hafenweg 16</street>
77        <city>Muenster</city><region>NW</region><code>48155</code>
78        <country>Germany</country>
79      </postal>
80      <email>julian.reschke@greenbytes.de</email>
81      <uri>http://greenbytes.de/tech/webdav/</uri>
82    </address>
83  </author>
84
85  <date month="&ID-MONTH;" year="&ID-YEAR;" day="25"/>
86  <workgroup>HTTPbis Working Group</workgroup>
87
88<abstract>
89<t>
90   The Hypertext Transfer Protocol (HTTP) is an application-level protocol for
91   distributed, collaborative, hypermedia information systems. This document
92   defines the HTTP Authentication framework.
93</t>
94</abstract>
95
96<note title="Editorial Note (To be removed by RFC Editor)">
97  <t>
98    Discussion of this draft takes place on the HTTPBIS working group
99    mailing list (ietf-http-wg@w3.org), which is archived at
100    <eref target="http://lists.w3.org/Archives/Public/ietf-http-wg/"/>.
101  </t>
102  <t>
103    The current issues list is at
104    <eref target="http://tools.ietf.org/wg/httpbis/trac/report/3"/> and related
105    documents (including fancy diffs) can be found at
106    <eref target="http://tools.ietf.org/wg/httpbis/"/>.
107  </t>
108  <t>
109    The changes in this draft are summarized in <xref target="changes.since.23"/>.
110  </t>
111</note>
112</front>
113<middle>
114<section title="Introduction" anchor="introduction">
115<t>
116   This document defines HTTP/1.1 access control and authentication. It
117   includes the relevant parts of <xref target="RFC2616" x:fmt="none">RFC 2616</xref>
118   with only minor changes (<xref target="RFC2616"/>), plus the general framework for HTTP authentication,
119   as previously defined in "HTTP Authentication: Basic and Digest Access
120   Authentication" (<xref target="RFC2617"/>).
121</t>
122<t>
123   HTTP provides several &OPTIONAL; challenge-response authentication
124   schemes that can be used by a server to challenge a client request and
125   by a client to provide authentication information. The "basic" and "digest"
126   authentication schemes continue to be specified in
127   <xref target="RFC2617" x:fmt="none">RFC 2617</xref>.
128</t>
129
130<section title="Conformance and Error Handling" anchor="conformance">
131<t>
132   The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT",
133   "SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL" in this
134   document are to be interpreted as described in <xref target="RFC2119"/>.
135</t>
136<t>
137   Conformance criteria and considerations regarding error handling
138   are defined in &conformance;.
139</t>
140</section>
141
142<section title="Syntax Notation" anchor="notation">
143<t>
144   This specification uses the Augmented Backus-Naur Form (ABNF) notation
145   of <xref target="RFC5234"/> with the list rule extension defined in
146   &abnf-extension;. <xref target="imported.abnf"/> describes rules imported from
147   other documents. <xref target="collected.abnf"/> shows the collected ABNF
148   with the list rule expanded.
149</t>
150</section>
151</section>
152
153<section title="Access Authentication Framework" anchor="access.authentication.framework">
154
155<section title="Challenge and Response" anchor="challenge.and.response">
156  <x:anchor-alias value="auth-scheme"/>
157  <x:anchor-alias value="auth-param"/>
158  <x:anchor-alias value="token68"/>
159  <x:anchor-alias value="challenge"/>
160  <x:anchor-alias value="credentials"/>
161<t>
162   HTTP provides a simple challenge-response authentication framework
163   that can be used by a server to challenge a client request and by a
164   client to provide authentication information. It uses a case-insensitive
165   token as a means to identify the authentication scheme, followed
166   by additional information necessary for achieving authentication via that
167   scheme. The latter can either be a comma-separated list of parameters or a
168   single sequence of characters capable of holding base64-encoded
169   information.
170</t>
171<t>
172   Parameters are name-value pairs where the name is matched case-insensitively,
173   and each parameter name &MUST; only occur once per challenge.
174</t>
175<figure><artwork type="abnf2616"><iref primary="true" item="Grammar" subitem="auth-scheme"/><iref primary="true" item="Grammar" subitem="auth-param"/><iref primary="true" item="Grammar" subitem="token68"/>
176  auth-scheme    = <x:ref>token</x:ref>
177 
178  auth-param     = <x:ref>token</x:ref> <x:ref>BWS</x:ref> "=" <x:ref>BWS</x:ref> ( <x:ref>token</x:ref> / <x:ref>quoted-string</x:ref> )
179
180  token68        = 1*( <x:ref>ALPHA</x:ref> / <x:ref>DIGIT</x:ref> /
181                       "-" / "." / "_" / "~" / "+" / "/" ) *"="
182</artwork></figure>
183<t>
184   The "token68" syntax allows the 66 unreserved URI characters (<xref target="RFC3986"/>),
185   plus a few others, so that it can hold a base64, base64url (URL and filename
186   safe alphabet), base32, or base16 (hex) encoding, with or without padding, but
187   excluding whitespace (<xref target="RFC4648"/>).
188</t>
189<t>
190   The <x:ref>401 (Unauthorized)</x:ref> response message is used by an origin server
191   to challenge the authorization of a user agent. This response &MUST;
192   include a <x:ref>WWW-Authenticate</x:ref> header field containing at least one
193   challenge applicable to the requested resource.
194</t>
195<t>  
196   The <x:ref>407 (Proxy Authentication Required)</x:ref> response message is
197   used by a proxy to challenge the authorization of a client and &MUST;
198   include a <x:ref>Proxy-Authenticate</x:ref> header field containing at least
199   one challenge applicable to the proxy for the requested resource.
200</t>
201<figure><artwork type="abnf2616"><iref primary="true" item="Grammar" subitem="challenge"/>
202  <x:ref>challenge</x:ref>   = <x:ref>auth-scheme</x:ref> [ 1*<x:ref>SP</x:ref> ( <x:ref>token68</x:ref> / #<x:ref>auth-param</x:ref> ) ]
203</artwork></figure>
204<x:note>
205  <t>
206     &Note; User agents will need to take special care in parsing the
207     <x:ref>WWW-Authenticate</x:ref> and <x:ref>Proxy-Authenticate</x:ref>
208     header field values because they can contain more than one challenge, or
209     if more than one of each is provided, since the contents of a challenge
210     can itself contain a comma-separated list of authentication parameters.
211  </t>
212</x:note>
213<x:note>
214  <t>
215     &Note; Many clients fail to parse challenges containing unknown
216     schemes. A workaround for this problem is to list well-supported schemes
217     (such as "basic") first.<!-- see http://greenbytes.de/tech/tc/httpauth/#multibasicunknown2 -->
218  </t>
219</x:note>
220<t>
221   A user agent that wishes to authenticate itself with an origin server
222   &mdash; usually, but not necessarily, after receiving a <x:ref>401 (Unauthorized)</x:ref>
223   &mdash; can do so by including an <x:ref>Authorization</x:ref> header field with the
224   request.
225</t>
226<t>  
227   A client that wishes to authenticate itself with a proxy &mdash; usually,
228   but not necessarily, after receiving a <x:ref>407 (Proxy Authentication Required)</x:ref>
229   &mdash; can do so by including a <x:ref>Proxy-Authorization</x:ref> header field with the
230   request.
231</t>
232<t>
233   Both the <x:ref>Authorization</x:ref> field value and the <x:ref>Proxy-Authorization</x:ref> field value
234   contain the client's credentials for the realm of the resource being
235   requested, based upon a challenge received in a response (possibly at
236   some point in the past). When creating their values, the user agent ought to
237   do so by selecting the challenge with what it considers to be the most
238   secure auth-scheme that it understands, obtaining credentials from the user
239   as appropriate.
240</t>
241<figure><artwork type="abnf2616"><iref primary="true" item="Grammar" subitem="credentials"/>
242  <x:ref>credentials</x:ref> = <x:ref>auth-scheme</x:ref> [ 1*<x:ref>SP</x:ref> ( <x:ref>token68</x:ref> / #<x:ref>auth-param</x:ref> ) ]
243</artwork></figure>
244<t>
245   Upon a request for a protected resource that omits credentials, contains
246   invalid credentials (e.g., a bad password) or partial credentials (e.g.,
247   when the authentication scheme requires more than one round trip), an origin
248   server &SHOULD; send a <x:ref>401 (Unauthorized)</x:ref> response that
249   contains a <x:ref>WWW-Authenticate</x:ref> header field with at least one
250   (possibly new) challenge applicable to the requested resource.
251</t>
252<t>
253   Likewise, upon a request that requires authentication by proxies that omit
254   credentials or contain invalid or partial credentials, a proxy &SHOULD;
255   send a <x:ref>407 (Proxy Authentication Required)</x:ref> response that
256   contains a <x:ref>Proxy-Authenticate</x:ref> header field with a (possibly
257   new) challenge applicable to the proxy.
258</t>
259<t>
260   A server receiving credentials that are valid, but not adequate to gain
261   access, ought to respond with the <x:ref>403 (Forbidden)</x:ref> status code (&status.403;).
262</t>
263<t>
264   The HTTP protocol does not restrict applications to this simple
265   challenge-response framework for access authentication. Additional
266   mechanisms &MAY; be used, such as encryption at the transport level or
267   via message encapsulation, and with additional header fields
268   specifying authentication information. However, such additional
269   mechanisms are not defined by this specification.
270</t>
271<t>
272   A proxy &MUST; forward the <x:ref>WWW-Authenticate</x:ref> and
273   <x:ref>Authorization</x:ref> header fields unmodified and follow the rules
274   found in <xref target="header.authorization"/>.
275</t>
276</section>
277
278<section title="Protection Space (Realm)" anchor="protection.space">
279  <iref item="Protection Space"/>
280  <iref item="Realm"/>
281  <iref item="Canonical Root URI"/>
282<t>
283   The authentication parameter realm is reserved for use by authentication
284   schemes that wish to indicate the scope of protection.
285</t>
286<t>
287   A <x:dfn>protection space</x:dfn> is defined by the canonical root URI (the
288   scheme and authority components of the effective request URI; see
289   <xref target="Part1" x:fmt="of" x:rel="#effective.request.uri"/>) of the
290   server being accessed, in combination with the realm value if present.
291   These realms allow the protected resources on a server to be
292   partitioned into a set of protection spaces, each with its own
293   authentication scheme and/or authorization database. The realm value
294   is a string, generally assigned by the origin server, which can have
295   additional semantics specific to the authentication scheme. Note that a
296   response can have multiple challenges with the same auth-scheme but
297   different realms.
298</t>
299<t>
300   The protection space determines the domain over which credentials can
301   be automatically applied. If a prior request has been authorized, the
302   user agent &MAY; reuse the same credentials for all other requests within
303   that protection space for a period of time determined by the
304   authentication scheme, parameters, and/or user preference. Unless
305   specifically allowed by the authentication scheme, a single protection
306   space cannot extend outside the scope of its server.
307</t>
308<t>
309   For historical reasons, a sender &MUST; only generate the quoted-string syntax.
310   Recipients might have to support both token and quoted-string syntax for
311   maximum interoperability with existing clients that have been accepting both
312   notations for a long time.
313</t>
314</section>
315
316</section>
317
318<section title="Status Code Definitions" anchor="status.code.definitions">
319<section title="401 Unauthorized" anchor="status.401">
320  <iref primary="true" item="401 Unauthorized (status code)" x:for-anchor=""/>
321  <x:anchor-alias value="401 (Unauthorized)"/>
322<t>
323   The <x:dfn>401 (Unauthorized)</x:dfn> status code indicates that the
324   request has not been applied because it lacks valid authentication
325   credentials for the target resource. The origin server &MUST; send a
326   <x:ref>WWW-Authenticate</x:ref> header field (<xref target="header.www-authenticate"/>)
327   containing at least one challenge applicable to the target resource.
328   If the request included authentication credentials, then the 401 response
329   indicates that authorization has been refused for those credentials.
330   The user agent &MAY; repeat the request with a new or replaced
331   <x:ref>Authorization</x:ref> header field (<xref target="header.authorization"/>).
332   If the 401 response contains the same challenge as the prior response, and
333   the user agent has already attempted authentication at least once, then the
334   user agent &SHOULD; present the enclosed representation to the user, since
335   it usually contains relevant diagnostic information.
336</t>
337</section>
338<section title="407 Proxy Authentication Required" anchor="status.407">
339  <iref primary="true" item="407 Proxy Authentication Required (status code)" x:for-anchor=""/>
340  <x:anchor-alias value="407 (Proxy Authentication Required)"/>
341<t>
342   The <x:dfn>407 (Proxy Authentication Required)</x:dfn> status code is
343   similar to <x:ref>401 (Unauthorized)</x:ref>, but indicates that the client
344   needs to authenticate itself in order to use a proxy.
345   The proxy &MUST; send a <x:ref>Proxy-Authenticate</x:ref> header field
346   (<xref target="header.proxy-authenticate"/>) containing a challenge
347   applicable to that proxy for the target resource. The client &MAY; repeat
348   the request with a new or replaced <x:ref>Proxy-Authorization</x:ref>
349   header field (<xref target="header.proxy-authorization"/>).
350</t>
351</section>
352</section>
353
354<section title="Header Field Definitions" anchor="header.field.definitions">
355<t>
356   This section defines the syntax and semantics of HTTP/1.1 header fields
357   related to authentication.
358</t>
359
360<section title="Authorization" anchor="header.authorization">
361  <iref primary="true" item="Authorization header field" x:for-anchor=""/>
362  <x:anchor-alias value="Authorization"/>
363<t>
364   The "Authorization" header field allows a user agent to authenticate itself
365   with an origin server &mdash; usually, but not necessarily, after receiving
366   a <x:ref>401 (Unauthorized)</x:ref> response. Its value consists of
367   credentials containing the authentication information of the user agent for
368   the realm of the resource being requested.
369</t>
370<figure><artwork type="abnf2616"><iref primary="true" item="Grammar" subitem="Authorization"/>
371  <x:ref>Authorization</x:ref> = <x:ref>credentials</x:ref>
372</artwork></figure>
373<t>
374   If a request is authenticated and a realm specified, the same credentials
375   are presumed to be valid for all other requests within this realm (assuming
376   that the authentication scheme itself does not require otherwise, such as
377   credentials that vary according to a challenge value or using synchronized
378   clocks).
379</t>
380<t>
381   See &caching-authenticated-responses; for details of and requirements
382   pertaining to handling of the Authorization field by HTTP caches.
383</t>
384</section>
385
386<section title="Proxy-Authenticate" anchor="header.proxy-authenticate">
387  <iref primary="true" item="Proxy-Authenticate header field" x:for-anchor=""/>
388  <x:anchor-alias value="Proxy-Authenticate"/>
389<t>
390   The "Proxy-Authenticate" header field consists of at least one
391   challenge that indicates the authentication scheme(s) and parameters
392   applicable to the proxy for this effective request URI (&effective-request-uri;).
393   It &MUST; be included as part of a <x:ref>407 (Proxy Authentication Required)</x:ref> response.
394</t>
395<figure><artwork type="abnf2616"><iref primary="true" item="Grammar" subitem="Proxy-Authenticate"/>
396  <x:ref>Proxy-Authenticate</x:ref> = 1#<x:ref>challenge</x:ref>
397</artwork></figure>
398<t>
399   Unlike <x:ref>WWW-Authenticate</x:ref>, the Proxy-Authenticate header field
400   applies only to the next outbound client on the response chain that chose
401   to direct its request to the responding proxy. If that recipient is also a
402   proxy, it will generally consume the Proxy-Authenticate header field (and
403   generate an appropriate <x:ref>Proxy-Authorization</x:ref> in a subsequent
404   request) rather than forward the header field to its own outbound clients.
405   However, if a recipient proxy needs to obtain its own credentials by
406   requesting them from a further outbound client, it will generate its own
407   407 response, which might have the appearance of forwarding the
408   Proxy-Authenticate header field if both proxies use the same challenge set.
409</t>
410<t>
411   Note that the parsing considerations for <x:ref>WWW-Authenticate</x:ref>
412   apply to this header field as well; see <xref target="header.www-authenticate"/>
413   for details.
414</t>
415</section>
416
417<section title="Proxy-Authorization" anchor="header.proxy-authorization">
418  <iref primary="true" item="Proxy-Authorization header field" x:for-anchor=""/>
419  <x:anchor-alias value="Proxy-Authorization"/>
420<t>
421   The "Proxy-Authorization" header field allows the client to
422   identify itself (or its user) to a proxy that requires
423   authentication. Its value consists of credentials containing the
424   authentication information of the client for the proxy and/or realm of the
425   resource being requested.
426</t>
427<figure><artwork type="abnf2616"><iref primary="true" item="Grammar" subitem="Proxy-Authorization"/>
428  <x:ref>Proxy-Authorization</x:ref> = <x:ref>credentials</x:ref>
429</artwork></figure>
430<t>
431   Unlike <x:ref>Authorization</x:ref>, the Proxy-Authorization header field
432   applies only to the next inbound proxy that demanded authentication using
433   the <x:ref>Proxy-Authenticate</x:ref> field. When multiple proxies are used
434   in a chain, the Proxy-Authorization header field is consumed by the first
435   inbound proxy that was expecting to receive credentials. A proxy &MAY;
436   relay the credentials from the client request to the next proxy if that is
437   the mechanism by which the proxies cooperatively authenticate a given
438   request.
439</t>
440</section>
441
442<section title="WWW-Authenticate" anchor="header.www-authenticate">
443  <iref primary="true" item="WWW-Authenticate header field" x:for-anchor=""/>
444  <x:anchor-alias value="WWW-Authenticate"/>
445<t>
446   The "WWW-Authenticate" header field consists of at least one
447   challenge that indicates the authentication scheme(s) and parameters
448   applicable to the effective request URI (&effective-request-uri;).
449</t>
450<t>  
451   It &MUST; be included in <x:ref>401 (Unauthorized)</x:ref> response messages and &MAY; be
452   included in other response messages to indicate that supplying credentials
453   (or different credentials) might affect the response.
454</t>
455<figure><artwork type="abnf2616"><iref primary="true" item="Grammar" subitem="WWW-Authenticate"/>
456  <x:ref>WWW-Authenticate</x:ref> = 1#<x:ref>challenge</x:ref>
457</artwork></figure>
458<t>
459   User agents are advised to take special care in parsing the WWW-Authenticate
460   field value as it might contain more than one challenge,
461   or if more than one WWW-Authenticate header field is provided, the
462   contents of a challenge itself can contain a comma-separated list of
463   authentication parameters.
464</t>
465<figure>
466  <preamble>For instance:</preamble>
467  <artwork type="example">
468  WWW-Authenticate: Newauth realm="apps", type=1,
469                    title="Login to \"apps\"", Basic realm="simple"
470</artwork>
471  <postamble>
472  This header field contains two challenges; one for the "Newauth" scheme
473  with a realm value of "apps", and two additional parameters "type" and
474  "title", and another one for the "Basic" scheme with a realm value of
475  "simple".
476</postamble></figure>
477<x:note>
478  <t>
479    &Note; The challenge grammar production uses the list syntax as
480    well. Therefore, a sequence of comma, whitespace, and comma can be
481    considered both as applying to the preceding challenge, or to be an
482    empty entry in the list of challenges. In practice, this ambiguity
483    does not affect the semantics of the header field value and thus is
484    harmless.
485  </t>
486</x:note>
487</section>
488
489</section>
490
491<section title="IANA Considerations" anchor="IANA.considerations">
492
493<section title="Authentication Scheme Registry" anchor="authentication.scheme.registry">
494<t>
495   The HTTP Authentication Scheme Registry defines the name space for the
496   authentication schemes in challenges and credentials. It will be created and
497   maintained at <eref target="http://www.iana.org/assignments/http-authschemes"/>.
498</t>
499
500<section title="Procedure" anchor="authentication.scheme.registry.procedure">
501<t>
502  Registrations &MUST; include the following fields:
503  <list style="symbols">
504    <t>Authentication Scheme Name</t>
505    <t>Pointer to specification text</t>
506    <t>Notes (optional)</t>
507  </list>
508</t>
509<t>
510  Values to be added to this name space require IETF Review
511  (see <xref target="RFC5226" x:fmt="," x:sec="4.1"/>).
512</t>
513</section>
514
515<section title="Considerations for New Authentication Schemes" anchor="considerations.for.new.authentication.schemes">
516<t>
517  There are certain aspects of the HTTP Authentication Framework that put
518  constraints on how new authentication schemes can work:
519</t>
520<t>
521  <list style="symbols">
522    <x:lt>
523    <t>
524      HTTP authentication is presumed to be stateless: all of the information
525      necessary to authenticate a request &MUST; be provided in the request,
526      rather than be dependent on the server remembering prior requests.
527      Authentication based on, or bound to, the underlying connection is
528      outside the scope of this specification and inherently flawed unless
529      steps are taken to ensure that the connection cannot be used by any
530      party other than the authenticated user
531      (see &msg-orient-and-buffering;).
532    </t>
533    </x:lt>
534    <x:lt>
535    <t>
536      The authentication parameter "realm" is reserved for defining Protection
537      Spaces as defined in <xref target="protection.space"/>. New schemes
538      &MUST-NOT; use it in a way incompatible with that definition.
539    </t>
540    </x:lt>
541    <x:lt>
542    <t>
543      The "token68" notation was introduced for compatibility with existing
544      authentication schemes and can only be used once per challenge or credential.
545      New schemes thus ought to use the "auth-param" syntax instead, because
546      otherwise future extensions will be impossible.
547    </t>
548    </x:lt>
549    <x:lt>
550    <t>
551      The parsing of challenges and credentials is defined by this specification,
552      and cannot be modified by new authentication schemes. When the auth-param
553      syntax is used, all parameters ought to support both token and
554      quoted-string syntax, and syntactical constraints ought to be defined on
555      the field value after parsing (i.e., quoted-string processing). This is
556      necessary so that recipients can use a generic parser that applies to
557      all authentication schemes.
558    </t>
559    <t>
560      &Note; The fact that the value syntax for the "realm" parameter
561      is restricted to quoted-string was a bad design choice not to be repeated
562      for new parameters.
563    </t>
564    </x:lt>
565    <x:lt>
566    <t>
567      Definitions of new schemes ought to define the treatment of unknown
568      extension parameters. In general, a "must-ignore" rule is preferable
569      over "must-understand", because otherwise it will be hard to introduce
570      new parameters in the presence of legacy recipients. Furthermore,
571      it's good to describe the policy for defining new parameters (such
572      as "update the specification", or "use this registry").
573    </t>
574    </x:lt>
575    <x:lt>
576    <t>
577      Authentication schemes need to document whether they are usable in
578      origin-server authentication (i.e., using <x:ref>WWW-Authenticate</x:ref>),
579      and/or proxy authentication (i.e., using <x:ref>Proxy-Authenticate</x:ref>).
580    </t>
581    </x:lt>
582    <x:lt>
583    <t>
584      The credentials carried in an <x:ref>Authorization</x:ref> header field are specific to
585      the User Agent, and therefore have the same effect on HTTP caches as the
586      "private" Cache-Control response directive (&caching-rsd-private;),
587      within the scope of the request they appear in.
588    </t>
589    <t>
590      Therefore, new authentication schemes that choose not to carry
591      credentials in the <x:ref>Authorization</x:ref> header field (e.g., using a newly defined
592      header field) will need to explicitly disallow caching, by mandating the use of
593      either Cache-Control request directives (e.g., "no-store",
594      &caching-rqd-no-store;) or response directives (e.g., "private").
595    </t>
596    </x:lt>
597  </list>
598</t>
599</section>
600</section>
601
602<section title="Status Code Registration" anchor="status.code.registration">
603<t>
604   The HTTP Status Code Registry located at <eref target="http://www.iana.org/assignments/http-status-codes"/>
605   shall be updated with the registrations below:
606</t>
607<?BEGININC p7-auth.iana-status-codes ?>
608<!--AUTOGENERATED FROM extract-status-code-defs.xslt, do not edit manually-->
609<texttable align="left" suppress-title="true" anchor="iana.status.code.registration.table">
610   <ttcol>Value</ttcol>
611   <ttcol>Description</ttcol>
612   <ttcol>Reference</ttcol>
613   <c>401</c>
614   <c>Unauthorized</c>
615   <c>
616      <xref target="status.401"/>
617   </c>
618   <c>407</c>
619   <c>Proxy Authentication Required</c>
620   <c>
621      <xref target="status.407"/>
622   </c>
623</texttable>
624<!--(END)-->
625<?ENDINC p7-auth.iana-status-codes ?>
626</section>
627
628<section title="Header Field Registration" anchor="header.field.registration">
629<t>
630   HTTP header fields are registered within the Message Header Field Registry
631   maintained at
632   <eref target="http://www.iana.org/assignments/message-headers/message-header-index.html"/>.
633</t>
634<t>
635   This document defines the following HTTP header fields, so their
636   associated registry entries shall be updated according to the permanent
637   registrations below (see <xref target="BCP90"/>):
638</t>
639<?BEGININC p7-auth.iana-headers ?>
640<!--AUTOGENERATED FROM extract-header-defs.xslt, do not edit manually-->
641<texttable align="left" suppress-title="true" anchor="iana.header.registration.table">
642   <ttcol>Header Field Name</ttcol>
643   <ttcol>Protocol</ttcol>
644   <ttcol>Status</ttcol>
645   <ttcol>Reference</ttcol>
646
647   <c>Authorization</c>
648   <c>http</c>
649   <c>standard</c>
650   <c>
651      <xref target="header.authorization"/>
652   </c>
653   <c>Proxy-Authenticate</c>
654   <c>http</c>
655   <c>standard</c>
656   <c>
657      <xref target="header.proxy-authenticate"/>
658   </c>
659   <c>Proxy-Authorization</c>
660   <c>http</c>
661   <c>standard</c>
662   <c>
663      <xref target="header.proxy-authorization"/>
664   </c>
665   <c>WWW-Authenticate</c>
666   <c>http</c>
667   <c>standard</c>
668   <c>
669      <xref target="header.www-authenticate"/>
670   </c>
671</texttable>
672<!--(END)-->
673<?ENDINC p7-auth.iana-headers ?>
674<t>
675   The change controller is: "IETF (iesg@ietf.org) - Internet Engineering Task Force".
676</t>
677</section>
678</section>
679
680<section title="Security Considerations" anchor="security.considerations">
681<t>
682   This section is meant to inform developers, information providers, and
683   users of known security concerns specific to HTTP/1.1 authentication.
684   More general security considerations are addressed in HTTP messaging
685   &messaging; and semantics &semantics;.
686</t>
687
688<section title="Authentication Credentials and Idle Clients" anchor="auth.credentials.and.idle.clients">
689<t>
690   Existing HTTP clients and user agents typically retain authentication
691   information indefinitely. HTTP does not provide a mechanism for the
692   origin server to direct clients to discard these cached credentials, since
693   the protocol has no awareness of how credentials are obtained or managed
694   by the user agent. The mechanisms for expiring or revoking credentials can
695   be specified as part of an authentication scheme definition.
696</t>
697<t>
698   Circumstances under which credential caching can interfere with the
699   application's security model include but are not limited to:
700  <list style="symbols">
701     <t>Clients that have been idle for an extended period, following
702        which the server might wish to cause the client to re-prompt the
703        user for credentials.</t>
704
705     <t>Applications that include a session termination indication
706        (such as a "logout" or "commit" button on a page) after which
707        the server side of the application "knows" that there is no
708        further reason for the client to retain the credentials.</t>
709  </list>
710</t>
711<t>
712   User agents that cache credentials are encouraged to provide a readily
713   accessible mechanism for discarding cached credentials under user control.
714</t>
715</section>
716
717<section title="Protection Spaces" anchor="protection.spaces">
718<t>
719  Authentication schemes that solely rely on the "realm" mechanism for
720  establishing a protection space will expose credentials to all resources on
721  an origin server. Clients that have successfully made authenticated requests
722  with a resource can use the same authentication credentials for other
723  resources on the same origin server. This makes it possible for a different
724  resource to harvest authentication credentials for other resources.
725</t>
726<t>
727  This is of particular concern when an origin server hosts resources for multiple
728  parties under the same canonical root URI (<xref target="protection.space"/>).
729  Possible mitigation strategies include restricting direct access to
730  authentication credentials (i.e., not making the content of the
731  <x:ref>Authorization</x:ref> request header field available), and separating protection
732  spaces by using a different host name (or port number) for each party.
733</t>
734</section>
735</section>
736
737<section title="Acknowledgments" anchor="acks">
738<t>
739  This specification takes over the definition of the HTTP Authentication
740  Framework, previously defined in <xref target="RFC2617" x:fmt="none">RFC 2617</xref>.
741  We thank John Franks, Phillip M. Hallam-Baker, Jeffery L. Hostetler, Scott D. Lawrence,
742  Paul J. Leach, Ari Luotonen, and Lawrence C. Stewart for their work
743  on that specification. See <xref target="RFC2617" x:fmt="of" x:sec="6"/>
744  for further acknowledgements. 
745</t>
746<t>
747  See &acks; for the Acknowledgments related to this document revision.
748</t>
749</section>
750</middle>
751
752<back>
753
754<references title="Normative References">
755
756<reference anchor="Part1">
757  <front>
758    <title>Hypertext Transfer Protocol (HTTP/1.1): Message Syntax and Routing</title>
759    <author initials="R." surname="Fielding" fullname="Roy T. Fielding" role="editor">
760      <organization abbrev="Adobe">Adobe Systems Incorporated</organization>
761      <address><email>fielding@gbiv.com</email></address>
762    </author>
763    <author initials="J. F." surname="Reschke" fullname="Julian F. Reschke" role="editor">
764      <organization abbrev="greenbytes">greenbytes GmbH</organization>
765      <address><email>julian.reschke@greenbytes.de</email></address>
766    </author>
767    <date month="&ID-MONTH;" year="&ID-YEAR;"/>
768  </front>
769  <seriesInfo name="Internet-Draft" value="draft-ietf-httpbis-p1-messaging-&ID-VERSION;"/>
770  <x:source href="p1-messaging.xml" basename="p1-messaging"/>
771</reference>
772
773<reference anchor="Part2">
774  <front>
775    <title>Hypertext Transfer Protocol (HTTP/1.1): Semantics and Content</title>
776    <author fullname="Roy T. Fielding" initials="R." role="editor" surname="Fielding">
777      <organization abbrev="Adobe">Adobe Systems Incorporated</organization>
778      <address><email>fielding@gbiv.com</email></address>
779    </author>
780    <author fullname="Julian F. Reschke" initials="J. F." role="editor" surname="Reschke">
781      <organization abbrev="greenbytes">greenbytes GmbH</organization>
782      <address><email>julian.reschke@greenbytes.de</email></address>
783    </author>
784    <date month="&ID-MONTH;" year="&ID-YEAR;" />
785  </front>
786  <seriesInfo name="Internet-Draft" value="draft-ietf-httpbis-p2-semantics-&ID-VERSION;" />
787  <x:source basename="p2-semantics" href="p2-semantics.xml">
788    <x:defines>403 (Forbidden)</x:defines>
789    <x:defines>Location</x:defines>
790  </x:source>
791</reference>
792
793<reference anchor="Part6">
794  <front>
795    <title>Hypertext Transfer Protocol (HTTP/1.1): Caching</title>
796    <author initials="R." surname="Fielding" fullname="Roy T. Fielding" role="editor">
797      <organization abbrev="Adobe">Adobe Systems Incorporated</organization>
798      <address><email>fielding@gbiv.com</email></address>
799    </author>
800    <author initials="M." surname="Nottingham" fullname="Mark Nottingham" role="editor">
801      <organization>Akamai</organization>
802      <address><email>mnot@mnot.net</email></address>
803    </author>
804    <author initials="J. F." surname="Reschke" fullname="Julian F. Reschke" role="editor">
805      <organization abbrev="greenbytes">greenbytes GmbH</organization>
806      <address><email>julian.reschke@greenbytes.de</email></address>
807    </author>
808    <date month="&ID-MONTH;" year="&ID-YEAR;"/>
809  </front>
810  <seriesInfo name="Internet-Draft" value="draft-ietf-httpbis-p6-cache-&ID-VERSION;"/>
811  <x:source href="p6-cache.xml" basename="p6-cache"/>
812</reference>
813
814<reference anchor="RFC2119">
815  <front>
816    <title>Key words for use in RFCs to Indicate Requirement Levels</title>
817    <author initials="S." surname="Bradner" fullname="Scott Bradner">
818      <organization>Harvard University</organization>
819      <address><email>sob@harvard.edu</email></address>
820    </author>
821    <date month="March" year="1997"/>
822  </front>
823  <seriesInfo name="BCP" value="14"/>
824  <seriesInfo name="RFC" value="2119"/>
825</reference>
826
827<reference anchor="RFC5234">
828  <front>
829    <title abbrev="ABNF for Syntax Specifications">Augmented BNF for Syntax Specifications: ABNF</title>
830    <author initials="D." surname="Crocker" fullname="Dave Crocker" role="editor">
831      <organization>Brandenburg InternetWorking</organization>
832      <address>
833        <email>dcrocker@bbiw.net</email>
834      </address> 
835    </author>
836    <author initials="P." surname="Overell" fullname="Paul Overell">
837      <organization>THUS plc.</organization>
838      <address>
839        <email>paul.overell@thus.net</email>
840      </address>
841    </author>
842    <date month="January" year="2008"/>
843  </front>
844  <seriesInfo name="STD" value="68"/>
845  <seriesInfo name="RFC" value="5234"/>
846</reference>
847
848</references>
849
850<references title="Informative References">
851
852<reference anchor="RFC2616">
853  <front>
854    <title>Hypertext Transfer Protocol -- HTTP/1.1</title>
855    <author initials="R." surname="Fielding" fullname="R. Fielding">
856      <organization>University of California, Irvine</organization>
857      <address><email>fielding@ics.uci.edu</email></address>
858    </author>
859    <author initials="J." surname="Gettys" fullname="J. Gettys">
860      <organization>W3C</organization>
861      <address><email>jg@w3.org</email></address>
862    </author>
863    <author initials="J." surname="Mogul" fullname="J. Mogul">
864      <organization>Compaq Computer Corporation</organization>
865      <address><email>mogul@wrl.dec.com</email></address>
866    </author>
867    <author initials="H." surname="Frystyk" fullname="H. Frystyk">
868      <organization>MIT Laboratory for Computer Science</organization>
869      <address><email>frystyk@w3.org</email></address>
870    </author>
871    <author initials="L." surname="Masinter" fullname="L. Masinter">
872      <organization>Xerox Corporation</organization>
873      <address><email>masinter@parc.xerox.com</email></address>
874    </author>
875    <author initials="P." surname="Leach" fullname="P. Leach">
876      <organization>Microsoft Corporation</organization>
877      <address><email>paulle@microsoft.com</email></address>
878    </author>
879    <author initials="T." surname="Berners-Lee" fullname="T. Berners-Lee">
880      <organization>W3C</organization>
881      <address><email>timbl@w3.org</email></address>
882    </author>
883    <date month="June" year="1999"/>
884  </front>
885  <seriesInfo name="RFC" value="2616"/>
886</reference>
887
888<reference anchor="RFC2617">
889  <front>
890    <title abbrev="HTTP Authentication">HTTP Authentication: Basic and Digest Access Authentication</title>
891    <author initials="J." surname="Franks" fullname="John Franks">
892      <organization>Northwestern University, Department of Mathematics</organization>
893      <address><email>john@math.nwu.edu</email></address>
894    </author>
895    <author initials="P.M." surname="Hallam-Baker" fullname="Phillip M. Hallam-Baker">
896      <organization>Verisign Inc.</organization>
897      <address><email>pbaker@verisign.com</email></address>
898    </author>
899    <author initials="J.L." surname="Hostetler" fullname="Jeffery L. Hostetler">
900      <organization>AbiSource, Inc.</organization>
901      <address><email>jeff@AbiSource.com</email></address>
902    </author>
903    <author initials="S.D." surname="Lawrence" fullname="Scott D. Lawrence">
904      <organization>Agranat Systems, Inc.</organization>
905      <address><email>lawrence@agranat.com</email></address>
906    </author>
907    <author initials="P.J." surname="Leach" fullname="Paul J. Leach">
908      <organization>Microsoft Corporation</organization>
909      <address><email>paulle@microsoft.com</email></address>
910    </author>
911    <author initials="A." surname="Luotonen" fullname="Ari Luotonen">
912      <organization>Netscape Communications Corporation</organization>
913    </author>
914    <author initials="L." surname="Stewart" fullname="Lawrence C. Stewart">
915      <organization>Open Market, Inc.</organization>
916      <address><email>stewart@OpenMarket.com</email></address>
917    </author>
918    <date month="June" year="1999"/>
919  </front>
920  <seriesInfo name="RFC" value="2617"/>
921</reference>
922
923<reference anchor='BCP90'>
924  <front>
925    <title>Registration Procedures for Message Header Fields</title>
926    <author initials='G.' surname='Klyne' fullname='G. Klyne'>
927      <organization>Nine by Nine</organization>
928      <address><email>GK-IETF@ninebynine.org</email></address>
929    </author>
930    <author initials='M.' surname='Nottingham' fullname='M. Nottingham'>
931      <organization>BEA Systems</organization>
932      <address><email>mnot@pobox.com</email></address>
933    </author>
934    <author initials='J.' surname='Mogul' fullname='J. Mogul'>
935      <organization>HP Labs</organization>
936      <address><email>JeffMogul@acm.org</email></address>
937    </author>
938    <date year='2004' month='September' />
939  </front>
940  <seriesInfo name='BCP' value='90' />
941  <seriesInfo name='RFC' value='3864' />
942</reference>
943
944<reference anchor="RFC3986">
945 <front>
946  <title abbrev='URI Generic Syntax'>Uniform Resource Identifier (URI): Generic Syntax</title>
947  <author initials='T.' surname='Berners-Lee' fullname='Tim Berners-Lee'>
948    <organization abbrev="W3C/MIT">World Wide Web Consortium</organization>
949    <address>
950       <email>timbl@w3.org</email>
951       <uri>http://www.w3.org/People/Berners-Lee/</uri>
952    </address>
953  </author>
954  <author initials='R.' surname='Fielding' fullname='Roy T. Fielding'>
955    <organization abbrev="Day Software">Day Software</organization>
956    <address>
957      <email>fielding@gbiv.com</email>
958      <uri>http://roy.gbiv.com/</uri>
959    </address>
960  </author>
961  <author initials='L.' surname='Masinter' fullname='Larry Masinter'>
962    <organization abbrev="Adobe Systems">Adobe Systems Incorporated</organization>
963    <address>
964      <email>LMM@acm.org</email>
965      <uri>http://larry.masinter.net/</uri>
966    </address>
967  </author>
968  <date month='January' year='2005'></date>
969 </front>
970 <seriesInfo name="STD" value="66"/>
971 <seriesInfo name="RFC" value="3986"/>
972</reference>
973
974<reference anchor="RFC4648">
975  <front>
976    <title>The Base16, Base32, and Base64 Data Encodings</title>
977    <author fullname="S. Josefsson" initials="S." surname="Josefsson"/>
978    <date year="2006" month="October"/>
979  </front>
980  <seriesInfo value="4648" name="RFC"/>
981</reference>
982
983<reference anchor='RFC5226'>
984  <front>
985    <title>Guidelines for Writing an IANA Considerations Section in RFCs</title>
986    <author initials='T.' surname='Narten' fullname='T. Narten'>
987      <organization>IBM</organization>
988      <address><email>narten@us.ibm.com</email></address>
989    </author>
990    <author initials='H.' surname='Alvestrand' fullname='H. Alvestrand'>
991      <organization>Google</organization>
992      <address><email>Harald@Alvestrand.no</email></address>
993    </author>
994    <date year='2008' month='May' />
995  </front>
996  <seriesInfo name='BCP' value='26' />
997  <seriesInfo name='RFC' value='5226' />
998</reference>
999
1000</references>
1001
1002<section title="Changes from RFCs 2616 and 2617" anchor="changes.from.rfc.2616">
1003<t>
1004  The framework for HTTP Authentication is now defined by this document,
1005  rather than RFC 2617.
1006</t>
1007<t>
1008  The "realm" parameter is no longer always required on challenges;
1009  consequently, the ABNF allows challenges without any auth parameters.
1010  (<xref target="access.authentication.framework"/>)
1011</t>
1012<t>
1013  The "token68" alternative to auth-param lists has been added for consistency
1014  with legacy authentication schemes such as "Basic".
1015  (<xref target="access.authentication.framework"/>)
1016</t>
1017<t>
1018  This specification introduces the Authentication Scheme Registry, along with
1019  considerations for new authentication schemes.
1020  (<xref target="authentication.scheme.registry"/>)
1021</t>
1022</section>
1023 
1024<section title="Imported ABNF" anchor="imported.abnf">
1025  <x:anchor-alias value="ALPHA"/>
1026  <x:anchor-alias value="CR"/>
1027  <x:anchor-alias value="DIGIT"/>
1028  <x:anchor-alias value="LF"/>
1029  <x:anchor-alias value="OCTET"/>
1030  <x:anchor-alias value="VCHAR"/>
1031  <x:anchor-alias value="SP"/>
1032  <x:anchor-alias value="quoted-string"/>
1033  <x:anchor-alias value="token"/>
1034  <x:anchor-alias value="BWS"/>
1035  <x:anchor-alias value="OWS"/>
1036<t>
1037  The following core rules are included by
1038  reference, as defined in <xref target="RFC5234" x:fmt="of" x:sec="B.1"/>:
1039  ALPHA (letters), CR (carriage return), CRLF (CR LF), CTL (controls),
1040  DIGIT (decimal 0-9), DQUOTE (double quote),
1041  HEXDIG (hexadecimal 0-9/A-F/a-f), LF (line feed),
1042  OCTET (any 8-bit sequence of data), SP (space), and
1043  VCHAR (any visible US-ASCII character).
1044</t>
1045<t>
1046   The rules below are defined in <xref target="Part1"/>:
1047</t>
1048<figure><artwork type="abnf2616">
1049  <x:ref>BWS</x:ref>           = &lt;BWS, defined in &whitespace;&gt;
1050  <x:ref>OWS</x:ref>           = &lt;OWS, defined in &whitespace;&gt;
1051  <x:ref>quoted-string</x:ref> = &lt;quoted-string, defined in &field-components;&gt;
1052  <x:ref>token</x:ref>         = &lt;token, defined in &field-components;&gt;
1053</artwork></figure>
1054</section>
1055
1056<?BEGININC p7-auth.abnf-appendix ?>
1057<section xmlns:x="http://purl.org/net/xml2rfc/ext" title="Collected ABNF" anchor="collected.abnf">
1058<t>
1059  In the collected ABNF below, list rules are expanded as per <xref target="Part1" x:rel="#notation"/>.
1060</t><figure>
1061<artwork type="abnf" name="p7-auth.parsed-abnf">
1062<x:ref>Authorization</x:ref> = credentials
1063
1064<x:ref>BWS</x:ref> = &lt;BWS, defined in [Part1], Section 3.2.3&gt;
1065
1066<x:ref>OWS</x:ref> = &lt;OWS, defined in [Part1], Section 3.2.3&gt;
1067
1068<x:ref>Proxy-Authenticate</x:ref> = *( "," OWS ) challenge *( OWS "," [ OWS
1069 challenge ] )
1070<x:ref>Proxy-Authorization</x:ref> = credentials
1071
1072<x:ref>WWW-Authenticate</x:ref> = *( "," OWS ) challenge *( OWS "," [ OWS challenge
1073 ] )
1074
1075<x:ref>auth-param</x:ref> = token BWS "=" BWS ( token / quoted-string )
1076<x:ref>auth-scheme</x:ref> = token
1077
1078<x:ref>challenge</x:ref> = auth-scheme [ 1*SP ( token68 / [ ( "," / auth-param ) *(
1079 OWS "," [ OWS auth-param ] ) ] ) ]
1080<x:ref>credentials</x:ref> = auth-scheme [ 1*SP ( token68 / [ ( "," / auth-param )
1081 *( OWS "," [ OWS auth-param ] ) ] ) ]
1082
1083<x:ref>quoted-string</x:ref> = &lt;quoted-string, defined in [Part1], Section 3.2.6&gt;
1084
1085<x:ref>token</x:ref> = &lt;token, defined in [Part1], Section 3.2.6&gt;
1086<x:ref>token68</x:ref> = 1*( ALPHA / DIGIT / "-" / "." / "_" / "~" / "+" / "/" )
1087 *"="
1088</artwork>
1089</figure>
1090</section>
1091<?ENDINC p7-auth.abnf-appendix ?>
1092
1093<section title="Change Log (to be removed by RFC Editor before publication)"  anchor="change.log">
1094<t>
1095  Changes up to the first Working Group Last Call draft are summarized
1096  in <eref target="http://trac.tools.ietf.org/html/draft-ietf-httpbis-p7-auth-19#appendix-C"/>.
1097</t>
1098
1099<section title="Since draft-ietf-httpbis-p7-auth-19" anchor="changes.since.19">
1100<t>
1101  Closed issues:
1102  <list style="symbols">
1103    <t>
1104      <eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/348"/>:
1105      "Realms and scope"
1106    </t>
1107    <t>
1108      <eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/349"/>:
1109      "Strength"
1110    </t>
1111    <t>
1112      <eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/357"/>:
1113      "Authentication exchanges"
1114    </t>
1115    <t>
1116      <eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/361"/>:
1117      "ABNF requirements for recipients"
1118    </t>
1119    <t>
1120      <eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/368"/>:
1121      "note introduction of new IANA registries as normative changes"
1122    </t>
1123  </list>
1124</t>
1125</section>
1126
1127<section title="Since draft-ietf-httpbis-p7-auth-20" anchor="changes.since.20">
1128<t>
1129  Closed issues:
1130  <list style="symbols">
1131    <t>
1132      <eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/376"/>:
1133      "rename b64token for clarity"
1134    </t>
1135  </list>
1136</t>
1137<t>
1138  Other changes:
1139  <list style="symbols">
1140    <t>
1141      Conformance criteria and considerations regarding error handling are
1142      now defined in Part 1.
1143    </t>
1144  </list>
1145</t>
1146</section>
1147
1148<section title="Since draft-ietf-httpbis-p7-auth-21" anchor="changes.since.21">
1149<t>
1150  Closed issues:
1151  <list style="symbols">
1152    <t>
1153      <eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/403"/>:
1154      "Authentication and caching - max-age"
1155    </t>
1156  </list>
1157</t>
1158</section>
1159
1160<section title="Since draft-ietf-httpbis-p7-auth-22" anchor="changes.since.22">
1161<t>
1162  Closed issues:
1163  <list style="symbols">
1164    <t>
1165      <eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/436"/>:
1166      "explain list expansion in ABNF appendices"
1167    </t>
1168    <t>
1169      <eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/439"/>:
1170      "terminology: mechanism vs framework vs scheme"
1171    </t>
1172    <t>
1173      <eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/463"/>:
1174      "Editorial suggestions"
1175    </t>
1176    <t>
1177      <eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/464"/>:
1178      "placement of extension point considerations"
1179    </t>
1180  </list>
1181</t>
1182</section>
1183
1184<section title="Since draft-ietf-httpbis-p7-auth-23" anchor="changes.since.23">
1185<t>
1186  Closed issues:
1187  <list style="symbols">
1188    <t>
1189      <eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/473"/>:
1190      "Forwarding Proxy-*"
1191    </t>
1192  </list>
1193</t>
1194</section>
1195</section>
1196
1197</back>
1198</rfc>
Note: See TracBrowser for help on using the repository browser.