|Password Providers on the command line [message #771760]
||Wed, 28 December 2011 04:18
| Enrique Tobis
Registered: December 2011
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.
Powered by FUDForum
. Page generated in 0.01578 seconds