Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 172395

Summary: JIRA connector should support NTLM proxy authentication
Product: z_Archived Reporter: Barrie Treloar <baerrach>
Component: MylynAssignee: Steffen Pingel <steffen.pingel>
Status: RESOLVED FIXED QA Contact:
Severity: enhancement    
Priority: P3 CC: robert.elves
Version: 1.0Keywords: helpwanted
Target Milestone: 2.0 M2   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Attachments:
Description Flags
NTLM support for Proxy authentication
none
mylar/context/zip none

Description Barrie Treloar CLA 2007-01-31 17:51:47 EST
Build ID: M20060629-1905

Steps To Reproduce:
1. Be behind a Microsoft ISA NTLM authenticating Proxy
2. Create a JIRA connector to http://jira.atlassian.com
3. Enter correct username/password in connector
4. Click "Validate Settings" 
5. See the popup "(407)Proxy Authentication Required..."

Isn't there some common eclipse code for handling URL connections via proxies?  Something equivalent to jakarta commons-http? 

Mylar should not need to be doing any of its own proxy handling as NTLM authentication is already working correctly in Eclipse itself.

More information:
Seems related to 
* https://bugs.eclipse.org/bugs/show_bug.cgi?id=166540
* https://bugs.eclipse.org/bugs/show_bug.cgi?id=159313
Comment 1 Eugene Kuleshov CLA 2007-01-31 17:57:00 EST
Please see wiki page [1] for details on JIRA proxy configuration. We are planning to align it with other connectors soon.
Can you please confirm if that help with your issue, and also if other connectors (i.e. Generic Web Repository Connector or Bugzilla) work trough your proxy? Thanks

[1] http://wiki.eclipse.org/index.php/Mylar_FAQ#JIRA_Connector
Comment 2 Mik Kersten CLA 2007-02-12 14:38:51 EST
I added this to the known limitations: http://wiki.eclipse.org/index.php/Mylar_FAQ#Known_limitations

Marking "helpwanted" since the JIRA Connector is currently supported by community contributions.
Comment 3 Steffen Pingel CLA 2007-02-19 22:07:11 EST
Proxy support has been improved as part of bug 166468. Resolving this report should now be possible provided that your NTLM version is supported by HttpClient:

 http://jakarta.apache.org/commons/httpclient/authentication.html#NTLM

Rob, do you what the state of supporting NTLM through WebClientUtil is? 
Comment 4 Steffen Pingel CLA 2007-02-20 00:29:54 EST
Created attachment 59343 [details]
NTLM support for Proxy authentication

This adds support for NTLM if the username contains a backslash: domain\user. Rob, please review.
Comment 5 Steffen Pingel CLA 2007-02-20 00:29:55 EST
Created attachment 59344 [details]
mylar/context/zip
Comment 6 Robert Elves CLA 2007-02-20 16:36:06 EST
Great. Patch reviewed and applied. Unfortunately I do not have NTLM authenticated proxy to verify against.
Comment 7 Steffen Pingel CLA 2007-02-20 16:40:20 EST
Me neither. I'll post to the news group when we have a 3.2 dev build (end of this week) and ask for testers.