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

Bug 207097

Summary: provide user with informative error dialog when trying to authenticate without proper NTLM credentials
Product: z_Archived Reporter: Robert Elves <robert.elves>
Component: MylynAssignee: Project Inbox <mylyn-triaged>
Status: CLOSED MOVED QA Contact:
Severity: enhancement    
Priority: P3 CC: robert.elves, t-oberlies
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: All   
Whiteboard:
Bug Depends on: 355752    
Bug Blocks:    

Description Robert Elves CLA 2007-10-22 18:23:34 EDT
For example, when a user enters regular username and password without the domain for NTLM authenticaiton the follow exception is thrown. Users could be informed that their proxy requires ntml login and provide username format.

[ERROR] HttpMethodDirector - Credentials cannot be used for NTLM authentication: org.apache.commons.httpclient.UsernamePasswordCredentials <org.apache.commons.httpclient.auth.InvalidCredentialsException: Credentials cannot be used for NTLM authentication: org.apache.commons.httpclient.UsernamePasswordCredentials>org.apache.commons.httpclient.auth.InvalidCredentialsException: Credentials cannot be used for NTLM authentication: org.apache.commons.httpclient.UsernamePasswordCredentials
	at org.apache.commons.httpclient.auth.NTLMScheme.authenticate(NTLMScheme.java:331)
	at org.apache.commons.httpclient.HttpMethodDirector.authenticateProxy(HttpMethodDirector.java:319)
	at org.apache.commons.httpclient.HttpMethodDirector.executeConnect(HttpMethodDirector.java:490)
	at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:390)
	at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:170)
	at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:396)
	at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:324)
	at org.eclipse.mylyn.internal.bugzilla.core.BugzillaClient.connectInternal(Unknown Source)
	at org.eclipse.mylyn.internal.bugzilla.core.BugzillaClient.getConnect(Unknown Source)
	at org.eclipse.mylyn.internal.bugzilla.core.BugzillaClient.logout(Unknown Source)
	at org.eclipse.mylyn.internal.bugzilla.core.BugzillaClient.validate(Unknown Source)
	at com.tasktop.doc.ui.TasktopDocPlugin$2$1.run(Unknown Source)
	at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:113)
Comment 1 Steffen Pingel CLA 2009-12-23 13:02:42 EST
*** Bug 298310 has been marked as a duplicate of this bug. ***
Comment 2 Steffen Pingel CLA 2011-09-28 02:21:37 EDT
Tracked on bug 355752 now.

*** This bug has been marked as a duplicate of bug 355752 ***
Comment 3 Steffen Pingel CLA 2011-09-28 02:23:52 EDT
On second thought we should consider this as a separate issue.
Comment 4 Eclipse Webmaster CLA 2022-11-15 11:45:08 EST
Mylyn has been restructured, and our issue tracking has moved to GitHub [1].

We are closing ~14K Bugzilla issues to give the new team a fresh start. If you feel that this issue is still relevant, please create a new one on GitHub.

[1] https://github.com/orgs/eclipse-mylyn