Freeman Fang created CXF-6748: --------------------------------- Summary: the qop,nc,algorithm parameter in http auth header must not be enclosed between doble quotation Key: CXF-6748 URL: https://issues.apache.org/jira/browse/CXF-6748 Project: CXF Issue Type: Bug Reporter: Freeman Fang
Per RFC 2617[1], the Authorization Request Header should be {code} credentials = "Digest" digest-response digest-response = 1#( username | realm | nonce | digest-uri | response | [ algorithm ] | [cnonce] | [opaque] | [message-qop] | [nonce-count] | [auth-param] ) username = "username" "=" username-value username-value = quoted-string digest-uri = "uri" "=" digest-uri-value digest-uri-value = request-uri ; As specified by HTTP/1.1 message-qop = "qop" "=" qop-value cnonce = "cnonce" "=" cnonce-value cnonce-value = nonce-value nonce-count = "nc" "=" nc-value nc-value = 8LHEX response = "response" "=" request-digest request-digest = <"> 32LHEX <"> LHEX = "0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "a" | "b" | "c" | "d" | "e" | "f" {code} The httpclient has similar issue[2] which already get fixed [1]https://tools.ietf.org/html/rfc2617 [2]https://github.com/nahi/httpclient/issues/27 -- This message was sent by Atlassian JIRA (v6.3.4#6332)