|Re: [jgit-dev] SPNEGO authentication for jgit|
have you seen my changes to teach jgit to use org.apache httpclient instead of jdk’s HttpURLConnection ? JGit will then not use jdks HttpURLConnection at all and uses apaches classes
which support SPNEGO. I am not sure whether this will help but I can imagine that it will at least change the situation a lot. I could imagine that your changes are still needed also when we
use HttpClient … but I think you should test this. In the best case you would even not need your changes but simply switch to usage of HttpClient. My guess would be that we still need your changes
also when we use httpclient. JDKs HttpURLConnection and Apaches HttpClient both support SPNEGO so the difference shouldn’t be big.
Is there any chance that we get tests for this? We do have unit tests where we start our own jetty based git server inside the test and check that the user gets authenticated using
BASIC authentication . Is there any chance to get such a test for SPNEGO?
From: jgit-dev-bounces@xxxxxxxxxxx [mailto:jgit-dev-bounces@xxxxxxxxxxx]
On Behalf Of Laurent Goujon
My company is using SPNEGO/Kerberos for git authentication, and it seems it doesn't work well with jgit.
I open bug 428836  to track this issue, and I also tried to fix it by myself. So far, I submitted 4 patches to Gerrit to implement the feature.
It would be great if some people could review them, and provides feedback. Patches have been submitted to Hudson, but builds aborted before the end.
Back to the top