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

Issue 4560001: Support specifying the GSSAPI library that will be used. (Closed)

Created:
10 years, 1 month ago by Jakob Kummerow (corp)
Modified:
9 years, 7 months ago
CC:
chromium-reviews, cbentzel+watch_chromium.org, ben+cc_chromium.org, brettw-cc_chromium.org, pam+watch_chromium.org, Paweł Hajdan Jr., darin-cc_chromium.org, amit
Visibility:
Public.

Description

Support specifying the GSSAPI library that will be used. This preference can be set either via command-line or via group policy. BUG=53625 TEST=unittests: ConfigurationPolicyPrefStore*; net_unittests: HttpAuthHandlerNegotiateTest.*:HttpAuthGSSAPIPOSIXTest.*; manually: start Chrome with command-line switch --gssapi-library-name=XYZ and see if this results in the Chrome process loading /usr/lib/whatever/XYZ as soon as an authenticated HTTP site is encountered. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=65939

Patch Set 1 #

Total comments: 2

Patch Set 2 : fix nit; don't fallback; rewrite parameter passing #

Total comments: 28

Patch Set 3 : address comments; port to ToT #

Total comments: 2

Patch Set 4 : fix library handling on Windows; port to ToT #

Total comments: 24

Patch Set 5 : fix nits and comments; port to ToT #

Patch Set 6 : (hopefully) fix compilation on windows #

Patch Set 7 : fix another compile error on Windows #

Unified diffs Side-by-side diffs Delta from patch set Stats (+173 lines, -115 lines) Patch
M chrome/app/policy/policy_templates.grd View 1 2 3 4 1 chunk +6 lines, -0 lines 0 comments Download
M chrome/app/policy/policy_templates.json View 1 2 1 chunk +10 lines, -0 lines 0 comments Download
M chrome/browser/io_thread.h View 2 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/io_thread.cc View 2 3 chunks +3 lines, -0 lines 0 comments Download
M chrome/browser/policy/configuration_policy_pref_store.cc View 1 2 3 2 chunks +5 lines, -0 lines 0 comments Download
M chrome/browser/policy/configuration_policy_pref_store_unittest.cc View 1 chunk +3 lines, -1 line 0 comments Download
M chrome/browser/policy/configuration_policy_store_interface.h View 1 2 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/prefs/command_line_pref_store.cc View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/common/chrome_switches.h View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download
M chrome/common/chrome_switches.cc View 1 2 3 4 5 6 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/common/policy_constants.h View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/common/policy_constants.cc View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/common/pref_names.h View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M chrome/common/pref_names.cc View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M chrome_frame/metrics_service.cc View 2 chunks +5 lines, -3 lines 0 comments Download
M net/http/http_auth_gssapi_posix.h View 1 2 3 4 2 chunks +4 lines, -4 lines 0 comments Download
M net/http/http_auth_gssapi_posix.cc View 1 2 3 4 4 chunks +20 lines, -13 lines 0 comments Download
M net/http/http_auth_gssapi_posix_unittest.cc View 2 1 chunk +9 lines, -3 lines 0 comments Download
M net/http/http_auth_handler_factory.h View 2 3 4 1 chunk +4 lines, -0 lines 0 comments Download
M net/http/http_auth_handler_factory.cc View 2 3 4 5 3 chunks +23 lines, -2 lines 0 comments Download
M net/http/http_auth_handler_negotiate.h View 2 3 4 2 chunks +4 lines, -8 lines 0 comments Download
M net/http/http_auth_handler_negotiate.cc View 2 3 4 5 4 chunks +4 lines, -6 lines 0 comments Download
M net/http/http_auth_handler_negotiate_unittest.cc View 2 3 4 3 chunks +5 lines, -4 lines 0 comments Download
M net/http/http_auth_handler_ntlm_win.cc View 1 chunk +1 line, -1 line 0 comments Download
M net/http/http_auth_sspi_win.h View 4 5 1 chunk +55 lines, -4 lines 0 comments Download
M net/http/http_auth_sspi_win.cc View 4 5 2 chunks +0 lines, -65 lines 0 comments Download

