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

Bug 368568

Summary: [api] provide support for having repository and http authentication credentials the same
Product: z_Archived Reporter: Shawn Minto <shawn.minto>
Component: MylynAssignee: Steffen Pingel <steffen.pingel>
Status: RESOLVED FIXED QA Contact: Steffen Pingel <steffen.pingel>
Severity: enhancement    
Priority: P3    
Version: unspecified   
Target Milestone: 3.7   
Hardware: PC   
OS: Linux   
Whiteboard:
Attachments:
Description Flags
mylyn/context/zip none

Description Shawn Minto CLA 2012-01-13 12:09:34 EST
The case that I had in mind is when there is a 401 (http authenication required) but the user should be prompted for repository credentials instead of http authentication credentials. The basic case is that the http auth and repository credentials should be kept in sync.
Comment 1 Steffen Pingel CLA 2012-01-14 08:41:00 EST
I have added a new property "httpAuthenticationType" to CommonHttpClient that allows to configure the authentication type that is used to retrieve credentials from the location. If you set that to AuthentictaionType.REPOSITORY repository credentials will be used for HTTP auth.
Comment 2 Steffen Pingel CLA 2012-01-14 08:41:03 EST
Created attachment 209496 [details]
mylyn/context/zip