6855297: Windows build breaks after 6811297
Re-introduced the mistakenly taken out authObj member Reviewed-by: chegar
This commit is contained in:
parent
9feab8fb3a
commit
33dbe6a01d
@ -237,6 +237,8 @@ public class HttpURLConnection extends java.net.HttpURLConnection {
|
|||||||
/* try auth without calling Authenticator */
|
/* try auth without calling Authenticator */
|
||||||
private boolean tryTransparentNTLMServer = NTLMAuthentication.supportsTransparentAuth();
|
private boolean tryTransparentNTLMServer = NTLMAuthentication.supportsTransparentAuth();
|
||||||
private boolean tryTransparentNTLMProxy = NTLMAuthentication.supportsTransparentAuth();
|
private boolean tryTransparentNTLMProxy = NTLMAuthentication.supportsTransparentAuth();
|
||||||
|
/* Used by Windows specific code */
|
||||||
|
Object authObj;
|
||||||
|
|
||||||
/* Set if the user is manually setting the Authorization or Proxy-Authorization headers */
|
/* Set if the user is manually setting the Authorization or Proxy-Authorization headers */
|
||||||
boolean isUserServerAuth;
|
boolean isUserServerAuth;
|
||||||
@ -1219,6 +1221,7 @@ public class HttpURLConnection extends java.net.HttpURLConnection {
|
|||||||
disconnectInternal ();
|
disconnectInternal ();
|
||||||
throw new IOException ("Authentication failure");
|
throw new IOException ("Authentication failure");
|
||||||
}
|
}
|
||||||
|
authObj = null;
|
||||||
doingNTLMp2ndStage = false;
|
doingNTLMp2ndStage = false;
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
@ -1295,6 +1298,7 @@ public class HttpURLConnection extends java.net.HttpURLConnection {
|
|||||||
throw new IOException ("Authentication failure");
|
throw new IOException ("Authentication failure");
|
||||||
}
|
}
|
||||||
doingNTLM2ndStage = false;
|
doingNTLM2ndStage = false;
|
||||||
|
authObj = null;
|
||||||
setCookieHeader();
|
setCookieHeader();
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
@ -1646,6 +1650,7 @@ public class HttpURLConnection extends java.net.HttpURLConnection {
|
|||||||
disconnectInternal();
|
disconnectInternal();
|
||||||
throw new IOException ("Authentication failure");
|
throw new IOException ("Authentication failure");
|
||||||
}
|
}
|
||||||
|
authObj = null;
|
||||||
doingNTLMp2ndStage = false;
|
doingNTLMp2ndStage = false;
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user