source: draft-ietf-httpbis/04/p7-auth.html @ 1544

Last change on this file since 1544 was 1099, checked in by julian.reschke@…, 9 years ago

bump up document dates, update to latest version of rfc2629.xslt

  • Property svn:eol-style set to native
  • Property svn:mime-type set to text/html;charset=utf-8
File size: 60.2 KB
Line 
1<!DOCTYPE html
2  PUBLIC "-//W3C//DTD HTML 4.01//EN">
3<html lang="en">
4   <head profile="http://www.w3.org/2006/03/hcard http://dublincore.org/documents/2008/08/04/dc-html/">
5      <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
6      <title>HTTP/1.1, part 7: Authentication</title><style type="text/css" title="Xml2Rfc (sans serif)">
7a {
8  text-decoration: none;
9}
10a.smpl {
11  color: black;
12}
13a:hover {
14  text-decoration: underline;
15}
16a:active {
17  text-decoration: underline;
18}
19address {
20  margin-top: 1em;
21  margin-left: 2em;
22  font-style: normal;
23}
24body {
25  color: black;
26  font-family: verdana, helvetica, arial, sans-serif;
27  font-size: 10pt;
28}
29cite {
30  font-style: normal;
31}
32dd {
33  margin-right: 2em;
34}
35dl {
36  margin-left: 2em;
37}
38
39ul.empty {
40  list-style-type: none;
41}
42ul.empty li {
43  margin-top: .5em;
44}
45dl p {
46  margin-left: 0em;
47}
48dt {
49  margin-top: .5em;
50}
51h1 {
52  font-size: 14pt;
53  line-height: 21pt;
54  page-break-after: avoid;
55}
56h1.np {
57  page-break-before: always;
58}
59h1 a {
60  color: #333333;
61}
62h2 {
63  font-size: 12pt;
64  line-height: 15pt;
65  page-break-after: avoid;
66}
67h3, h4, h5, h6 {
68  font-size: 10pt;
69  page-break-after: avoid;
70}
71h2 a, h3 a, h4 a, h5 a, h6 a {
72  color: black;
73}
74img {
75  margin-left: 3em;
76}
77li {
78  margin-left: 2em;
79  margin-right: 2em;
80}
81ol {
82  margin-left: 2em;
83  margin-right: 2em;
84}
85ol p {
86  margin-left: 0em;
87}
88p {
89  margin-left: 2em;
90  margin-right: 2em;
91}
92pre {
93  margin-left: 3em;
94  background-color: lightyellow;
95  padding: .25em;
96}
97pre.text2 {
98  border-style: dotted;
99  border-width: 1px;
100  background-color: #f0f0f0;
101  width: 69em;
102}
103pre.inline {
104  background-color: white;
105  padding: 0em;
106}
107pre.text {
108  border-style: dotted;
109  border-width: 1px;
110  background-color: #f8f8f8;
111  width: 69em;
112}
113pre.drawing {
114  border-style: solid;
115  border-width: 1px;
116  background-color: #f8f8f8;
117  padding: 2em;
118}
119table {
120  margin-left: 2em;
121}
122table.tt {
123  vertical-align: top;
124}
125table.full {
126  border-style: outset;
127  border-width: 1px;
128}
129table.headers {
130  border-style: outset;
131  border-width: 1px;
132}
133table.tt td {
134  vertical-align: top;
135}
136table.full td {
137  border-style: inset;
138  border-width: 1px;
139}
140table.tt th {
141  vertical-align: top;
142}
143table.full th {
144  border-style: inset;
145  border-width: 1px;
146}
147table.headers th {
148  border-style: none none inset none;
149  border-width: 1px;
150}
151table.left {
152  margin-right: auto;
153}
154table.right {
155  margin-left: auto;
156}
157table.center {
158  margin-left: auto;
159  margin-right: auto;
160}
161caption {
162  caption-side: bottom;
163  font-weight: bold;
164  font-size: 9pt;
165  margin-top: .5em;
166}
167
168table.header {
169  border-spacing: 1px;
170  width: 95%;
171  font-size: 10pt;
172  color: white;
173}
174td.top {
175  vertical-align: top;
176}
177td.topnowrap {
178  vertical-align: top;
179  white-space: nowrap; 
180}
181table.header td {
182  background-color: gray;
183  width: 50%;
184}
185table.header a {
186  color: white;
187}
188td.reference {
189  vertical-align: top;
190  white-space: nowrap;
191  padding-right: 1em;
192}
193thead {
194  display:table-header-group;
195}
196ul.toc, ul.toc ul {
197  list-style: none;
198  margin-left: 1.5em;
199  margin-right: 0em;
200  padding-left: 0em;
201}
202ul.toc li {
203  line-height: 150%;
204  font-weight: bold;
205  font-size: 10pt;
206  margin-left: 0em;
207  margin-right: 0em;
208}
209ul.toc li li {
210  line-height: normal;
211  font-weight: normal;
212  font-size: 9pt;
213  margin-left: 0em;
214  margin-right: 0em;
215}
216li.excluded {
217  font-size: 0pt;
218}
219ul p {
220  margin-left: 0em;
221}
222ul.ind, ul.ind ul {
223  list-style: none;
224  margin-left: 1.5em;
225  margin-right: 0em;
226  padding-left: 0em;
227  page-break-before: avoid;
228}
229ul.ind li {
230  font-weight: bold;
231  line-height: 200%;
232  margin-left: 0em;
233  margin-right: 0em;
234}
235ul.ind li li {
236  font-weight: normal;
237  line-height: 150%;
238  margin-left: 0em;
239  margin-right: 0em;
240}
241.avoidbreak {
242  page-break-inside: avoid;
243}
244.bcp14 {
245  font-style: normal;
246  text-transform: lowercase;
247  font-variant: small-caps;
248}
249.comment {
250  background-color: yellow;
251}
252.center {
253  text-align: center;
254}
255.error {
256  color: red;
257  font-style: italic;
258  font-weight: bold;
259}
260.figure {
261  font-weight: bold;
262  text-align: center;
263  font-size: 9pt;
264}
265.filename {
266  color: #333333;
267  font-weight: bold;
268  font-size: 12pt;
269  line-height: 21pt;
270  text-align: center;
271}
272.fn {
273  font-weight: bold;
274}
275.hidden {
276  display: none;
277}
278.left {
279  text-align: left;
280}
281.right {
282  text-align: right;
283}
284.title {
285  color: #990000;
286  font-size: 18pt;
287  line-height: 18pt;
288  font-weight: bold;
289  text-align: center;
290  margin-top: 36pt;
291}
292.vcardline {
293  display: block;
294}
295.warning {
296  font-size: 14pt;
297  background-color: yellow;
298}
299
300
301@media print {
302  .noprint {
303    display: none;
304  }
305 
306  a {
307    color: black;
308    text-decoration: none;
309  }
310
311  table.header {
312    width: 90%;
313  }
314
315  td.header {
316    width: 50%;
317    color: black;
318    background-color: white;
319    vertical-align: top;
320    font-size: 12pt;
321  }
322
323  ul.toc a::after {
324    content: leader('.') target-counter(attr(href), page);
325  }
326 
327  ul.ind li li a {
328    content: target-counter(attr(href), page);
329  }
330 
331  .print2col {
332    column-count: 2;
333    -moz-column-count: 2;
334    column-fill: auto;
335  }
336}
337
338@page {
339  @top-left {
340       content: "Internet-Draft"; 
341  } 
342  @top-right {
343       content: "August 2008"; 
344  } 
345  @top-center {
346       content: "HTTP/1.1, Part 7"; 
347  } 
348  @bottom-left {
349       content: "Fielding, et al."; 
350  } 
351  @bottom-center {
352       content: "Standards Track"; 
353  } 
354  @bottom-right {
355       content: "[Page " counter(page) "]"; 
356  } 
357}
358
359@page:first { 
360    @top-left {
361      content: normal;
362    }
363    @top-right {
364      content: normal;
365    }
366    @top-center {
367      content: normal;
368    }
369}
370</style><link rel="Contents" href="#rfc.toc">
371      <link rel="Author" href="#rfc.authors">
372      <link rel="Copyright" href="#rfc.copyright">
373      <link rel="Index" href="#rfc.index">
374      <link rel="Chapter" title="1 Introduction" href="#rfc.section.1">
375      <link rel="Chapter" title="2 Notational Conventions and Generic Grammar" href="#rfc.section.2">
376      <link rel="Chapter" title="3 Status Code Definitions" href="#rfc.section.3">
377      <link rel="Chapter" title="4 Header Field Definitions" href="#rfc.section.4">
378      <link rel="Chapter" title="5 IANA Considerations" href="#rfc.section.5">
379      <link rel="Chapter" title="6 Security Considerations" href="#rfc.section.6">
380      <link rel="Chapter" title="7 Acknowledgments" href="#rfc.section.7">
381      <link rel="Chapter" href="#rfc.section.8" title="8 References">
382      <link rel="Appendix" title="A Compatibility with Previous Versions" href="#rfc.section.A">
383      <link rel="Appendix" title="B Change Log (to be removed by RFC Editor before publication)" href="#rfc.section.B">
384      <meta name="generator" content="http://greenbytes.de/tech/webdav/rfc2629.xslt, Revision 1.537, 2010-12-30 14:21:59, XSLT vendor: SAXON 8.9 from Saxonica http://www.saxonica.com/">
385      <link rel="schema.dct" href="http://purl.org/dc/terms/">
386      <meta name="dct.creator" content="Fielding, R.">
387      <meta name="dct.creator" content="Gettys, J.">
388      <meta name="dct.creator" content="Mogul, J.">
389      <meta name="dct.creator" content="Frystyk, H.">
390      <meta name="dct.creator" content="Masinter, L.">
391      <meta name="dct.creator" content="Leach, P.">
392      <meta name="dct.creator" content="Berners-Lee, T.">
393      <meta name="dct.creator" content="Lafon, Y.">
394      <meta name="dct.creator" content="Reschke, J. F.">
395      <meta name="dct.identifier" content="urn:ietf:id:draft-ietf-httpbis-p7-auth-04">
396      <meta name="dct.issued" scheme="ISO8601" content="2008-08-29">
397      <meta name="dct.replaces" content="urn:ietf:rfc:2616">
398      <meta name="dct.abstract" content="The Hypertext Transfer Protocol (HTTP) is an application-level protocol for distributed, collaborative, hypermedia information systems. HTTP has been in use by the World Wide Web global information initiative since 1990. This document is Part 7 of the seven-part specification that defines the protocol referred to as &#34;HTTP/1.1&#34; and, taken together, obsoletes RFC 2616. Part 7 defines HTTP Authentication.">
399      <meta name="description" content="The Hypertext Transfer Protocol (HTTP) is an application-level protocol for distributed, collaborative, hypermedia information systems. HTTP has been in use by the World Wide Web global information initiative since 1990. This document is Part 7 of the seven-part specification that defines the protocol referred to as &#34;HTTP/1.1&#34; and, taken together, obsoletes RFC 2616. Part 7 defines HTTP Authentication.">
400   </head>
401   <body>
402      <table class="header">
403         <tbody>
404            <tr>
405               <td class="left">Network Working Group</td>
406               <td class="right">R. Fielding, Editor</td>
407            </tr>
408            <tr>
409               <td class="left">Internet-Draft</td>
410               <td class="right">Day Software</td>
411            </tr>
412            <tr>
413               <td class="left">Obsoletes: <a href="http://tools.ietf.org/html/rfc2616">2616</a> (if approved)
414               </td>
415               <td class="right">J. Gettys</td>
416            </tr>
417            <tr>
418               <td class="left">Updates: <a href="http://tools.ietf.org/html/rfc2617">2617</a> (if approved)
419               </td>
420               <td class="right">One Laptop per Child</td>
421            </tr>
422            <tr>
423               <td class="left">Intended status: Standards Track</td>
424               <td class="right">J. Mogul</td>
425            </tr>
426            <tr>
427               <td class="left">Expires: March 2, 2009</td>
428               <td class="right">HP</td>
429            </tr>
430            <tr>
431               <td class="left"></td>
432               <td class="right">H. Frystyk</td>
433            </tr>
434            <tr>
435               <td class="left"></td>
436               <td class="right">Microsoft</td>
437            </tr>
438            <tr>
439               <td class="left"></td>
440               <td class="right">L. Masinter</td>
441            </tr>
442            <tr>
443               <td class="left"></td>
444               <td class="right">Adobe Systems</td>
445            </tr>
446            <tr>
447               <td class="left"></td>
448               <td class="right">P. Leach</td>
449            </tr>
450            <tr>
451               <td class="left"></td>
452               <td class="right">Microsoft</td>
453            </tr>
454            <tr>
455               <td class="left"></td>
456               <td class="right">T. Berners-Lee</td>
457            </tr>
458            <tr>
459               <td class="left"></td>
460               <td class="right">W3C/MIT</td>
461            </tr>
462            <tr>
463               <td class="left"></td>
464               <td class="right">Y. Lafon, Editor</td>
465            </tr>
466            <tr>
467               <td class="left"></td>
468               <td class="right">W3C</td>
469            </tr>
470            <tr>
471               <td class="left"></td>
472               <td class="right">J. Reschke, Editor</td>
473            </tr>
474            <tr>
475               <td class="left"></td>
476               <td class="right">greenbytes</td>
477            </tr>
478            <tr>
479               <td class="left"></td>
480               <td class="right">August 29, 2008</td>
481            </tr>
482         </tbody>
483      </table>
484      <p class="title">HTTP/1.1, part 7: Authentication<br><span class="filename">draft-ietf-httpbis-p7-auth-04</span></p>
485      <h1><a id="rfc.status" href="#rfc.status">Status of this Memo</a></h1>
486      <p>By submitting this Internet-Draft, each author represents that any applicable patent or other IPR claims of which he or she
487         is aware have been or will be disclosed, and any of which he or she becomes aware will be disclosed, in accordance with Section
488         6 of BCP 79.
489      </p>
490      <p>Internet-Drafts are working documents of the Internet Engineering Task Force (IETF), its areas, and its working groups. Note
491         that other groups may also distribute working documents as Internet-Drafts.
492      </p>
493      <p>Internet-Drafts are draft documents valid for a maximum of six months and may be updated, replaced, or obsoleted by other
494         documents at any time. It is inappropriate to use Internet-Drafts as reference material or to cite them other than as “work
495         in progress”.
496      </p>
497      <p>The list of current Internet-Drafts can be accessed at <a href="http://www.ietf.org/ietf/1id-abstracts.txt">http://www.ietf.org/ietf/1id-abstracts.txt</a>.
498      </p>
499      <p>The list of Internet-Draft Shadow Directories can be accessed at <a href="http://www.ietf.org/shadow.html">http://www.ietf.org/shadow.html</a>.
500      </p>
501      <p>This Internet-Draft will expire on March 2, 2009.</p>
502      <h1 id="rfc.abstract"><a href="#rfc.abstract">Abstract</a></h1> 
503      <p>The Hypertext Transfer Protocol (HTTP) is an application-level protocol for distributed, collaborative, hypermedia information
504         systems. HTTP has been in use by the World Wide Web global information initiative since 1990. This document is Part 7 of the
505         seven-part specification that defines the protocol referred to as "HTTP/1.1" and, taken together, obsoletes RFC 2616. Part
506         7 defines HTTP Authentication.
507      </p> 
508      <h1 id="rfc.note.1"><a href="#rfc.note.1">Editorial Note (To be removed by RFC Editor)</a></h1> 
509      <p>Discussion of this draft should take place on the HTTPBIS working group mailing list (ietf-http-wg@w3.org). The current issues
510         list is at &lt;<a href="http://www.tools.ietf.org/wg/httpbis/trac/report/11">http://www.tools.ietf.org/wg/httpbis/trac/report/11</a>&gt; and related documents (including fancy diffs) can be found at &lt;<a href="http://www.tools.ietf.org/wg/httpbis/">http://www.tools.ietf.org/wg/httpbis/</a>&gt;.
511      </p> 
512      <p>The changes in this draft are summarized in <a href="#changes.since.02" title="Since draft-ietf-httpbis-p7-auth-02">Appendix&nbsp;B.4</a>.
513      </p> 
514      <hr class="noprint">
515      <h1 class="np" id="rfc.toc"><a href="#rfc.toc">Table of Contents</a></h1>
516      <ul class="toc">
517         <li>1.&nbsp;&nbsp;&nbsp;<a href="#introduction">Introduction</a><ul>
518               <li>1.1&nbsp;&nbsp;&nbsp;<a href="#intro.requirements">Requirements</a></li>
519            </ul>
520         </li>
521         <li>2.&nbsp;&nbsp;&nbsp;<a href="#notation">Notational Conventions and Generic Grammar</a></li>
522         <li>3.&nbsp;&nbsp;&nbsp;<a href="#rfc.section.3">Status Code Definitions</a><ul>
523               <li>3.1&nbsp;&nbsp;&nbsp;<a href="#status.401">401 Unauthorized</a></li>
524               <li>3.2&nbsp;&nbsp;&nbsp;<a href="#status.407">407 Proxy Authentication Required</a></li>
525            </ul>
526         </li>
527         <li>4.&nbsp;&nbsp;&nbsp;<a href="#header.fields">Header Field Definitions</a><ul>
528               <li>4.1&nbsp;&nbsp;&nbsp;<a href="#header.authorization">Authorization</a></li>
529               <li>4.2&nbsp;&nbsp;&nbsp;<a href="#header.proxy-authenticate">Proxy-Authenticate</a></li>
530               <li>4.3&nbsp;&nbsp;&nbsp;<a href="#header.proxy-authorization">Proxy-Authorization</a></li>
531               <li>4.4&nbsp;&nbsp;&nbsp;<a href="#header.www-authenticate">WWW-Authenticate</a></li>
532            </ul>
533         </li>
534         <li>5.&nbsp;&nbsp;&nbsp;<a href="#IANA.considerations">IANA Considerations</a><ul>
535               <li>5.1&nbsp;&nbsp;&nbsp;<a href="#message.header.registration">Message Header Registration</a></li>
536            </ul>
537         </li>
538         <li>6.&nbsp;&nbsp;&nbsp;<a href="#security.considerations">Security Considerations</a><ul>
539               <li>6.1&nbsp;&nbsp;&nbsp;<a href="#auth.credentials.and.idle.clients">Authentication Credentials and Idle Clients</a></li>
540            </ul>
541         </li>
542         <li>7.&nbsp;&nbsp;&nbsp;<a href="#ack">Acknowledgments</a></li>
543         <li>8.&nbsp;&nbsp;&nbsp;<a href="#rfc.references">References</a><ul>
544               <li>8.1&nbsp;&nbsp;&nbsp;<a href="#rfc.references.1">Normative References</a></li>
545               <li>8.2&nbsp;&nbsp;&nbsp;<a href="#rfc.references.2">Informative References</a></li>
546            </ul>
547         </li>
548         <li><a href="#rfc.authors">Authors' Addresses</a></li>
549         <li>A.&nbsp;&nbsp;&nbsp;<a href="#compatibility">Compatibility with Previous Versions</a><ul>
550               <li>A.1&nbsp;&nbsp;&nbsp;<a href="#changes.from.rfc.2616">Changes from RFC 2616</a></li>
551            </ul>
552         </li>
553         <li>B.&nbsp;&nbsp;&nbsp;<a href="#change.log">Change Log (to be removed by RFC Editor before publication)</a><ul>
554               <li>B.1&nbsp;&nbsp;&nbsp;<a href="#rfc.section.B.1">Since RFC2616</a></li>
555               <li>B.2&nbsp;&nbsp;&nbsp;<a href="#rfc.section.B.2">Since draft-ietf-httpbis-p7-auth-00</a></li>
556               <li>B.3&nbsp;&nbsp;&nbsp;<a href="#rfc.section.B.3">Since draft-ietf-httpbis-p7-auth-01</a></li>
557               <li>B.4&nbsp;&nbsp;&nbsp;<a href="#changes.since.02">Since draft-ietf-httpbis-p7-auth-02</a></li>
558               <li>B.5&nbsp;&nbsp;&nbsp;<a href="#changes.since.03">Since draft-ietf-httpbis-p7-auth-03</a></li>
559            </ul>
560         </li>
561         <li><a href="#rfc.index">Index</a></li>
562         <li><a href="#rfc.ipr">Intellectual Property and Copyright Statements</a></li>
563      </ul>
564      <h1 id="rfc.section.1" class="np"><a href="#rfc.section.1">1.</a>&nbsp;<a id="introduction" href="#introduction">Introduction</a></h1>
565      <p id="rfc.section.1.p.1">This document defines HTTP/1.1 access control and authentication. Right now it includes the extracted relevant sections of <cite title="Hypertext Transfer Protocol -- HTTP/1.1" id="rfc.xref.RFC2616.1">RFC 2616</cite> with only minor changes. The intention is to move the general framework for HTTP authentication here, as currently specified
566         in <a href="#RFC2617" id="rfc.xref.RFC2617.1"><cite title="HTTP Authentication: Basic and Digest Access Authentication">[RFC2617]</cite></a>, and allow the individual authentication mechanisms to be defined elsewhere. This introduction will be rewritten when that
567         occurs.
568      </p>
569      <p id="rfc.section.1.p.2">HTTP provides several <em class="bcp14">OPTIONAL</em> challenge-response authentication mechanisms which can be used by a server to challenge a client request and by a client to
570         provide authentication information. The general framework for access authentication, and the specification of "basic" and
571         "digest" authentication, are specified in "HTTP Authentication: Basic and Digest Access Authentication" <a href="#RFC2617" id="rfc.xref.RFC2617.2"><cite title="HTTP Authentication: Basic and Digest Access Authentication">[RFC2617]</cite></a>. This specification adopts the definitions of "challenge" and "credentials" from that specification.
572      </p>
573      <h2 id="rfc.section.1.1"><a href="#rfc.section.1.1">1.1</a>&nbsp;<a id="intro.requirements" href="#intro.requirements">Requirements</a></h2>
574      <p id="rfc.section.1.1.p.1">The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", "SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL"
575         in this document are to be interpreted as described in <a href="#RFC2119" id="rfc.xref.RFC2119.1"><cite title="Key words for use in RFCs to Indicate Requirement Levels">[RFC2119]</cite></a>.
576      </p>
577      <p id="rfc.section.1.1.p.2">An implementation is not compliant if it fails to satisfy one or more of the <em class="bcp14">MUST</em> or <em class="bcp14">REQUIRED</em> level requirements for the protocols it implements. An implementation that satisfies all the <em class="bcp14">MUST</em> or <em class="bcp14">REQUIRED</em> level and all the <em class="bcp14">SHOULD</em> level requirements for its protocols is said to be "unconditionally compliant"; one that satisfies all the <em class="bcp14">MUST</em> level requirements but not all the <em class="bcp14">SHOULD</em> level requirements for its protocols is said to be "conditionally compliant."
578      </p>
579      <h1 id="rfc.section.2"><a href="#rfc.section.2">2.</a>&nbsp;<a id="notation" href="#notation">Notational Conventions and Generic Grammar</a></h1>
580      <p id="rfc.section.2.p.1">This specification uses the ABNF syntax defined in <a href="p1-messaging.html#notation.abnf" title="Augmented BNF">Section 2.1</a> of <a href="#Part1" id="rfc.xref.Part1.1"><cite title="HTTP/1.1, part 1: URIs, Connections, and Message Parsing">[Part1]</cite></a>. <span class="comment" id="abnf.dep">[<a href="#abnf.dep" class="smpl">abnf.dep</a>: ABNF syntax and basic rules will be adopted from RFC 5234, see &lt;<a href="http://tools.ietf.org/wg/httpbis/trac/ticket/36">http://tools.ietf.org/wg/httpbis/trac/ticket/36</a>&gt;.]</span> 
581      </p>
582      <div id="abnf.dependencies">
583         <p id="rfc.section.2.p.2">    The ABNF rules below are defined in other specifications:</p>
584      </div>
585      <div id="rfc.figure.u.1"></div><pre class="inline"><span id="rfc.iref.g.1"></span><span id="rfc.iref.g.2"></span>  <a href="#abnf.dependencies" class="smpl">challenge</a>   = &lt;challenge, defined in <a href="#RFC2617" id="rfc.xref.RFC2617.3"><cite title="HTTP Authentication: Basic and Digest Access Authentication">[RFC2617]</cite></a>, <a href="http://tools.ietf.org/html/rfc2617#section-1.2">Section 1.2</a>&gt;
586  <a href="#abnf.dependencies" class="smpl">credentials</a> = &lt;credentials, defined in <a href="#RFC2617" id="rfc.xref.RFC2617.4"><cite title="HTTP Authentication: Basic and Digest Access Authentication">[RFC2617]</cite></a>, <a href="http://tools.ietf.org/html/rfc2617#section-1.2">Section 1.2</a>&gt;
587</pre><h1 id="rfc.section.3"><a href="#rfc.section.3">3.</a>&nbsp;Status Code Definitions
588      </h1>
589      <div id="rfc.iref.2"></div>
590      <div id="rfc.iref.s.1"></div>
591      <h2 id="rfc.section.3.1"><a href="#rfc.section.3.1">3.1</a>&nbsp;<a id="status.401" href="#status.401">401 Unauthorized</a></h2>
592      <p id="rfc.section.3.1.p.1">The request requires user authentication. The response <em class="bcp14">MUST</em> include a WWW-Authenticate header field (<a href="#header.www-authenticate" id="rfc.xref.header.www-authenticate.1" title="WWW-Authenticate">Section&nbsp;4.4</a>) containing a challenge applicable to the requested resource. The client <em class="bcp14">MAY</em> repeat the request with a suitable Authorization header field (<a href="#header.authorization" id="rfc.xref.header.authorization.1" title="Authorization">Section&nbsp;4.1</a>). If the request already included Authorization credentials, then the 401 response indicates that authorization has been
593         refused for those credentials. If the 401 response contains the same challenge as the prior response, and the user agent has
594         already attempted authentication at least once, then the user <em class="bcp14">SHOULD</em> be presented the entity that was given in the response, since that entity might include relevant diagnostic information. HTTP
595         access authentication is explained in "HTTP Authentication: Basic and Digest Access Authentication" <a href="#RFC2617" id="rfc.xref.RFC2617.5"><cite title="HTTP Authentication: Basic and Digest Access Authentication">[RFC2617]</cite></a>.
596      </p>
597      <div id="rfc.iref.3"></div>
598      <div id="rfc.iref.s.2"></div>
599      <h2 id="rfc.section.3.2"><a href="#rfc.section.3.2">3.2</a>&nbsp;<a id="status.407" href="#status.407">407 Proxy Authentication Required</a></h2>
600      <p id="rfc.section.3.2.p.1">This code is similar to 401 (Unauthorized), but indicates that the client must first authenticate itself with the proxy. The
601         proxy <em class="bcp14">MUST</em> return a Proxy-Authenticate header field (<a href="#header.proxy-authenticate" id="rfc.xref.header.proxy-authenticate.1" title="Proxy-Authenticate">Section&nbsp;4.2</a>) containing a challenge applicable to the proxy for the requested resource. The client <em class="bcp14">MAY</em> repeat the request with a suitable Proxy-Authorization header field (<a href="#header.proxy-authorization" id="rfc.xref.header.proxy-authorization.1" title="Proxy-Authorization">Section&nbsp;4.3</a>). HTTP access authentication is explained in "HTTP Authentication: Basic and Digest Access Authentication" <a href="#RFC2617" id="rfc.xref.RFC2617.6"><cite title="HTTP Authentication: Basic and Digest Access Authentication">[RFC2617]</cite></a>.
602      </p>
603      <h1 id="rfc.section.4"><a href="#rfc.section.4">4.</a>&nbsp;<a id="header.fields" href="#header.fields">Header Field Definitions</a></h1>
604      <p id="rfc.section.4.p.1">This section defines the syntax and semantics of HTTP/1.1 header fields related to authentication.</p>
605      <div id="rfc.iref.a.1"></div>
606      <div id="rfc.iref.h.1"></div>
607      <h2 id="rfc.section.4.1"><a href="#rfc.section.4.1">4.1</a>&nbsp;<a id="header.authorization" href="#header.authorization">Authorization</a></h2>
608      <p id="rfc.section.4.1.p.1">A user agent that wishes to authenticate itself with a server-- usually, but not necessarily, after receiving a 401 response--does
609         so by including an Authorization request-header field with the request. The Authorization field value consists of credentials
610         containing the authentication information of the user agent for the realm of the resource being requested.
611      </p>
612      <div id="rfc.figure.u.2"></div><pre class="inline"><span id="rfc.iref.g.3"></span>  <a href="#header.authorization" class="smpl">Authorization</a>  = "Authorization" ":" <a href="#abnf.dependencies" class="smpl">credentials</a>
613</pre><p id="rfc.section.4.1.p.3">HTTP access authentication is described in "HTTP Authentication: Basic and Digest Access Authentication" <a href="#RFC2617" id="rfc.xref.RFC2617.7"><cite title="HTTP Authentication: Basic and Digest Access Authentication">[RFC2617]</cite></a>. If a request is authenticated and a realm specified, the same credentials <em class="bcp14">SHOULD</em> be valid for all other requests within this realm (assuming that the authentication scheme itself does not require otherwise,
614         such as credentials that vary according to a challenge value or using synchronized clocks).
615      </p>
616      <p id="rfc.section.4.1.p.4">When a shared cache (see <a href="p6-cache.html#shared.and.non-shared.caches" title="Shared and Non-Shared Caches">Section 9</a> of <a href="#Part6" id="rfc.xref.Part6.1"><cite title="HTTP/1.1, part 6: Caching">[Part6]</cite></a>) receives a request containing an Authorization field, it <em class="bcp14">MUST NOT</em> return the corresponding response as a reply to any other request, unless one of the following specific exceptions holds:
617      </p>
618      <p id="rfc.section.4.1.p.5"> </p>
619      <ol>
620         <li>If the response includes the "s-maxage" cache-control directive, the cache <em class="bcp14">MAY</em> use that response in replying to a subsequent request. But (if the specified maximum age has passed) a proxy cache <em class="bcp14">MUST</em> first revalidate it with the origin server, using the request-headers from the new request to allow the origin server to authenticate
621            the new request. (This is the defined behavior for s-maxage.) If the response includes "s-maxage=0", the proxy <em class="bcp14">MUST</em> always revalidate it before re-using it.
622         </li>
623         <li>If the response includes the "must-revalidate" cache-control directive, the cache <em class="bcp14">MAY</em> use that response in replying to a subsequent request. But if the response is stale, all caches <em class="bcp14">MUST</em> first revalidate it with the origin server, using the request-headers from the new request to allow the origin server to authenticate
624            the new request.
625         </li>
626         <li>If the response includes the "public" cache-control directive, it <em class="bcp14">MAY</em> be returned in reply to any subsequent request.
627         </li>
628      </ol>
629      <div id="rfc.iref.p.1"></div>
630      <div id="rfc.iref.h.2"></div>
631      <h2 id="rfc.section.4.2"><a href="#rfc.section.4.2">4.2</a>&nbsp;<a id="header.proxy-authenticate" href="#header.proxy-authenticate">Proxy-Authenticate</a></h2>
632      <p id="rfc.section.4.2.p.1">The Proxy-Authenticate response-header field <em class="bcp14">MUST</em> be included as part of a 407 (Proxy Authentication Required) response. The field value consists of a challenge that indicates
633         the authentication scheme and parameters applicable to the proxy for this Request-URI.
634      </p>
635      <div id="rfc.figure.u.3"></div><pre class="inline"><span id="rfc.iref.g.4"></span>  <a href="#header.proxy-authenticate" class="smpl">Proxy-Authenticate</a>  = "Proxy-Authenticate" ":" 1#<a href="#abnf.dependencies" class="smpl">challenge</a>
636</pre><p id="rfc.section.4.2.p.3">The HTTP access authentication process is described in "HTTP Authentication: Basic and Digest Access Authentication" <a href="#RFC2617" id="rfc.xref.RFC2617.8"><cite title="HTTP Authentication: Basic and Digest Access Authentication">[RFC2617]</cite></a>. Unlike WWW-Authenticate, the Proxy-Authenticate header field applies only to the current connection and <em class="bcp14">SHOULD NOT</em> be passed on to downstream clients. However, an intermediate proxy might need to obtain its own credentials by requesting
637         them from the downstream client, which in some circumstances will appear as if the proxy is forwarding the Proxy-Authenticate
638         header field.
639      </p>
640      <div id="rfc.iref.p.2"></div>
641      <div id="rfc.iref.h.3"></div>
642      <h2 id="rfc.section.4.3"><a href="#rfc.section.4.3">4.3</a>&nbsp;<a id="header.proxy-authorization" href="#header.proxy-authorization">Proxy-Authorization</a></h2>
643      <p id="rfc.section.4.3.p.1">The Proxy-Authorization request-header field allows the client to identify itself (or its user) to a proxy which requires
644         authentication. The Proxy-Authorization field value consists of credentials containing the authentication information of the
645         user agent for the proxy and/or realm of the resource being requested.
646      </p>
647      <div id="rfc.figure.u.4"></div><pre class="inline"><span id="rfc.iref.g.5"></span>  <a href="#header.proxy-authorization" class="smpl">Proxy-Authorization</a>     = "Proxy-Authorization" ":" <a href="#abnf.dependencies" class="smpl">credentials</a>
648</pre><p id="rfc.section.4.3.p.3">The HTTP access authentication process is described in "HTTP Authentication: Basic and Digest Access Authentication" <a href="#RFC2617" id="rfc.xref.RFC2617.9"><cite title="HTTP Authentication: Basic and Digest Access Authentication">[RFC2617]</cite></a>. Unlike Authorization, the Proxy-Authorization header field applies only to the next outbound proxy that demanded authentication
649         using the Proxy-Authenticate field. When multiple proxies are used in a chain, the Proxy-Authorization header field is consumed
650         by the first outbound proxy that was expecting to receive credentials. A proxy <em class="bcp14">MAY</em> relay the credentials from the client request to the next proxy if that is the mechanism by which the proxies cooperatively
651         authenticate a given request.
652      </p>
653      <div id="rfc.iref.w.1"></div>
654      <div id="rfc.iref.h.4"></div>
655      <h2 id="rfc.section.4.4"><a href="#rfc.section.4.4">4.4</a>&nbsp;<a id="header.www-authenticate" href="#header.www-authenticate">WWW-Authenticate</a></h2>
656      <p id="rfc.section.4.4.p.1">The WWW-Authenticate response-header field <em class="bcp14">MUST</em> be included in 401 (Unauthorized) response messages. The field value consists of at least one challenge that indicates the
657         authentication scheme(s) and parameters applicable to the Request-URI.
658      </p>
659      <div id="rfc.figure.u.5"></div><pre class="inline"><span id="rfc.iref.g.6"></span>  <a href="#header.www-authenticate" class="smpl">WWW-Authenticate</a>  = "WWW-Authenticate" ":" 1#<a href="#abnf.dependencies" class="smpl">challenge</a>
660</pre><p id="rfc.section.4.4.p.3">The HTTP access authentication process is described in "HTTP Authentication: Basic and Digest Access Authentication" <a href="#RFC2617" id="rfc.xref.RFC2617.10"><cite title="HTTP Authentication: Basic and Digest Access Authentication">[RFC2617]</cite></a>. User agents are advised to take special care in parsing the WWW-Authenticate field value as it might contain more than one
661         challenge, or if more than one WWW-Authenticate header field is provided, the contents of a challenge itself can contain a
662         comma-separated list of authentication parameters.
663      </p>
664      <h1 id="rfc.section.5"><a href="#rfc.section.5">5.</a>&nbsp;<a id="IANA.considerations" href="#IANA.considerations">IANA Considerations</a></h1>
665      <h2 id="rfc.section.5.1"><a href="#rfc.section.5.1">5.1</a>&nbsp;<a id="message.header.registration" href="#message.header.registration">Message Header Registration</a></h2>
666      <p id="rfc.section.5.1.p.1">The Message Header Registry located at &lt;<a href="http://www.iana.org/assignments/message-headers/message-header-index.html">http://www.iana.org/assignments/message-headers/message-header-index.html</a>&gt; should be updated with the permanent registrations below (see <a href="#RFC3864" id="rfc.xref.RFC3864.1"><cite title="Registration Procedures for Message Header Fields">[RFC3864]</cite></a>):
667      </p>
668      <div id="rfc.table.1">
669         <div id="iana.header.registration.table"></div>
670         <table class="tt full left" cellpadding="3" cellspacing="0">
671            <thead>
672               <tr>
673                  <th>Header Field Name</th>
674                  <th>Protocol</th>
675                  <th>Status</th>
676                  <th>Reference</th>
677               </tr>
678            </thead>
679            <tbody>
680               <tr>
681                  <td class="left">Authorization</td>
682                  <td class="left">http</td>
683                  <td class="left">standard</td>
684                  <td class="left"> <a href="#header.authorization" id="rfc.xref.header.authorization.2" title="Authorization">Section&nbsp;4.1</a> 
685                  </td>
686               </tr>
687               <tr>
688                  <td class="left">Proxy-Authenticate</td>
689                  <td class="left">http</td>
690                  <td class="left">standard</td>
691                  <td class="left"> <a href="#header.proxy-authenticate" id="rfc.xref.header.proxy-authenticate.2" title="Proxy-Authenticate">Section&nbsp;4.2</a> 
692                  </td>
693               </tr>
694               <tr>
695                  <td class="left">Proxy-Authorization</td>
696                  <td class="left">http</td>
697                  <td class="left">standard</td>
698                  <td class="left"> <a href="#header.proxy-authorization" id="rfc.xref.header.proxy-authorization.2" title="Proxy-Authorization">Section&nbsp;4.3</a> 
699                  </td>
700               </tr>
701               <tr>
702                  <td class="left">WWW-Authenticate</td>
703                  <td class="left">http</td>
704                  <td class="left">standard</td>
705                  <td class="left"> <a href="#header.www-authenticate" id="rfc.xref.header.www-authenticate.2" title="WWW-Authenticate">Section&nbsp;4.4</a> 
706                  </td>
707               </tr>
708            </tbody>
709         </table>
710      </div>
711      <p id="rfc.section.5.1.p.2">The change controller is: "IETF (iesg@ietf.org) - Internet Engineering Task Force".</p>
712      <h1 id="rfc.section.6"><a href="#rfc.section.6">6.</a>&nbsp;<a id="security.considerations" href="#security.considerations">Security Considerations</a></h1>
713      <p id="rfc.section.6.p.1">This section is meant to inform application developers, information providers, and users of the security limitations in HTTP/1.1
714         as described by this document. The discussion does not include definitive solutions to the problems revealed, though it does
715         make some suggestions for reducing security risks.
716      </p>
717      <h2 id="rfc.section.6.1"><a href="#rfc.section.6.1">6.1</a>&nbsp;<a id="auth.credentials.and.idle.clients" href="#auth.credentials.and.idle.clients">Authentication Credentials and Idle Clients</a></h2>
718      <p id="rfc.section.6.1.p.1">Existing HTTP clients and user agents typically retain authentication information indefinitely. HTTP/1.1 does not provide
719         a method for a server to direct clients to discard these cached credentials. This is a significant defect that requires further
720         extensions to HTTP. Circumstances under which credential caching can interfere with the application's security model include
721         but are not limited to:
722      </p>
723      <ul>
724         <li>Clients which have been idle for an extended period following which the server might wish to cause the client to reprompt
725            the user for credentials.
726         </li>
727         <li>Applications which include a session termination indication (such as a `logout' or `commit' button on a page) after which
728            the server side of the application `knows' that there is no further reason for the client to retain the credentials.
729         </li>
730      </ul>
731      <p id="rfc.section.6.1.p.2">This is currently under separate study. There are a number of work-arounds to parts of this problem, and we encourage the
732         use of password protection in screen savers, idle time-outs, and other methods which mitigate the security problems inherent
733         in this problem. In particular, user agents which cache credentials are encouraged to provide a readily accessible mechanism
734         for discarding cached credentials under user control.
735      </p>
736      <h1 id="rfc.section.7"><a href="#rfc.section.7">7.</a>&nbsp;<a id="ack" href="#ack">Acknowledgments</a></h1>
737      <p id="rfc.section.7.p.1"> <span class="comment" id="rfc.comment.1">[<a href="#rfc.comment.1" class="smpl">rfc.comment.1</a>: TBD.]</span> 
738      </p>
739      <h1 id="rfc.references"><a id="rfc.section.8" href="#rfc.section.8">8.</a> References
740      </h1>
741      <h2 id="rfc.references.1"><a href="#rfc.section.8.1" id="rfc.section.8.1">8.1</a> Normative References
742      </h2>
743      <table>       
744         <tr>
745            <td class="reference"><b id="Part1">[Part1]</b></td>
746            <td class="top"><a href="mailto:fielding@gbiv.com" title="Day Software">Fielding, R., Ed.</a>, <a href="mailto:jg@laptop.org" title="One Laptop per Child">Gettys, J.</a>, <a href="mailto:JeffMogul@acm.org" title="Hewlett-Packard Company">Mogul, J.</a>, <a href="mailto:henrikn@microsoft.com" title="Microsoft Corporation">Frystyk, H.</a>, <a href="mailto:LMM@acm.org" title="Adobe Systems, Incorporated">Masinter, L.</a>, <a href="mailto:paulle@microsoft.com" title="Microsoft Corporation">Leach, P.</a>, <a href="mailto:timbl@w3.org" title="World Wide Web Consortium">Berners-Lee, T.</a>, <a href="mailto:ylafon@w3.org" title="World Wide Web Consortium">Lafon, Y., Ed.</a>, and <a href="mailto:julian.reschke@greenbytes.de" title="greenbytes GmbH">J. Reschke, Ed.</a>, “<a href="http://tools.ietf.org/html/draft-ietf-httpbis-p1-messaging-04">HTTP/1.1, part 1: URIs, Connections, and Message Parsing</a>”, Internet-Draft&nbsp;draft-ietf-httpbis-p1-messaging-04 (work in progress), August&nbsp;2008.
747            </td>
748         </tr>
749         <tr>
750            <td class="reference"><b id="Part6">[Part6]</b></td>
751            <td class="top"><a href="mailto:fielding@gbiv.com" title="Day Software">Fielding, R., Ed.</a>, <a href="mailto:jg@laptop.org" title="One Laptop per Child">Gettys, J.</a>, <a href="mailto:JeffMogul@acm.org" title="Hewlett-Packard Company">Mogul, J.</a>, <a href="mailto:henrikn@microsoft.com" title="Microsoft Corporation">Frystyk, H.</a>, <a href="mailto:LMM@acm.org" title="Adobe Systems, Incorporated">Masinter, L.</a>, <a href="mailto:paulle@microsoft.com" title="Microsoft Corporation">Leach, P.</a>, <a href="mailto:timbl@w3.org" title="World Wide Web Consortium">Berners-Lee, T.</a>, <a href="mailto:ylafon@w3.org" title="World Wide Web Consortium">Lafon, Y., Ed.</a>, and <a href="mailto:julian.reschke@greenbytes.de" title="greenbytes GmbH">J. Reschke, Ed.</a>, “<a href="http://tools.ietf.org/html/draft-ietf-httpbis-p6-cache-04">HTTP/1.1, part 6: Caching</a>”, Internet-Draft&nbsp;draft-ietf-httpbis-p6-cache-04 (work in progress), August&nbsp;2008.
752            </td>
753         </tr>
754         <tr>
755            <td class="reference"><b id="RFC2119">[RFC2119]</b></td>
756            <td class="top"><a href="mailto:sob@harvard.edu" title="Harvard University">Bradner, S.</a>, “<a href="http://tools.ietf.org/html/rfc2119">Key words for use in RFCs to Indicate Requirement Levels</a>”, BCP&nbsp;14, RFC&nbsp;2119, March&nbsp;1997.
757            </td>
758         </tr>
759         <tr>
760            <td class="reference"><b id="RFC2617">[RFC2617]</b></td>
761            <td class="top"><a href="mailto:john@math.nwu.edu" title="Northwestern University, Department of Mathematics">Franks, J.</a>, <a href="mailto:pbaker@verisign.com" title="Verisign Inc.">Hallam-Baker, P.</a>, <a href="mailto:jeff@AbiSource.com" title="AbiSource, Inc.">Hostetler, J.</a>, <a href="mailto:lawrence@agranat.com" title="Agranat Systems, Inc.">Lawrence, S.</a>, <a href="mailto:paulle@microsoft.com" title="Microsoft Corporation">Leach, P.</a>, Luotonen, A., and <a href="mailto:stewart@OpenMarket.com" title="Open Market, Inc.">L. Stewart</a>, “<a href="http://tools.ietf.org/html/rfc2617">HTTP Authentication: Basic and Digest Access Authentication</a>”, RFC&nbsp;2617, June&nbsp;1999.
762            </td>
763         </tr>
764      </table>
765      <h2 id="rfc.references.2"><a href="#rfc.section.8.2" id="rfc.section.8.2">8.2</a> Informative References
766      </h2>
767      <table>   
768         <tr>
769            <td class="reference"><b id="RFC2616">[RFC2616]</b></td>
770            <td class="top"><a href="mailto:fielding@ics.uci.edu" title="University of California, Irvine">Fielding, R.</a>, <a href="mailto:jg@w3.org" title="W3C">Gettys, J.</a>, <a href="mailto:mogul@wrl.dec.com" title="Compaq Computer Corporation">Mogul, J.</a>, <a href="mailto:frystyk@w3.org" title="MIT Laboratory for Computer Science">Frystyk, H.</a>, <a href="mailto:masinter@parc.xerox.com" title="Xerox Corporation">Masinter, L.</a>, <a href="mailto:paulle@microsoft.com" title="Microsoft Corporation">Leach, P.</a>, and <a href="mailto:timbl@w3.org" title="W3C">T. Berners-Lee</a>, “<a href="http://tools.ietf.org/html/rfc2616">Hypertext Transfer Protocol -- HTTP/1.1</a>”, RFC&nbsp;2616, June&nbsp;1999.
771            </td>
772         </tr>
773         <tr>
774            <td class="reference"><b id="RFC3864">[RFC3864]</b></td>
775            <td class="top"><a href="mailto:GK-IETF@ninebynine.org" title="Nine by Nine">Klyne, G.</a>, <a href="mailto:mnot@pobox.com" title="BEA Systems">Nottingham, M.</a>, and <a href="mailto:JeffMogul@acm.org" title="HP Labs">J. Mogul</a>, “<a href="http://tools.ietf.org/html/rfc3864">Registration Procedures for Message Header Fields</a>”, BCP&nbsp;90, RFC&nbsp;3864, September&nbsp;2004.
776            </td>
777         </tr>
778      </table>
779      <div class="avoidbreak">
780         <h1 id="rfc.authors"><a href="#rfc.authors">Authors' Addresses</a></h1>
781         <address class="vcard"><span class="vcardline"><span class="fn">Roy T. Fielding</span>
782               (editor)
783               <span class="n hidden"><span class="family-name">Fielding</span><span class="given-name">Roy T.</span></span></span><span class="org vcardline">Day Software</span><span class="adr"><span class="street-address vcardline">23 Corporate Plaza DR, Suite 280</span><span class="vcardline"><span class="locality">Newport Beach</span>, <span class="region">CA</span>&nbsp;<span class="postal-code">92660</span></span><span class="country-name vcardline">USA</span></span><span class="vcardline tel">Phone: <a href="tel:+1-949-706-5300"><span class="value">+1-949-706-5300</span></a></span><span class="vcardline tel"><span class="type">Fax</span>: <a href="fax:+1-949-706-5305"><span class="value">+1-949-706-5305</span></a></span><span class="vcardline">EMail: <a href="mailto:fielding@gbiv.com"><span class="email">fielding@gbiv.com</span></a></span><span class="vcardline">URI: <a href="http://roy.gbiv.com/" class="url">http://roy.gbiv.com/</a></span></address>
784         <address class="vcard"><span class="vcardline"><span class="fn">Jim Gettys</span><span class="n hidden"><span class="family-name">Gettys</span><span class="given-name">Jim</span></span></span><span class="org vcardline">One Laptop per Child</span><span class="adr"><span class="street-address vcardline">21 Oak Knoll Road</span><span class="vcardline"><span class="locality">Carlisle</span>, <span class="region">MA</span>&nbsp;<span class="postal-code">01741</span></span><span class="country-name vcardline">USA</span></span><span class="vcardline">EMail: <a href="mailto:jg@laptop.org"><span class="email">jg@laptop.org</span></a></span><span class="vcardline">URI: <a href="http://www.laptop.org/" class="url">http://www.laptop.org/</a></span></address>
785         <address class="vcard"><span class="vcardline"><span class="fn">Jeffrey C. Mogul</span><span class="n hidden"><span class="family-name">Mogul</span><span class="given-name">Jeffrey C.</span></span></span><span class="org vcardline">Hewlett-Packard Company</span><span class="adr"><span class="street-address vcardline">HP Labs, Large Scale Systems Group</span><span class="street-address vcardline">1501 Page Mill Road, MS 1177</span><span class="vcardline"><span class="locality">Palo Alto</span>, <span class="region">CA</span>&nbsp;<span class="postal-code">94304</span></span><span class="country-name vcardline">USA</span></span><span class="vcardline">EMail: <a href="mailto:JeffMogul@acm.org"><span class="email">JeffMogul@acm.org</span></a></span></address>
786         <address class="vcard"><span class="vcardline"><span class="fn">Henrik Frystyk Nielsen</span><span class="n hidden"><span class="family-name">Frystyk</span></span></span><span class="org vcardline">Microsoft Corporation</span><span class="adr"><span class="street-address vcardline">1 Microsoft Way</span><span class="vcardline"><span class="locality">Redmond</span>, <span class="region">WA</span>&nbsp;<span class="postal-code">98052</span></span><span class="country-name vcardline">USA</span></span><span class="vcardline">EMail: <a href="mailto:henrikn@microsoft.com"><span class="email">henrikn@microsoft.com</span></a></span></address>
787         <address class="vcard"><span class="vcardline"><span class="fn">Larry Masinter</span><span class="n hidden"><span class="family-name">Masinter</span><span class="given-name">Larry</span></span></span><span class="org vcardline">Adobe Systems, Incorporated</span><span class="adr"><span class="street-address vcardline">345 Park Ave</span><span class="vcardline"><span class="locality">San Jose</span>, <span class="region">CA</span>&nbsp;<span class="postal-code">95110</span></span><span class="country-name vcardline">USA</span></span><span class="vcardline">EMail: <a href="mailto:LMM@acm.org"><span class="email">LMM@acm.org</span></a></span><span class="vcardline">URI: <a href="http://larry.masinter.net/" class="url">http://larry.masinter.net/</a></span></address>
788         <address class="vcard"><span class="vcardline"><span class="fn">Paul J. Leach</span><span class="n hidden"><span class="family-name">Leach</span><span class="given-name">Paul J.</span></span></span><span class="org vcardline">Microsoft Corporation</span><span class="adr"><span class="street-address vcardline">1 Microsoft Way</span><span class="vcardline"><span class="locality">Redmond</span>, <span class="region">WA</span>&nbsp;<span class="postal-code">98052</span></span></span><span class="vcardline">EMail: <a href="mailto:paulle@microsoft.com"><span class="email">paulle@microsoft.com</span></a></span></address>
789         <address class="vcard"><span class="vcardline"><span class="fn">Tim Berners-Lee</span><span class="n hidden"><span class="family-name">Berners-Lee</span><span class="given-name">Tim</span></span></span><span class="org vcardline">World Wide Web Consortium</span><span class="adr"><span class="street-address vcardline">MIT Computer Science and Artificial Intelligence Laboratory</span><span class="street-address vcardline">The Stata Center, Building 32</span><span class="street-address vcardline">32 Vassar Street</span><span class="vcardline"><span class="locality">Cambridge</span>, <span class="region">MA</span>&nbsp;<span class="postal-code">02139</span></span><span class="country-name vcardline">USA</span></span><span class="vcardline">EMail: <a href="mailto:timbl@w3.org"><span class="email">timbl@w3.org</span></a></span><span class="vcardline">URI: <a href="http://www.w3.org/People/Berners-Lee/" class="url">http://www.w3.org/People/Berners-Lee/</a></span></address>
790         <address class="vcard"><span class="vcardline"><span class="fn">Yves Lafon</span>
791               (editor)
792               <span class="n hidden"><span class="family-name">Lafon</span><span class="given-name">Yves</span></span></span><span class="org vcardline">World Wide Web Consortium</span><span class="adr"><span class="street-address vcardline">W3C / ERCIM</span><span class="street-address vcardline">2004, rte des Lucioles</span><span class="vcardline"><span class="locality">Sophia-Antipolis</span>, <span class="region">AM</span>&nbsp;<span class="postal-code">06902</span></span><span class="country-name vcardline">France</span></span><span class="vcardline">EMail: <a href="mailto:ylafon@w3.org"><span class="email">ylafon@w3.org</span></a></span><span class="vcardline">URI: <a href="http://www.raubacapeu.net/people/yves/" class="url">http://www.raubacapeu.net/people/yves/</a></span></address>
793         <address class="vcard"><span class="vcardline"><span class="fn">Julian F. Reschke</span>
794               (editor)
795               <span class="n hidden"><span class="family-name">Reschke</span><span class="given-name">Julian F.</span></span></span><span class="org vcardline">greenbytes GmbH</span><span class="adr"><span class="street-address vcardline">Hafenweg 16</span><span class="vcardline"><span class="locality">Muenster</span>, <span class="region">NW</span>&nbsp;<span class="postal-code">48155</span></span><span class="country-name vcardline">Germany</span></span><span class="vcardline tel">Phone: <a href="tel:+492512807760"><span class="value">+49 251 2807760</span></a></span><span class="vcardline tel"><span class="type">Fax</span>: <a href="fax:+492512807761"><span class="value">+49 251 2807761</span></a></span><span class="vcardline">EMail: <a href="mailto:julian.reschke@greenbytes.de"><span class="email">julian.reschke@greenbytes.de</span></a></span><span class="vcardline">URI: <a href="http://greenbytes.de/tech/webdav/" class="url">http://greenbytes.de/tech/webdav/</a></span></address>
796      </div>
797      <h1 id="rfc.section.A" class="np"><a href="#rfc.section.A">A.</a>&nbsp;<a id="compatibility" href="#compatibility">Compatibility with Previous Versions</a></h1>
798      <h2 id="rfc.section.A.1"><a href="#rfc.section.A.1">A.1</a>&nbsp;<a id="changes.from.rfc.2616" href="#changes.from.rfc.2616">Changes from RFC 2616</a></h2>
799      <h1 id="rfc.section.B"><a href="#rfc.section.B">B.</a>&nbsp;<a id="change.log" href="#change.log">Change Log (to be removed by RFC Editor before publication)</a></h1>
800      <h2 id="rfc.section.B.1"><a href="#rfc.section.B.1">B.1</a>&nbsp;Since RFC2616
801      </h2>
802      <p id="rfc.section.B.1.p.1">Extracted relevant partitions from <a href="#RFC2616" id="rfc.xref.RFC2616.2"><cite title="Hypertext Transfer Protocol -- HTTP/1.1">[RFC2616]</cite></a>.
803      </p>
804      <h2 id="rfc.section.B.2"><a href="#rfc.section.B.2">B.2</a>&nbsp;Since draft-ietf-httpbis-p7-auth-00
805      </h2>
806      <p id="rfc.section.B.2.p.1">Closed issues: </p>
807      <ul>
808         <li> &lt;<a href="http://www3.tools.ietf.org/wg/httpbis/trac/ticket/35">http://www3.tools.ietf.org/wg/httpbis/trac/ticket/35</a>&gt;: "Normative and Informative references"
809         </li>
810      </ul>
811      <h2 id="rfc.section.B.3"><a href="#rfc.section.B.3">B.3</a>&nbsp;Since draft-ietf-httpbis-p7-auth-01
812      </h2>
813      <p id="rfc.section.B.3.p.1">Ongoing work on ABNF conversion (&lt;<a href="http://www3.tools.ietf.org/wg/httpbis/trac/ticket/36">http://www3.tools.ietf.org/wg/httpbis/trac/ticket/36</a>&gt;):
814      </p>
815      <ul>
816         <li>Explicitly import BNF rules for "challenge" and "credentials" from RFC2617.</li>
817         <li>Add explicit references to BNF syntax and rules imported from other parts of the specification.</li>
818      </ul>
819      <h2 id="rfc.section.B.4"><a href="#rfc.section.B.4">B.4</a>&nbsp;<a id="changes.since.02" href="#changes.since.02">Since draft-ietf-httpbis-p7-auth-02</a></h2>
820      <p id="rfc.section.B.4.p.1">Ongoing work on IANA Message Header Registration (&lt;<a href="http://www3.tools.ietf.org/wg/httpbis/trac/ticket/40">http://www3.tools.ietf.org/wg/httpbis/trac/ticket/40</a>&gt;):
821      </p>
822      <ul>
823         <li>Reference RFC 3984, and update header registrations for headers defined in this document.</li>
824      </ul>
825      <h2 id="rfc.section.B.5"><a href="#rfc.section.B.5">B.5</a>&nbsp;<a id="changes.since.03" href="#changes.since.03">Since draft-ietf-httpbis-p7-auth-03</a></h2>
826      <h1 id="rfc.index"><a href="#rfc.index">Index</a></h1>
827      <p class="noprint"><a href="#rfc.index.4">4</a> <a href="#rfc.index.A">A</a> <a href="#rfc.index.G">G</a> <a href="#rfc.index.H">H</a> <a href="#rfc.index.P">P</a> <a href="#rfc.index.R">R</a> <a href="#rfc.index.S">S</a> <a href="#rfc.index.W">W</a> 
828      </p>
829      <div class="print2col">
830         <ul class="ind">
831            <li><a id="rfc.index.4" href="#rfc.index.4"><b>4</b></a><ul>
832                  <li>401 Unauthorized (status code)&nbsp;&nbsp;<a href="#rfc.iref.2"><b>3.1</b></a></li>
833                  <li>407 Proxy Authentication Required (status code)&nbsp;&nbsp;<a href="#rfc.iref.3"><b>3.2</b></a></li>
834               </ul>
835            </li>
836            <li><a id="rfc.index.A" href="#rfc.index.A"><b>A</b></a><ul>
837                  <li>Authorization header&nbsp;&nbsp;<a href="#rfc.xref.header.authorization.1">3.1</a>, <a href="#rfc.iref.a.1"><b>4.1</b></a>, <a href="#rfc.xref.header.authorization.2">5.1</a></li>
838               </ul>
839            </li>
840            <li><a id="rfc.index.G" href="#rfc.index.G"><b>G</b></a><ul>
841                  <li><tt>Grammar</tt>&nbsp;&nbsp;
842                     <ul>
843                        <li><tt>Authorization</tt>&nbsp;&nbsp;<a href="#rfc.iref.g.3"><b>4.1</b></a></li>
844                        <li><tt>challenge</tt>&nbsp;&nbsp;<a href="#rfc.iref.g.1"><b>2</b></a></li>
845                        <li><tt>credentials</tt>&nbsp;&nbsp;<a href="#rfc.iref.g.2"><b>2</b></a></li>
846                        <li><tt>Proxy-Authenticate</tt>&nbsp;&nbsp;<a href="#rfc.iref.g.4"><b>4.2</b></a></li>
847                        <li><tt>Proxy-Authorization</tt>&nbsp;&nbsp;<a href="#rfc.iref.g.5"><b>4.3</b></a></li>
848                        <li><tt>WWW-Authenticate</tt>&nbsp;&nbsp;<a href="#rfc.iref.g.6"><b>4.4</b></a></li>
849                     </ul>
850                  </li>
851               </ul>
852            </li>
853            <li><a id="rfc.index.H" href="#rfc.index.H"><b>H</b></a><ul>
854                  <li>Headers&nbsp;&nbsp;
855                     <ul>
856                        <li>Authorization&nbsp;&nbsp;<a href="#rfc.xref.header.authorization.1">3.1</a>, <a href="#rfc.iref.h.1"><b>4.1</b></a>, <a href="#rfc.xref.header.authorization.2">5.1</a></li>
857                        <li>Proxy-Authenticate&nbsp;&nbsp;<a href="#rfc.xref.header.proxy-authenticate.1">3.2</a>, <a href="#rfc.iref.h.2"><b>4.2</b></a>, <a href="#rfc.xref.header.proxy-authenticate.2">5.1</a></li>
858                        <li>Proxy-Authorization&nbsp;&nbsp;<a href="#rfc.xref.header.proxy-authorization.1">3.2</a>, <a href="#rfc.iref.h.3"><b>4.3</b></a>, <a href="#rfc.xref.header.proxy-authorization.2">5.1</a></li>
859                        <li>WWW-Authenticate&nbsp;&nbsp;<a href="#rfc.xref.header.www-authenticate.1">3.1</a>, <a href="#rfc.iref.h.4"><b>4.4</b></a>, <a href="#rfc.xref.header.www-authenticate.2">5.1</a></li>
860                     </ul>
861                  </li>
862               </ul>
863            </li>
864            <li><a id="rfc.index.P" href="#rfc.index.P"><b>P</b></a><ul>
865                  <li><em>Part1</em>&nbsp;&nbsp;<a href="#rfc.xref.Part1.1">2</a>, <a href="#Part1"><b>8.1</b></a><ul>
866                        <li><em>Section 2.1</em>&nbsp;&nbsp;<a href="#rfc.xref.Part1.1">2</a></li>
867                     </ul>
868                  </li>
869                  <li><em>Part6</em>&nbsp;&nbsp;<a href="#rfc.xref.Part6.1">4.1</a>, <a href="#Part6"><b>8.1</b></a><ul>
870                        <li><em>Section 9</em>&nbsp;&nbsp;<a href="#rfc.xref.Part6.1">4.1</a></li>
871                     </ul>
872                  </li>
873                  <li>Proxy-Authenticate header&nbsp;&nbsp;<a href="#rfc.xref.header.proxy-authenticate.1">3.2</a>, <a href="#rfc.iref.p.1"><b>4.2</b></a>, <a href="#rfc.xref.header.proxy-authenticate.2">5.1</a></li>
874                  <li>Proxy-Authorization header&nbsp;&nbsp;<a href="#rfc.xref.header.proxy-authorization.1">3.2</a>, <a href="#rfc.iref.p.2"><b>4.3</b></a>, <a href="#rfc.xref.header.proxy-authorization.2">5.1</a></li>
875               </ul>
876            </li>
877            <li><a id="rfc.index.R" href="#rfc.index.R"><b>R</b></a><ul>
878                  <li><em>RFC2119</em>&nbsp;&nbsp;<a href="#rfc.xref.RFC2119.1">1.1</a>, <a href="#RFC2119"><b>8.1</b></a></li>
879                  <li><em>RFC2616</em>&nbsp;&nbsp;<a href="#rfc.xref.RFC2616.1">1</a>, <a href="#RFC2616"><b>8.2</b></a>, <a href="#rfc.xref.RFC2616.2">B.1</a></li>
880                  <li><em>RFC2617</em>&nbsp;&nbsp;<a href="#rfc.xref.RFC2617.1">1</a>, <a href="#rfc.xref.RFC2617.2">1</a>, <a href="#rfc.xref.RFC2617.3">2</a>, <a href="#rfc.xref.RFC2617.4">2</a>, <a href="#rfc.xref.RFC2617.5">3.1</a>, <a href="#rfc.xref.RFC2617.6">3.2</a>, <a href="#rfc.xref.RFC2617.7">4.1</a>, <a href="#rfc.xref.RFC2617.8">4.2</a>, <a href="#rfc.xref.RFC2617.9">4.3</a>, <a href="#rfc.xref.RFC2617.10">4.4</a>, <a href="#RFC2617"><b>8.1</b></a><ul>
881                        <li><em>Section 1.2</em>&nbsp;&nbsp;<a href="#rfc.xref.RFC2617.3">2</a>, <a href="#rfc.xref.RFC2617.4">2</a></li>
882                     </ul>
883                  </li>
884                  <li><em>RFC3864</em>&nbsp;&nbsp;<a href="#rfc.xref.RFC3864.1">5.1</a>, <a href="#RFC3864"><b>8.2</b></a></li>
885               </ul>
886            </li>
887            <li><a id="rfc.index.S" href="#rfc.index.S"><b>S</b></a><ul>
888                  <li>Status Codes&nbsp;&nbsp;
889                     <ul>
890                        <li>401 Unauthorized&nbsp;&nbsp;<a href="#rfc.iref.s.1"><b>3.1</b></a></li>
891                        <li>407 Proxy Authentication Required&nbsp;&nbsp;<a href="#rfc.iref.s.2"><b>3.2</b></a></li>
892                     </ul>
893                  </li>
894               </ul>
895            </li>
896            <li><a id="rfc.index.W" href="#rfc.index.W"><b>W</b></a><ul>
897                  <li>WWW-Authenticate header&nbsp;&nbsp;<a href="#rfc.xref.header.www-authenticate.1">3.1</a>, <a href="#rfc.iref.w.1"><b>4.4</b></a>, <a href="#rfc.xref.header.www-authenticate.2">5.1</a></li>
898               </ul>
899            </li>
900         </ul>
901      </div>
902      <h1><a id="rfc.copyright" href="#rfc.copyright">Full Copyright Statement</a></h1>
903      <p>Copyright © The IETF Trust (2008).</p>
904      <p>This document is subject to the rights, licenses and restrictions contained in BCP 78, and except as set forth therein, the
905         authors retain all their rights.
906      </p>
907      <p>This document and the information contained herein are provided on an “AS IS” basis and THE CONTRIBUTOR, THE ORGANIZATION
908         HE/SHE REPRESENTS OR IS SPONSORED BY (IF ANY), THE INTERNET SOCIETY, THE IETF TRUST AND THE INTERNET ENGINEERING TASK FORCE
909         DISCLAIM ALL WARRANTIES, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTY THAT THE USE OF THE INFORMATION HEREIN
910         WILL NOT INFRINGE ANY RIGHTS OR ANY IMPLIED WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.
911      </p>
912      <h1><a id="rfc.ipr" href="#rfc.ipr">Intellectual Property</a></h1>
913      <p>The IETF takes no position regarding the validity or scope of any Intellectual Property Rights or other rights that might
914         be claimed to pertain to the implementation or use of the technology described in this document or the extent to which any
915         license under such rights might or might not be available; nor does it represent that it has made any independent effort to
916         identify any such rights. Information on the procedures with respect to rights in RFC documents can be found in BCP 78 and
917         BCP 79.
918      </p>
919      <p>Copies of IPR disclosures made to the IETF Secretariat and any assurances of licenses to be made available, or the result
920         of an attempt made to obtain a general license or permission for the use of such proprietary rights by implementers or users
921         of this specification can be obtained from the IETF on-line IPR repository at <a href="http://www.ietf.org/ipr">http://www.ietf.org/ipr</a>.
922      </p>
923      <p>The IETF invites any interested party to bring to its attention any copyrights, patents or patent applications, or other proprietary
924         rights that may cover technology that may be required to implement this standard. Please address the information to the IETF
925         at <a href="mailto:ietf-ipr@ietf.org">ietf-ipr@ietf.org</a>.
926      </p>
927   </body>
928</html>
Note: See TracBrowser for help on using the repository browser.