Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 37205 - Add support for NTLM authentication on HTTP proxies
Summary: Add support for NTLM authentication on HTTP proxies
Status: RESOLVED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: Update (deprecated - use Eclipse>Equinox>p2) (show other bugs)
Version: 2.1   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: 3.0 M7   Edit
Assignee: Dorian Birsan CLA
QA Contact:
URL:
Whiteboard:
Keywords:
: 44517 45992 50354 51044 71869 (view as bug list)
Depends on:
Blocks:
 
Reported: 2003-05-05 03:21 EDT by Jesper Haffgaard CLA
Modified: 2004-08-12 12:21 EDT (History)
6 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jesper Haffgaard CLA 2003-05-05 03:21:29 EDT
Our development team is situated behind a Microsoft Proxy, which is set up to 
accept only NTLM authentication. This means, that we cannot update Eclipse, 
since the update mechanism does not support NTLM authentication.

It would be quite simple to add support for this, if the Eclipse team started 
using the HTTPClient from the Apache Jakarta project:

   http://jakarta.apache.org/commons/httpclient/index.html

This seems to be a quite common problem in many Java applications, since the 
Sun JDK does not support the NTLM authentication.
Comment 1 Christophe Elek CLA 2003-05-10 14:56:22 EDT
this may also help us in our *improve reliability of http connection* as I
believe this package provides utilities to restart or cancel URL right ?
Comment 2 Dejan Glozic CLA 2003-05-10 15:05:24 EDT
We must be careful here - I checked the link and the project is in the alpha 2 
phase of the release 2. I don't know if they will ship 2.0 any time soon  but 
it worries me that the project seems to follow non-linear schedule (it 
accelerates and slows down based on the interest). I would be hesistant to 
rehost critical network code on an open-source code that is on a fluid schedule 
with no apparent project plan.
Comment 3 Christophe Elek CLA 2003-05-12 15:56:55 EDT
I agree. So your point is that wither we get a very stable component or we
develop it ourselves (which is the same right ;-)
Comment 4 Jesper Haffgaard CLA 2003-05-13 03:12:53 EDT
In jCIFS there is an implementation of NTLM authentication: 

    http://jcifs.samba.org

There is some information about the NTLM authentication protocol (along with an 
implementation) here:

    http://www.luigidragone.com/networking/ntlm.html

Comment 5 Eric Berry CLA 2003-10-16 10:35:05 EDT
*** Bug 44517 has been marked as a duplicate of this bug. ***
Comment 6 Dorian Birsan CLA 2003-11-03 18:53:24 EST
*** Bug 45992 has been marked as a duplicate of this bug. ***
Comment 7 Dorian Birsan CLA 2003-11-26 15:05:40 EST
Apparently NTLM support is available in jdk 1.4.2 (which is what eclipse needs 
in 3.0).
Can you try it now?

As usual, 
- set the http proxy host and port (on the Install/Update preference page, or 
pass -Dhttp.proxyHost and -Dhttp.proxyPort to the eclipse startup command),
- use update manager to install from an update site
- when the log in dialog prompts you for user id and password make sure that 
the user id is of the form domain\user (unless you are already logged in on 
the same domain).
Comment 8 Jesper Haffgaard CLA 2003-11-28 02:53:29 EST
No login-dialog appears and it just hangs during the update. After a while 
(couple of minutes) the next steap appears in the update wizard, but with no 
updates available. [JDK version 1.4.2 and Eclipse version 3.0M5]
Comment 9 George Voutsinas CLA 2004-01-21 22:04:28 EST
*** Bug 50354 has been marked as a duplicate of this bug. ***
Comment 10 Jesper Haffgaard CLA 2004-01-22 05:55:26 EST
I have retried with Eclipse 3.0M6 and Sun JDK 1.4.2_03 and it worked without 
any problems. 
Comment 11 Dorian Birsan CLA 2004-01-23 10:14:36 EST
Thanks, I will then close the bug.
We are also investigating using apache's http client code, that offers more 
options for secure connections, but even without it, with the jdk level you 
mention things should be working fine.
Comment 12 Dorian Birsan CLA 2004-05-18 15:41:51 EDT
*** Bug 51044 has been marked as a duplicate of this bug. ***
Comment 13 Dorian Birsan CLA 2004-08-12 12:21:59 EDT
*** Bug 71869 has been marked as a duplicate of this bug. ***