summaryrefslogtreecommitdiffstats
path: root/net/http/http_auth_handler.h
diff options
context:
space:
mode:
authorahendrickson@chromium.org <ahendrickson@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-04-16 20:22:30 +0000
committerahendrickson@chromium.org <ahendrickson@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-04-16 20:22:30 +0000
commitb4955e7d58c7bb329b6dddc6f33199fe17c7bfa1 (patch)
tree0685b539d6b9b4e438f82d27422d859c35bfb816 /net/http/http_auth_handler.h
parent3a06fa5487850ef494aea79f5b46a97d06d31a4f (diff)
downloadchromium_src-b4955e7d58c7bb329b6dddc6f33199fe17c7bfa1.zip
chromium_src-b4955e7d58c7bb329b6dddc6f33199fe17c7bfa1.tar.gz
chromium_src-b4955e7d58c7bb329b6dddc6f33199fe17c7bfa1.tar.bz2
Refactored to pass the URLSecurityManager via the HttpAuthFactory class to the HttpNetworkSession.
Fixed a bug where the command-line whitelist was not being propagated down to the URLSecurityManager. BUG=29596 TEST=None Review URL: http://codereview.chromium.org/1634005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@44811 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/http/http_auth_handler.h')
-rw-r--r--net/http/http_auth_handler.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/net/http/http_auth_handler.h b/net/http/http_auth_handler.h
index 663e04a..dc87d34 100644
--- a/net/http/http_auth_handler.h
+++ b/net/http/http_auth_handler.h
@@ -77,12 +77,12 @@ class HttpAuthHandler : public base::RefCounted<HttpAuthHandler> {
// single-round schemes.
virtual bool IsFinalRound() { return true; }
- // Returns whether the authentication scheme supports the use of default
- // credentials. If true, the user does not need to be prompted for
- // username and password to establish credentials.
+ // Returns whether the default credentials may be used for the |origin| passed
+ // into |InitFromChallenge|. If true, the user does not need to be prompted
+ // for username and password to establish credentials.
// NOTE: SSO is a potential security risk.
// TODO(cbentzel): Add a pointer to Firefox documentation about risk.
- virtual bool SupportsDefaultCredentials() { return false; }
+ virtual bool AllowsDefaultCredentials() { return false; }
// Returns whether the canonical DNS name for the origin host needs to be
// resolved. The Negotiate auth scheme typically uses the canonical DNS