HTTPCLIENT-1855: disabled caching of DIGEST auth scheme instances due to unreliability of nonce counter when the auth cache is shared by multiple sessions
This commit is contained in:
parent
2155361d3b
commit
9368c5f5c8
|
@ -316,8 +316,7 @@ public class HttpAuthenticator {
|
|||
|
||||
private boolean isCachable(final AuthScheme authScheme) {
|
||||
final String schemeName = authScheme.getName();
|
||||
return schemeName.equalsIgnoreCase(AuthSchemes.BASIC) ||
|
||||
schemeName.equalsIgnoreCase(AuthSchemes.DIGEST);
|
||||
return schemeName.equalsIgnoreCase(AuthSchemes.BASIC);
|
||||
}
|
||||
|
||||
private void updateCache(final HttpHost host, final AuthScheme authScheme, final HttpClientContext clientContext) {
|
||||
|
|
Loading…
Reference in New Issue