#27 enhance firewall connectivity by using jdk http stack

open
5
2006-09-02
2006-09-02
Mike Wilson
No

["cvs" category maybe isn't exactly right but was the
closest match]

The purpose of cvsgrab, as I see it, is to enable
people behind corporate firewalls to download files
from cvs servers.
Unfortunately, many companies use Microsoft solutions
for their web proxy servers, that in turn use the
NTLM2 authentication protocol.

As cvsgrab utilizes Apache's HttpClient for http
communication there is no support for NTLM2. At the
same time, support for this protocol has been built-
in in the JDK since 1.4.2 (Windows version only, but
that is usually no problem as companies with MS
proxies usually have Windows clients).
See:
http://java.sun.com/j2se/1.4.2/docs/guide/net/properti
es.html

So, it would be a big gain for cvsgrab if it could be
configured to use the Http(s)URLConnection of the
JDK standard class library for http communication,
instead of HttpClient.

Best regards
Mike Wilson

Discussion