]> source.dussan.org Git - jgit.git/commit
TransportHttp: retry on IOException with another mechanism 71/111671/4
authorThomas Wolf <thomas.wolf@paranor.ch>
Wed, 15 Nov 2017 22:23:27 +0000 (23:23 +0100)
committerMatthias Sohn <matthias.sohn@sap.com>
Wed, 6 Dec 2017 22:12:48 +0000 (17:12 -0500)
commit7f2ef4b6bac25c0690e0c67617000863ca7364b8
treeb42ba3d02147f140c9fe7d3d97e0af4d81123eb4
parentdf3a7c32a41699b42b052ef9f62b1725928387b1
TransportHttp: retry on IOException with another mechanism

When a 401 occurs on POST and the server advertises Negotiate, we
may get an exception from GSSAPI if the client isn't configured
at all for Kerberos.

Add exception logic similar to the GET case: keep trying other
authentication mechanisms if this occurs.

Bug: 501167
Change-Id: Ic3a3368378d4b3408a35aec93e78ef425d54b3e4
Signed-off-by: Thomas Wolf <thomas.wolf@paranor.ch>
org.eclipse.jgit/src/org/eclipse/jgit/transport/TransportHttp.java