diff options
author | wtc@chromium.org <wtc@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-09-05 00:43:32 +0000 |
---|---|---|
committer | wtc@chromium.org <wtc@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-09-05 00:43:32 +0000 |
commit | ea9dc9a73e96c97a586c97af2e7a54b851bb1245 (patch) | |
tree | 8bcddd03baf76607dc69413bdcb8be127e9db2e9 /net/net.gyp | |
parent | 3f9a579bfea1c987e9685a9ee59abf03660223af (diff) | |
download | chromium_src-ea9dc9a73e96c97a586c97af2e7a54b851bb1245.zip chromium_src-ea9dc9a73e96c97a586c97af2e7a54b851bb1245.tar.gz chromium_src-ea9dc9a73e96c97a586c97af2e7a54b851bb1245.tar.bz2 |
[Second attempt of r25461]
Use SSPI for NTLM authentication on Windows.
Add an explicit embedded_identity_used_ boolean member to
make sure we use the username/password in the URL only once
for the transaction. This allows us to reset
auth_identity_[target].source to HttpAuth::IDENT_SRC_NONE
after auth failed.
Initial patch by Arindam.
Original review URL: http://codereview.chromium.org/159656
R=arindam,eroman
BUG=19,18009,20560
TEST=1. Open a webpage that requests NTLM authentication
on Windows. 2. New unit test for wrong auth identity in
URL.
Review URL: http://codereview.chromium.org/193022
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@25564 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/net.gyp')
-rw-r--r-- | net/net.gyp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/net/net.gyp b/net/net.gyp index 532c351..e8c3a063 100644 --- a/net/net.gyp +++ b/net/net.gyp @@ -221,6 +221,8 @@ 'http/http_auth_handler_digest.h', 'http/http_auth_handler_ntlm.cc', 'http/http_auth_handler_ntlm.h', + 'http/http_auth_handler_ntlm_portable.cc', + 'http/http_auth_handler_ntlm_win.cc', 'http/http_basic_stream.h', 'http/http_byte_range.cc', 'http/http_byte_range.h', @@ -379,6 +381,7 @@ [ 'OS == "win"', { 'sources/': [ ['exclude', '_(mac|linux|posix)\\.cc$'] ], 'sources!': [ + 'http/http_auth_handler_ntlm_portable.cc', 'socket/tcp_client_socket_libevent.cc', ], 'dependencies': [ |