Messages

Total messages: 14 (0 generated)
Jakob Kummerow (corp)
Second part of my starter project: introduce a new preference for specifying the GSSAPI library ...
10 years, 1 month ago (2010-11-05 01:45:15 UTC) #1
cbentzel
Thanks for doing this Jakob! Two changes I'd like to see are: a) If the ...
10 years, 1 month ago (2010-11-05 11:38:17 UTC) #2
danno
LGTM with one nit (if you address Chris' feedback). http://codereview.chromium.org/4560001/diff/1/2 File chrome/app/policy/policy_templates.grd (right): http://codereview.chromium.org/4560001/diff/1/2#newcode409 chrome/app/policy/policy_templates.grd:409: ...
10 years, 1 month ago (2010-11-05 13:39:10 UTC) #3
Jakob Kummerow (corp)
On 2010/11/05 11:38:17, cbentzel wrote: > a) If the library is explicitly specified, do not ...
10 years, 1 month ago (2010-11-08 14:41:49 UTC) #4
cbentzel
Would it make life easier if I added the gssapi library handling and you take ...
10 years, 1 month ago (2010-11-08 18:44:06 UTC) #5
Jakob Kummerow (corp)
I addressed your comments. Please review again. > Would it make life easier if I ...
10 years, 1 month ago (2010-11-09 10:12:47 UTC) #6
cbentzel
http://codereview.chromium.org/4560001/diff/20001/21021 File net/http/http_auth_handler_negotiate.h (right): http://codereview.chromium.org/4560001/diff/20001/21021#newcode80 net/http/http_auth_handler_negotiate.h:80: auth_library_.reset(auth_library); This is still doing the wrong thing in ...
10 years, 1 month ago (2010-11-09 16:18:03 UTC) #7
Jakob Kummerow (corp)
I agree that the previous patch set would have segfaulted on Windows; sorry for not ...
10 years, 1 month ago (2010-11-10 10:50:19 UTC) #8
danno
Mostly comments about comments. :-) http://codereview.chromium.org/4560001/diff/26001/chrome/app/policy/policy_templates.grd File chrome/app/policy/policy_templates.grd (right): http://codereview.chromium.org/4560001/diff/26001/chrome/app/policy/policy_templates.grd#newcode412 chrome/app/policy/policy_templates.grd:412: Specifies which GSSAPI library ...
10 years, 1 month ago (2010-11-10 16:52:01 UTC) #9
Jakob Kummerow (corp)
I addressed danno's comments; will wait for cbentzel's comments before uploading a new patch set. ...
10 years, 1 month ago (2010-11-10 17:48:39 UTC) #10
cbentzel
LGTM, with some nits. Also, adding Will Chan for the IO thread changes (although these ...
10 years, 1 month ago (2010-11-11 03:37:51 UTC) #11
willchan no longer on Chromium
IOThread changes lgtm. On 2010/11/11 03:37:51, cbentzel wrote: > LGTM, with some nits. > > ...
10 years, 1 month ago (2010-11-11 03:43:37 UTC) #12
Jakob Kummerow (corp)
Nits fixed. Ready for landing! http://codereview.chromium.org/4560001/diff/26001/net/http/http_auth_gssapi_posix.cc File net/http/http_auth_gssapi_posix.cc (right): http://codereview.chromium.org/4560001/diff/26001/net/http/http_auth_gssapi_posix.cc#newcode426 net/http/http_auth_gssapi_posix.cc:426: const char** kLibraryNames; On ...
10 years, 1 month ago (2010-11-11 11:10:52 UTC) #13
danno
10 years, 1 month ago (2010-11-11 11:54:58 UTC) #14
LGTM. I've submitted try jobs and will commit if all green.

Powered by Google App Engine
This is Rietveld 408576698