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

Side by Side Diff: net\http\http_auth_handler_ntlm_win.cc

Issue 193022: Use SSPI for NTLM authentication on Windows. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Upload before checkin Created 11 years, 3 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « net\http\http_auth_handler_ntlm_portable.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // See "SSPI Sample Application" at 5 // See "SSPI Sample Application" at
6 // http://msdn.microsoft.com/en-us/library/aa918273.aspx 6 // http://msdn.microsoft.com/en-us/library/aa918273.aspx
7 // and "NTLM Security Support Provider" at 7 // and "NTLM Security Support Provider" at
8 // http://msdn.microsoft.com/en-us/library/aa923611.aspx. 8 // http://msdn.microsoft.com/en-us/library/aa923611.aspx.
9 9
10 #include "net/http/http_auth_handler_ntlm.h" 10 #include "net/http/http_auth_handler_ntlm.h"
(...skipping 168 matching lines...) Expand 10 before | Expand all | Expand 10 after
179 179
180 void HttpAuthHandlerNTLM::ResetSecurityContext() { 180 void HttpAuthHandlerNTLM::ResetSecurityContext() {
181 if (SecIsValidHandle(&ctxt_)) { 181 if (SecIsValidHandle(&ctxt_)) {
182 DeleteSecurityContext(&ctxt_); 182 DeleteSecurityContext(&ctxt_);
183 SecInvalidateHandle(&ctxt_); 183 SecInvalidateHandle(&ctxt_);
184 } 184 }
185 } 185 }
186 186
187 } // namespace net 187 } // namespace net
188 188
OLDNEW
« no previous file with comments | « net\http\http_auth_handler_ntlm_portable.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698