[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [mylyn-integrators] Authentication question
|
> I noticed on the AbstractRepositorySettingsPage there is a method
> setNeedsHTTPAuth. If I set this to true, I get an extra collapsible
> settings group that lets me enter an additional username & password.
>
> First question: Why isn't this automatically filled in to match the
> credential boxes above it? Is there a good way to consolidate these
> settings?
No, these settings are separate. Some connectors such as Trac do you
the repository credentials for HTTP authentication though and disable
the HTTP authentication section on the settings page.
> Second question: I must be completely missing the purpose of this setting.
> I enter something there, choose to save the password, then go to open my
> task (using a BrowserFormPage, modelled off code I found in the Web
> Connector), and I still get a prompt for user name & password. How can I
> pass HTTP authentication credentials into the browser to avoid this?
Providing credentials to the user is not yet supported. Please see
this bug for further details:
163120: [e3.5] set authentication credentials when opening a Task List
element with the browser
https://bugs.eclipse.org/bugs/show_bug.cgi?id=163120
HTTP and proxy credentials are evaluated by the tasks framework if you
use the API for handling of HTTP requests that is provided in the
org.eclipse.mylyn.commons.net plug-in. The Bugzilla and Trac
connectors are good examples how to use that but it does not integrate
with the internal web browser.
Steffen
--
Steffen Pingel
Committer, http://eclipse.org/mylyn
Senior Developer, http://tasktop.com