Community
Participate
Working Groups
Build Identifier: M20090917-0800 The first line of org.eclipse.jgit.transport.HttpAuthMethod#scanResponse(HttpURLConnection) checks the response returned from the Git server for a "WWW-Authenticate" header. However, if there a multiple WWW-Authenticate headers defined (which is valid, servers may support multiple methods of authentication) it will only check the last one, and declare that no supported auth challenge was found if it doesn't contain Basic or Digest. Instead, it should iterate through the available WWW-Authenticate headers, checking whether any of them contain a supported authentication method. Reproducible: Always
this is a problem in JGit
proposed patch by Alex Rukhlin https://git.eclipse.org/r/#/c/13285/
merged as 98dd6e6abdba75d05f03b5b073659efe53182dc6
cherry-picked for 3.0.2