apparea-3----Page:5
1  2  3  4  5  6  7  8  9  10 

Example
C: GET http://classified.example.com/classified.html HTTP/1.1
Host: classified.example.com

S: HTTP/1.1 401 Unauthorized
Cache-Control: no-store
WWW-Authenticate: SASL
mechanisms="GSSAPI,KERBEROS_V4,DIGEST-MD5",
realm="testrealm@example.com",
id="0001"

C: CONNECT classified.example.com:80 HTTP/1.1
Host: classified.example.com

S: HTTP/1.1 200 OK

C: GET http://classified.example.com/classified.html HTTP/1.1
Cache-Control: no-store
Pragma: no-cache
Host: classified.example.com
Authorization: SASL
mechanism="KERBEROS_V4",
id="0001"

S: HTTP/1.1 401 Unauthorized
Cache-Control: no-store
WWW-Authenticate: SASL
id="0001",
challenge=AmFYig==

C: GET http://classified.example.com/classified.html HTTP/1.1
Cache-Control: no-store
Pragma: no-cache
Host: classified.example.com
Authorization: SASL
id="0001", credentials=Bac...OKi1Qh


S: HTTP/1.1 401 Unauthorized
Cache-Control: no-store
WWW-Authenticate: SASL
id="0001",
challenge=or//EoAADZI=

C: GET http://classified.example.com/classified.html HTTP/1.1
Cache-Control: no-store
Pragma: no-cache
Host: classified.example.com
Authorization: SASL
id="0001",
credentials=DiAF5A4gA+oOIALuBkAAmw==

S: HTTP/1.1 235 OK
Cache-Control: no-store
WWW-Authenticate: SASL
id="0001"

CP: GET http://classified.example.com/classified.html HTTP/1.1
Host: classified.example.com

SP: HTTP/1.1 200 OK
...Requested Document follows...

CP: ...Any subsequent request for a data on the same server,
unless the server requests reauthentication...


PPT Version