Changeset 1465 for draft-ietf-httpbis/latest/p7-auth.html
- Timestamp:
- 31/10/11 08:58:42 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
draft-ietf-httpbis/latest/p7-auth.html
r1464 r1465 750 750 </li> 751 751 <li> 752 <p>The parsing of challenges and credentials is defined by this specification, and cannot be modified by new authentication schemes. 753 When the auth-param syntax is used, all parameters ought to support both token and quoted-string syntax, and syntactical constraints 754 ought to be defined on the field value after parsing (i.e., quoted-string processing). This is necessary so that recipients 755 can use a generic parser that applies to all authentication schemes. 756 </p> 757 <p> <b>Note:</b> the fact that the value syntax for the "realm" parameter is restricted to quoted-string was a bad design choice not to be 758 repeated for new parameters. 759 </p> 760 </li> 761 <li> 752 762 <p>Authentication schemes need to document whether they are usable in origin-server authentication (i.e., using WWW-Authenticate), 753 763 and/or proxy authentication (i.e., using Proxy-Authenticate). … … 842 852 challenge, or if more than one WWW-Authenticate header field is provided, the contents of a challenge itself can contain a 843 853 comma-separated list of authentication parameters. 854 </p> 855 <div id="rfc.figure.u.10"></div> 856 <p>For instance:</p> <pre class="text"> WWW-Authenticate: Newauth realm="apps", type=1, 857 title="Login to \"apps\"", Basic realm="simple" 858 </pre> <p>This header field contains two challenges; one for the "Newauth" scheme with a realm value of "apps", and two additional parameters 859 "type" and "title", and another one for the "Basic" scheme with a realm value of "simple". 844 860 </p> 845 861 <h1 id="rfc.section.5"><a href="#rfc.section.5">5.</a> <a id="IANA.considerations" href="#IANA.considerations">IANA Considerations</a></h1> … … 1043 1059 </p> 1044 1060 <h1 id="rfc.section.B"><a href="#rfc.section.B">B.</a> <a id="collected.abnf" href="#collected.abnf">Collected ABNF</a></h1> 1045 <div id="rfc.figure.u.1 0"></div> <pre class="inline"><a href="#header.authorization" class="smpl">Authorization</a> = credentials1061 <div id="rfc.figure.u.11"></div> <pre class="inline"><a href="#header.authorization" class="smpl">Authorization</a> = credentials 1046 1062 1047 1063 <a href="#core.rules" class="smpl">BWS</a> = <BWS, defined in [Part1], Section 1.2.2> … … 1073 1089 1074 1090 <a href="#core.rules" class="smpl">token</a> = <token, defined in [Part1], Section 3.2.3> 1075 </pre> <div id="rfc.figure.u.1 1"></div>1091 </pre> <div id="rfc.figure.u.12"></div> 1076 1092 <p>ABNF diagnostics:</p><pre class="inline">; Authorization defined but not used 1077 1093 ; Proxy-Authenticate defined but not used … … 1186 1202 <ul> 1187 1203 <li> <<a href="http://tools.ietf.org/wg/httpbis/trac/ticket/186">http://tools.ietf.org/wg/httpbis/trac/ticket/186</a>>: "Document HTTP's error-handling philosophy" 1204 </li> 1205 <li> <<a href="http://tools.ietf.org/wg/httpbis/trac/ticket/320">http://tools.ietf.org/wg/httpbis/trac/ticket/320</a>>: "add advice on defining auth scheme parameters" 1188 1206 </li> 1189 1207 </ul>
Note: See TracChangeset
for help on using the changeset viewer.