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

Side by Side Diff: net/http/http_auth_handler_negotiate_posix.cc

Issue 1535019: Kerberos SPN generation for Negotiate challenges (Closed)
Patch Set: Fix to GetCanonicalName that is another CL. Created 10 years, 8 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
« no previous file with comments | « net/http/http_auth_handler_negotiate.h ('k') | net/http/http_auth_handler_negotiate_win.cc » ('j') | 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) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 #include "net/http/http_auth_handler_negotiate.h" 5 #include "net/http/http_auth_handler_negotiate.h"
6 6
7 #include "base/logging.h" 7 #include "base/logging.h"
8 #include "net/base/net_errors.h" 8 #include "net/base/net_errors.h"
9 9
10 namespace net { 10 namespace net {
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
54 54
55 int HttpAuthHandlerNegotiate::GenerateDefaultAuthToken( 55 int HttpAuthHandlerNegotiate::GenerateDefaultAuthToken(
56 const HttpRequestInfo* request, 56 const HttpRequestInfo* request,
57 const ProxyInfo* proxy, 57 const ProxyInfo* proxy,
58 std::string* auth_token) { 58 std::string* auth_token) {
59 NOTREACHED(); 59 NOTREACHED();
60 LOG(ERROR) << ErrorToString(ERR_NOT_IMPLEMENTED); 60 LOG(ERROR) << ErrorToString(ERR_NOT_IMPLEMENTED);
61 return ERR_NOT_IMPLEMENTED; 61 return ERR_NOT_IMPLEMENTED;
62 } 62 }
63 63
64 HttpAuthHandlerNegotiate::Factory::Factory() { 64 bool HttpAuthHandlerNegotiate::NeedsCanonicalName() {
65 return false;
66 }
67
68 int HttpAuthHandlerNegotiate::ResolveCanonicalName(HostResolver* host_resolver,
69 CompletionCallback* callback,
70 const BoundNetLog& net_log) {
71 NOTREACHED();
72 LOG(ERROR) << ErrorToString(ERR_NOT_IMPLEMENTED);
73 return ERR_NOT_IMPLEMENTED;
74 }
75
76 HttpAuthHandlerNegotiate::Factory::Factory()
77 : disable_cname_lookup_(false), use_port_(false) {
65 } 78 }
66 79
67 HttpAuthHandlerNegotiate::Factory::~Factory() { 80 HttpAuthHandlerNegotiate::Factory::~Factory() {
68 } 81 }
69 82
70 int HttpAuthHandlerNegotiate::Factory::CreateAuthHandler( 83 int HttpAuthHandlerNegotiate::Factory::CreateAuthHandler(
71 HttpAuth::ChallengeTokenizer* challenge, 84 HttpAuth::ChallengeTokenizer* challenge,
72 HttpAuth::Target target, 85 HttpAuth::Target target,
73 const GURL& origin, 86 const GURL& origin,
74 scoped_refptr<HttpAuthHandler>* handler) { 87 scoped_refptr<HttpAuthHandler>* handler) {
75 return ERR_UNSUPPORTED_AUTH_SCHEME; 88 return ERR_UNSUPPORTED_AUTH_SCHEME;
76 } 89 }
77 90
78 } // namespace net 91 } // namespace net
OLDNEW
« no previous file with comments | « net/http/http_auth_handler_negotiate.h ('k') | net/http/http_auth_handler_negotiate_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698