diff options
author | Matthias Sohn <matthias.sohn@sap.com> | 2014-05-26 00:45:49 +0200 |
---|---|---|
committer | Matthias Sohn <matthias.sohn@sap.com> | 2014-05-27 10:20:42 +0200 |
commit | f80b41fbc1830316800d25c8e4c283dd96464956 (patch) | |
tree | e1f28b62b71db0bad752bee11d4b48d4ef271bf1 /org.eclipse.jgit.http.apache | |
parent | c1f11fafce265a1bf1156e54324d9bae7b3c4faa (diff) | |
download | jgit-f80b41fbc1830316800d25c8e4c283dd96464956.tar.gz jgit-f80b41fbc1830316800d25c8e4c283dd96464956.zip |
Fix authentication type names broken by 0b5441a8
0b5441a8 introduced an enum for authentication types and changed the
case of digest and basic authentication type names to all uppercase.
This broke digest authentication at least when using Gerrit as the git
server.
According to RFC2617 [1] "Basic" and "Digest" is the literal to be used
in authentication headers and not "BASIC" [1] and "DIGEST" [2].
According to RFC4559 "Negotiate" [3] is used for SPNEGO based
authentication.
[1] http://tools.ietf.org/html/rfc2617#page-5
[2] http://tools.ietf.org/html/rfc2617#page-8
[3] http://tools.ietf.org/html/rfc4559#page-3
Bug: 435866
Change-Id: I6173aff9352d7def225cafe2d73e5176ad40dff0
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
Diffstat (limited to 'org.eclipse.jgit.http.apache')
0 files changed, 0 insertions, 0 deletions