Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Oomph » How to set up for authentication to p2 update site
How to set up for authentication to p2 update site [message #1403157] Mon, 21 July 2014 20:19 Go to next message
Tamar Cohen is currently offline Tamar CohenFriend
Messages: 103
Registered: July 2009
Senior Member
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).

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.

How should this be set up?

thanks
Tamar
Re: How to set up for authentication to p2 update site [message #1403161 is a reply to message #1403157] Mon, 21 July 2014 22:03 Go to previous messageGo to next message
Tamar Cohen is currently offline Tamar CohenFriend
Messages: 103
Registered: July 2009
Senior Member
Hm, it seems to Just Work (™) on my computer, possibly because I have cached credentials. I will report back as to what happens on a different computer.
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 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 31032
Registered: July 2009
Senior Member
Tamar,

Comments below.

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.
Exactly.
> 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.
>
> thanks
> Tamar
>
Re: How to set up for authentication to p2 update site [message #1473366 is a reply to message #1403292] Fri, 14 November 2014 15:10 Go to previous message
Johan Hardy is currently offline Johan HardyFriend
Messages: 47
Registered: December 2012
Member

I have the same problem when using Oomph under Linux. I have a repository (updatesite) on svn that requires password and Oomph fails to authenticate. No prompt, no way to enter credentials.
Previous Topic:Targlets: Do not inherit Targets
Next Topic:Rename Eclipse executable
Goto Forum:
  


Current Time: Mon Apr 06 00:28:35 GMT 2020

Powered by FUDForum. Page generated in 0.02013 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top