Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » P2 » Password Providers on the command line
Password Providers on the command line [message #771760] Wed, 28 December 2011 04:18
Enrique Tobis is currently offline Enrique Tobis
Messages: 1
Registered: December 2011
Junior Member
I am behind a proxy, and trying to use p2 to install plugins from a remote website.

The proxy requires username/password information that I need to keep secret.

I have managed to do the installation by means of the -eclipse.password command-line option. I start Eclipse with that, save the username/password information, and then do the -installIU thing also using the -eclipse.password option, and it works. But this does not really keep the information secret (you juse need the password file to decrypt it).

Is there a way to use a PasswordProvider instead of the -eclipse.password option, together with p2? I realize that the point (or at least one of them) of p2 is to be able to do a headless installation, and for that reason I wrote my own console-oriented PasswordProvider. My Provider works fine, and is properly registered with my installation, but it's not being called (even though it has the highest priority) when I do the p2 command-line installs, which then fail because they cannot use the proxy.

Any thoughts?

Thanks!!

Enrique
Previous Topic:P2 documentation?
Next Topic:Problem with partial mirroring from update site that only contains packed bundles
Goto Forum:
  


Current Time: Fri Sep 19 21:57:05 GMT 2014

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

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