]> source.dussan.org Git - jgit.git/commit
http transport does not use authentication fallback 28/71028/10
authorChristian Pontesegger <christian.pontesegger@web.de>
Wed, 20 Apr 2016 06:31:18 +0000 (08:31 +0200)
committerMatthias Sohn <matthias.sohn@sap.com>
Mon, 6 Jun 2016 14:45:49 +0000 (16:45 +0200)
commitac3d3af632b2b98e1ae176e4cd484934d1f49e1d
treeb1cb2859058b0d13aafd2423835b6af71bce05a8
parent534fcb14795ac8cb1107cda9be1de4f5e1f38ea1
http transport does not use authentication fallback

Git servers supporting HTTP transport can send multiple WWW-Authenticate
challenges [1] for different authentication schemes the server supports.
If authentication fails now retry all authentication types proposed by
the server.

[1] https://tools.ietf.org/html/rfc2617#page-3

Bug: 492057
Change-Id: I01d438a5896f9b1008bd6b751ad9c7cbf780af1a
Signed-off-by: Christian Pontesegger <christian.pontesegger@web.de>
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
org.eclipse.jgit.test/tst/org/eclipse/jgit/transport/HttpAuthTest.java
org.eclipse.jgit/src/org/eclipse/jgit/transport/HttpAuthMethod.java
org.eclipse.jgit/src/org/eclipse/jgit/transport/TransportHttp.java