mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 23:34:52 +02:00
8209094: Improve web server connections
Reviewed-by: chegar, dfuchs, mschoene, igerasim
This commit is contained in:
parent
8f14f8b2a7
commit
ef75339a1e
6 changed files with 170 additions and 13 deletions
|
@ -93,10 +93,13 @@ public class NTLMAuthentication extends AuthenticationInfo {
|
|||
|
||||
/**
|
||||
* Returns true if the given site is trusted, i.e. we can try
|
||||
* transparent Authentication.
|
||||
* transparent Authentication. Shouldn't be called since
|
||||
* capability not supported on Unix
|
||||
*/
|
||||
public static boolean isTrustedSite(URL url) {
|
||||
return NTLMAuthCallback.isTrustedSite(url);
|
||||
if (NTLMAuthCallback != null)
|
||||
return NTLMAuthCallback.isTrustedSite(url);
|
||||
return false;
|
||||
}
|
||||
|
||||
private void init0() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue