src/share/classes/sun/net/www/protocol/http/HttpURLConnection.java
Print this page
@@ -2063,11 +2063,13 @@
break;
case KERBEROS:
ret = new NegotiateAuthentication(new HttpCallerInfo(authhdr.getHttpCallerInfo(), "Kerberos"));
break;
case UNKNOWN:
+ if (logger.isLoggable(PlatformLogger.FINEST)) {
logger.finest("Unknown/Unsupported authentication scheme: " + scheme);
+ }
/*fall through*/
default:
throw new AssertionError("should not reach here");
}
}
@@ -2220,11 +2222,13 @@
/* set to false so that we do not try again */
tryTransparentNTLMServer = false;
}
break;
case UNKNOWN:
+ if (logger.isLoggable(PlatformLogger.FINEST)) {
logger.finest("Unknown/Unsupported authentication scheme: " + scheme);
+ }
/*fall through*/
default:
throw new AssertionError("should not reach here");
}
}