]> source.dussan.org Git - jgit.git/commit
Retry to call credentials provider if http authentication failed 41/23441/4
authorMatthias Sohn <matthias.sohn@sap.com>
Sat, 15 Mar 2014 09:49:22 +0000 (10:49 +0100)
committerMatthias Sohn <matthias.sohn@sap.com>
Wed, 19 Mar 2014 23:56:21 +0000 (00:56 +0100)
commit8598fe3d2bdc6e4a7e136a8579fad2545f34f546
treec57b94df4050c3d3a8d444bc5a66d771f6df9921
parentfc9b1fbf6b61d0730abfa0855229b133100ef555
Retry to call credentials provider if http authentication failed

If the user provided wrong credentials or credentials changed we
shouldn't give up immediately but retry to get valid credentials from
the credentials provider. Reset the credentials provider if
authentication failed to avoid it reuses wrong credentials in
case it stored them in a persistent store.

Bug: 338048
Bug: 342592
Bug: 427735
Change-Id: Ibd62ef3da17be6454991c43f524c8bbc7ca3c37e
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
org.eclipse.jgit/src/org/eclipse/jgit/transport/TransportHttp.java