Community
Participate
Working Groups
Sending requests to a protected Hudson URL results in a 403 respoonse, e.g. http://mylyn.eclipse.org/hudson/job/succeeding/build . The Hudson connector should handle that and automatically login if credentials are provided for a build repository.
Yeah, login doesn't seem to work, but it should in theory work automatically with HTTP authentication (if provided). It even requests new credentials... Note for the settings dialog: Remove "Enable Http Authentication" in the future, since this is kind of redundant.
Ah, okay. Then something might be wrong in the way that credentials get set on the repository, i.e. CommonHttpClient might not pick them up as properly. What if you set authenticationType = AuthenticationType.HTTP in CommonHttpClient.needsReauthentication(), does that fix the problem?
Yes, that works better.
Then all that needs to be done here is to disable the UI for HTTP auth and use repository credentials for HTTP auth. We might need to reconsider in case we want to support the case where HTTP credentials differ from the Hudson credentials but we don't to worry about that now. I'll take this bug for now since this will require some changes in the framework.
This should work now.