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

Issue 7748033: Don't try to use explicit credentials with schemes that don't support it. (Closed)

Created:
9 years, 4 months ago by asanka
Modified:
9 years, 3 months ago
CC:
chromium-reviews, cbentzel+watch_chromium.org, darin-cc_chromium.org
Visibility:
Public.

Description

Don't try to use explicit credentials with schemes that don't support it. BUG=94617 TEST=net_unittests --gtest_filter=HttpAuthControllerTest.NoExplicitCredentialsAllowed. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=98965

Patch Set 1 #

Patch Set 2 : Unit test #

Patch Set 3 : Comments #

Patch Set 4 : Rebase and cleanup #

Total comments: 4

Patch Set 5 : Unit test #

Unified diffs Side-by-side diffs Delta from patch set Stats (+249 lines, -57 lines) Patch
M net/http/http_auth_controller.h View 1 chunk +1 line, -0 lines 0 comments Download
M net/http/http_auth_controller.cc View 1 2 3 4 2 chunks +59 lines, -41 lines 0 comments Download
M net/http/http_auth_controller_unittest.cc View 1 2 3 4 5 chunks +130 lines, -7 lines 0 comments Download
M net/http/http_auth_gssapi_posix.h View 1 chunk +2 lines, -0 lines 0 comments Download
M net/http/http_auth_gssapi_posix.cc View 1 chunk +4 lines, -0 lines 0 comments Download
M net/http/http_auth_handler.h View 1 2 3 1 chunk +5 lines, -0 lines 0 comments Download
M net/http/http_auth_handler.cc View 1 2 3 2 chunks +5 lines, -1 line 0 comments Download
M net/http/http_auth_handler_mock.h View 1 2 chunks +14 lines, -2 lines 0 comments Download
M net/http/http_auth_handler_mock.cc View 1 2 3 3 chunks +14 lines, -2 lines 0 comments Download
M net/http/http_auth_handler_negotiate.h View 1 chunk +4 lines, -3 lines 0 comments Download
M net/http/http_auth_handler_negotiate.cc View 1 chunk +4 lines, -0 lines 0 comments Download
M net/http/http_auth_sspi_win.h View 1 chunk +2 lines, -0 lines 0 comments Download
M net/http/http_auth_sspi_win.cc View 1 2 3 2 chunks +5 lines, -1 line 0 comments Download

Messages

Total messages: 6 (0 generated)
asanka
This is so that we don't spuriously prompt for credentials and keep attempting to authenticate ...
9 years, 3 months ago (2011-08-29 19:55:07 UTC) #1
cbentzel
LGTM The do/while is a tad gross compared to your suggestion about iterating through a ...
9 years, 3 months ago (2011-08-30 14:16:51 UTC) #2
cbentzel
http://codereview.chromium.org/7748033/diff/7001/net/http/http_auth_controller.cc File net/http/http_auth_controller.cc (right): http://codereview.chromium.org/7748033/diff/7001/net/http/http_auth_controller.cc#newcode364 net/http/http_auth_controller.cc:364: // choose a different auth scheme. May want to ...
9 years, 3 months ago (2011-08-30 14:19:38 UTC) #3
asanka
I agree that the loop is gross. :( http://codereview.chromium.org/7748033/diff/7001/net/http/http_auth_controller.cc File net/http/http_auth_controller.cc (right): http://codereview.chromium.org/7748033/diff/7001/net/http/http_auth_controller.cc#newcode364 net/http/http_auth_controller.cc:364: // ...
9 years, 3 months ago (2011-08-30 18:55:44 UTC) #4
cbentzel
LGTM
9 years, 3 months ago (2011-08-31 10:45:29 UTC) #5
commit-bot: I haz the power
9 years, 3 months ago (2011-08-31 14:07:21 UTC) #6
Change committed as 98965

Powered by Google App Engine
This is Rietveld 408576698