Command Line Proxy Configuration Support [message #505248] |
Mon, 28 December 2009 22:49 |
Scott Hendrickson Messages: 22 Registered: December 2009 |
Junior Member |
|
|
I'm behind the infamous NTLMv2 proxy. I can configure Eclipse to access the network following the instructions here:
http://wiki.eclipse.org/ECF_Filetransfer_Support_for_NTLMv2_ Proxies
However, my institution additionally changes the username and password frequently. Thus, I'd like to be able to specify the proxy username and password via the command line *every* time I run eclipse. I'm running automated, headless checkout/build/publish commands in eclipse, so updating the username and password each time via the GUI is not an option.
Currently, the username and password specified at the command line are only used once, to create the initial username and password. subsequent instantiations of Eclipse use the username and password stored in the preferences and ignore those specified at the command line.
For example, running Eclipse with "-vmargs -Dhttp.proxyUser=userA" for the first time will store "userA" in preferences for the manually configured proxy settings. Then, when I run Eclipse a second time, but with "-vmargs -Dhttp.proxyUser=differenUserName", the manual proxy settings still use the "userA" username. The same is true for passwords.
I need the proxy settings specified by command line parameters to always be used.
I've created a patch that adds support for a a "command line" proxy provider, which I believe will address the problem. It uses the command line parameters only (before they are mangled by other providers and proxy provider selections). I'd be happy to post this patch, but don't seem to have permission to do so. I'd also be happy to e-mail it to someone who could give me feedback.
Thank you,
-- Scott
[Updated on: Mon, 28 December 2009 23:04] Report message to a moderator
|
|
|
|
Powered by
FUDForum. Page generated in 0.04278 seconds