Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(345)

Unified Diff: net/http/http_auth_controller.cc

Issue 388063005: Add NTLM single-sign-on support via Samba's ntlm_auth helper Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Review feedback Created 6 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « AUTHORS ('k') | net/http/http_auth_handler_ntlm.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/http/http_auth_controller.cc
diff --git a/net/http/http_auth_controller.cc b/net/http/http_auth_controller.cc
index 9cc57de35aadec7396d8c383bc6584f93bc1fb90..69bbdfc74c3466892c721b15338ce44e9cd8ab4d 100644
--- a/net/http/http_auth_controller.cc
+++ b/net/http/http_auth_controller.cc
@@ -435,8 +435,12 @@ void HttpAuthController::InvalidateCurrentHandler(
if (action == INVALIDATE_HANDLER_AND_CACHED_CREDENTIALS)
InvalidateRejectedAuthFromCache();
- if (action == INVALIDATE_HANDLER_AND_DISABLE_SCHEME)
+ if (action == INVALIDATE_HANDLER_AND_DISABLE_SCHEME) {
DisableAuthScheme(handler_->auth_scheme());
+ // This scheme might have been tried with the default credentials, but
+ // the *next* one is still allowed to try them.
+ default_credentials_used_ = false;
+ }
handler_.reset();
identity_ = HttpAuth::Identity();
}
« no previous file with comments | « AUTHORS ('k') | net/http/http_auth_handler_ntlm.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698