--- old/src/share/classes/sun/net/www/protocol/http/HttpURLConnection.java Wed Oct 21 11:54:51 2009 +++ new/src/share/classes/sun/net/www/protocol/http/HttpURLConnection.java Wed Oct 21 11:54:50 2009 @@ -243,7 +243,7 @@ private boolean tryTransparentNTLMProxy = true; /* Used by Windows specific code */ - Object authObj; + private Object authObj; /* Set if the user is manually setting the Authorization or Proxy-Authorization headers */ boolean isUserServerAuth; @@ -332,6 +332,15 @@ return logger; } + /* Used for Windows NTLM implementation */ + public Object authObj() { + return authObj; + } + + public void authObj(Object authObj) { + this.authObj = authObj; + } + /* * checks the validity of http message header and throws * IllegalArgumentException if invalid. @@ -2529,7 +2538,7 @@ // Set a property for authentication. This can safely disregard // the connected test. // - void setAuthenticationProperty(String key, String value) { + public void setAuthenticationProperty(String key, String value) { checkMessageHeader(key, value); requests.set(key, value); }