-
Improvement
-
Resolution: Fixed
-
Major
-
Platform: All, OS: All
We're running Hudson on Solaris 10. Connecting to the internet is done via MS
ISA proxies (require NTLM authentication). Solaris doesn't support NTLM.
So Hudson's plugin manager should support specifying the proxy's username /
password and authentication type.
- is blocking
-
JENKINS-1833 Have to be able to provide user and pass for proxy in update center
-
- Resolved
-
This can be easily fixed in ProxyConfiguration by replacing
con.setRequestProperty("Proxy-Authorization","Basic "+
Scrambler.scramble(p.getUserName()+':'+p.getPassword()));
with
Authenticator.setDefault(new Authenticator() {
{ ProxyConfiguration p = Hudson.getInstance().proxy; return new PasswordAuthentication(p.getUserName(), p.getPassword().toCharArray()); }public PasswordAuthentication getPasswordAuthentication()
});
A corresponding patch file is attached.