]> source.dussan.org Git - jgit.git/commit
Support HTTP basic and digest authentication 70/1670/1
authorShawn O. Pearce <spearce@spearce.org>
Sun, 21 Mar 2010 04:04:33 +0000 (21:04 -0700)
committerMatthias Sohn <matthias.sohn@sap.com>
Tue, 28 Sep 2010 06:42:47 +0000 (08:42 +0200)
commit858b2c92e8ffecbde9f80dd9d705518b8e6085f6
tree24ca5cee0aa6aa12494101bc19ae36201b51820e
parent153c796bce7ed47be32866db62163bd45d2c25e6
Support HTTP basic and digest authentication

Natively support the HTTP basic and digest authentication methods
by setting the Authorization header without going through the JREs
java.net.Authenticator API.  The Authenticator API is difficult to
work with in a multi-threaded server environment, where its using
a singleton for the entire JVM.  Instead compute the Authorization
header from the URIish user and pass, if available.

Change-Id: Ibf83fea57cfb17964020d6aeb3363982be944f87
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
org.eclipse.jgit/src/org/eclipse/jgit/transport/HttpAuthMethod.java [new file with mode: 0644]
org.eclipse.jgit/src/org/eclipse/jgit/transport/TransportHttp.java
org.eclipse.jgit/src/org/eclipse/jgit/util/HttpSupport.java