|Re: How to set up for authentication to p2 update site [message #1403292 is a reply to message #1403157]
||Tue, 22 July 2014 03:55
| Ed Merks
Registered: July 2009
On 21/07/2014 10:19 PM, Tamar Cohen wrote:
> Ok on to my next step.
> As we build our setup file to tell Oomph how to configure Eclipse, one
> of the things I'd like to do is set up my target platform and p2
> update site. We have internal p2 update sites that require each user
> to log in (uniquely).
Yes, that should just work. We've even put in support so you can have
the *.setup itself at an https location and you will be (should be)
prompted for an ID and password. In either case, the password is stored
in Eclipse's secure storage (if you choose that in the prompt dialog),
where it can be looked up and reused the next time access is required...
> When we work with the target platform to access a p2 update site or
> something that requires a login, Eclipse prompts for username and
> password and that is stored encrypted in the secure storage.
> We certainly don't want to use a variable where the users would ever
> store the password, or even have to change the password before being
> able to run.
There is support for prompted variables that are stored in secure
storage, but I'm very unhappy with it because every technology that
needs passwords generally has it's own mechanism for prompted and more
importantly has a location in the secure storage where it stores it and
expects to find it. I had a case where this mechanism was used for
Mylyn queries and once my password at Eclipse changed, the Oomph
prompted password kept being used and I had no ability to change it, so
something needs to be fixed there. (On that front, if you install
Oomph's Preference Management feature (which works independent of the
setup tools), you can open up an editor (via the preferences page) which
allows you to inspect and edit all preferences in Eclipse's preference
store, including the secure preferences.
> How should this be set up?
As you found out in the your follow up note, it should all just work.
Powered by FUDForum
. Page generated in 0.02013 seconds