src/share/classes/sun/net/www/protocol/http/HttpURLConnection.java

Print this page

        

*** 2063,2073 **** --- 2063,2075 ---- 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,2230 **** --- 2222,2234 ---- /* 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"); } }