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

Issue 1431473004: Add Kerberos support to webview (Closed)

Created:
5 years, 1 month ago by dgn
Modified:
5 years ago
CC:
chromium-reviews, cbentzel+watch_chromium.org, android-webview-reviews_chromium.org, aberent
Base URL:
https://chromium.googlesource.com/chromium/src.git@ActivitylessNegoAuth
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add Kerberos support to webview Add negotiate handler to WebView's http auth handlers and adds support for the policies (AuthAndroidNegotiateAccountType and AuthServerWhitelist) required to configure Kerberos in WebView BUG=533513 Committed: https://crrev.com/4779a19456ede067cb623eb117570e9bf5780239 Cr-Commit-Position: refs/heads/master@{#361878}

Patch Set 1 #

Total comments: 1

Patch Set 2 : Added permission checks #

Patch Set 3 : Rebase #

Total comments: 6

Patch Set 4 : Address review comments #

Total comments: 28

Patch Set 5 : rebase, address some review comments #

Patch Set 6 : Fix HttpAuthHandlerNegotiate factory creation #

Patch Set 7 : Fix some formatting and imports #

Patch Set 8 : Document the new supported policies #

Unified diffs Side-by-side diffs Delta from patch set Stats (+131 lines, -26 lines) Patch
M android_webview/browser/aw_browser_context.h View 1 2 3 4 1 chunk +8 lines, -0 lines 0 comments Download
M android_webview/browser/aw_browser_context.cc View 1 2 3 4 5 chunks +24 lines, -6 lines 0 comments Download
M android_webview/browser/aw_browser_policy_connector.cc View 1 2 3 4 3 chunks +14 lines, -4 lines 0 comments Download
M android_webview/browser/net/aw_url_request_context_getter.h View 1 2 3 4 5 6 4 chunks +20 lines, -1 line 0 comments Download
M android_webview/browser/net/aw_url_request_context_getter.cc View 1 2 3 4 5 6 6 chunks +52 lines, -10 lines 0 comments Download
M android_webview/java/src/org/chromium/android_webview/AwBrowserContext.java View 2 chunks +0 lines, -3 lines 0 comments Download
M android_webview/java/src/org/chromium/android_webview/AwBrowserProcess.java View 1 2 3 4 3 chunks +7 lines, -0 lines 0 comments Download
M android_webview/test/shell/AndroidManifest.xml View 1 chunk +4 lines, -0 lines 0 comments Download
M components/policy/resources/policy_templates.json View 1 2 3 4 5 6 7 2 chunks +2 lines, -2 lines 0 comments Download

Depends on Patchset:

Messages

