Bug 172395 - JIRA connector should support NTLM proxy authentication
Summary: JIRA connector should support NTLM proxy authentication
Status: RESOLVED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Mylyn (show other bugs)
Version: 1.0   Edit
Hardware: PC Windows XP
: P3 enhancement (vote)
Target Milestone: 2.0 M2   Edit
Assignee: Steffen Pingel CLA
QA Contact:
URL:
Whiteboard:
Keywords: helpwanted
Depends on:
Blocks:
 
Reported: 2007-01-31 17:51 EST by Barrie Treloar CLA
Modified: 2007-02-20 16:40 EST (History)
1 user (show)

See Also:


Attachments
NTLM support for Proxy authentication (6.29 KB, text/plain)
2007-02-20 00:29 EST, Steffen Pingel CLA
no flags Details
mylar/context/zip (1.88 KB, application/octet-stream)
2007-02-20 00:29 EST, Steffen Pingel CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
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.