Total messages: 28 (8 generated)
dgn
PTAL. A couple of CLs still need to land before this one, but it should ...
5 years, 1 month ago (2015-10-30 17:21:12 UTC) #2
dgn
PTAL
5 years, 1 month ago (2015-11-10 17:44:51 UTC) #4
Bernhard Bauer
LGTM w/ nits: https://codereview.chromium.org/1431473004/diff/40001/android_webview/browser/aw_browser_policy_connector.cc File android_webview/browser/aw_browser_policy_connector.cc (right): https://codereview.chromium.org/1431473004/diff/40001/android_webview/browser/aw_browser_policy_connector.cc#newcode45 android_webview/browser/aw_browser_policy_connector.cc:45: // Negotiate authenticaton Nit: "authentication". Also, ...
5 years, 1 month ago (2015-11-10 17:51:29 UTC) #5
dgn
https://codereview.chromium.org/1431473004/diff/40001/android_webview/browser/aw_browser_policy_connector.cc File android_webview/browser/aw_browser_policy_connector.cc (right): https://codereview.chromium.org/1431473004/diff/40001/android_webview/browser/aw_browser_policy_connector.cc#newcode45 android_webview/browser/aw_browser_policy_connector.cc:45: // Negotiate authenticaton On 2015/11/10 17:51:28, Bernhard Bauer wrote: ...
5 years, 1 month ago (2015-11-11 12:26:36 UTC) #6
sgurun-gerrit only
On 2015/11/11 12:26:36, dgn wrote: > https://codereview.chromium.org/1431473004/diff/40001/android_webview/browser/aw_browser_policy_connector.cc > File android_webview/browser/aw_browser_policy_connector.cc (right): > > https://codereview.chromium.org/1431473004/diff/40001/android_webview/browser/aw_browser_policy_connector.cc#newcode45 > ...
5 years, 1 month ago (2015-11-12 07:27:52 UTC) #7
dgn
After discussing with aberent@ about his cl that enables dynamically updating auth policies (https://codereview.chromium.org/1414313002/), it ...
5 years, 1 month ago (2015-11-12 13:06:46 UTC) #9
sgurun-gerrit only
https://codereview.chromium.org/1431473004/diff/60001/android_webview/browser/aw_browser_context.cc File android_webview/browser/aw_browser_context.cc (right): https://codereview.chromium.org/1431473004/diff/60001/android_webview/browser/aw_browser_context.cc#newcode186 android_webview/browser/aw_browser_context.cc:186: browser_policy_connector_.reset(new AwBrowserPolicyConnector()); I see why InitUserPrefService had to move ...
5 years, 1 month ago (2015-11-13 08:43:51 UTC) #10
dgn
https://codereview.chromium.org/1431473004/diff/60001/android_webview/browser/aw_browser_context.cc File android_webview/browser/aw_browser_context.cc (right): https://codereview.chromium.org/1431473004/diff/60001/android_webview/browser/aw_browser_context.cc#newcode186 android_webview/browser/aw_browser_context.cc:186: browser_policy_connector_.reset(new AwBrowserPolicyConnector()); On 2015/11/13 08:43:51, sgurun wrote: > I ...
5 years, 1 month ago (2015-11-13 12:37:08 UTC) #11
sgurun-gerrit only
https://codereview.chromium.org/1431473004/diff/60001/android_webview/browser/aw_browser_context.cc File android_webview/browser/aw_browser_context.cc (right): https://codereview.chromium.org/1431473004/diff/60001/android_webview/browser/aw_browser_context.cc#newcode186 android_webview/browser/aw_browser_context.cc:186: browser_policy_connector_.reset(new AwBrowserPolicyConnector()); On 2015/11/13 12:37:07, dgn wrote: > On ...
5 years, 1 month ago (2015-11-18 02:23:28 UTC) #12
sgurun-gerrit only
On 2015/11/18 02:23:28, sgurun wrote: > https://codereview.chromium.org/1431473004/diff/60001/android_webview/browser/aw_browser_context.cc > File android_webview/browser/aw_browser_context.cc (right): > > https://codereview.chromium.org/1431473004/diff/60001/android_webview/browser/aw_browser_context.cc#newcode186 > ...
5 years, 1 month ago (2015-11-18 17:37:53 UTC) #13
Bernhard Bauer
On 2015/11/18 17:37:53, sgurun wrote: > On 2015/11/18 02:23:28, sgurun wrote: > > > https://codereview.chromium.org/1431473004/diff/60001/android_webview/browser/aw_browser_context.cc ...
5 years, 1 month ago (2015-11-18 17:56:06 UTC) #14
dgn
https://codereview.chromium.org/1431473004/diff/60001/android_webview/browser/net/aw_url_request_context_getter.cc File android_webview/browser/net/aw_url_request_context_getter.cc (right): https://codereview.chromium.org/1431473004/diff/60001/android_webview/browser/net/aw_url_request_context_getter.cc#newcode212 android_webview/browser/net/aw_url_request_context_getter.cc:212: CreateCmdLineConfiguredHostResolver()); On 2015/11/13 08:43:51, sgurun wrote: > move creation ...
5 years ago (2015-11-25 00:27:15 UTC) #15
dgn
PTAL https://codereview.chromium.org/1431473004/diff/60001/android_webview/browser/net/aw_url_request_context_getter.h File android_webview/browser/net/aw_url_request_context_getter.h (right): https://codereview.chromium.org/1431473004/diff/60001/android_webview/browser/net/aw_url_request_context_getter.h#newcode74 android_webview/browser/net/aw_url_request_context_getter.h:74: scoped_ptr<net::HttpAuthHandlerNegotiate::Factory> On 2015/11/25 00:27:15, dgn wrote: > On ...
5 years ago (2015-11-25 19:01:08 UTC) #16
sgurun-gerrit only
On 2015/11/25 19:01:08, dgn wrote: > PTAL > > https://codereview.chromium.org/1431473004/diff/60001/android_webview/browser/net/aw_url_request_context_getter.h > File android_webview/browser/net/aw_url_request_context_getter.h (right): > ...
5 years ago (2015-11-26 01:08:28 UTC) #17
dgn
atwilson@chromium.org: Please review changes in components/policy/resources/policy_templates.json Testing policy: mostly manual. There are existing tests for ...
5 years ago (2015-11-26 10:50:59 UTC) #19
Andrew T Wilson (Slow)
policy_templates.json lgtm
5 years ago (2015-11-26 12:57:16 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1431473004/140001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1431473004/140001
5 years ago (2015-11-26 13:22:30 UTC) #23
dgn
Thanks!
5 years ago (2015-11-26 13:22:57 UTC) #24
commit-bot: I haz the power
Committed patchset #8 (id:140001)
5 years ago (2015-11-26 13:27:14 UTC) #26
commit-bot: I haz the power
5 years ago (2015-11-26 13:28:01 UTC) #28
Message was sent while issue was closed.
Patchset 8 (id:??) landed as
https://crrev.com/4779a19456ede067cb623eb117570e9bf5780239
Cr-Commit-Position: refs/heads/master@{#361878}

Powered by Google App Engine
This is Rietveld 408576698