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

Issue 1004753004: cros: Port SAML support to webview sign-in. (Closed)

Created:
5 years, 9 months ago by xiyuan
Modified:
5 years, 9 months ago
CC:
chromium-reviews, dzhioev+watch_chromium.org, stevenjb+watch_chromium.org, arv+watch_chromium.org, oshima+watch_chromium.org, nkostylev+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

cros: Port SAML support to webview sign-in. - Extends Channel to PostMessageChannel to switch saml_injected.js to use postMessage instead of extension messaging API when used with the new Authenticator; - Port Saml logic in main.js and background.js into saml_handler.js to be used with the new Authenticator; - Hook up confirm/verify password flow etc with new Authenticator; BUG=461505 Committed: https://crrev.com/f9ddee6a010e752f933ff352ec29d13c5a459f52 Cr-Commit-Position: refs/heads/master@{#321424}

Patch Set 1 #

Patch Set 2 : fix typo on api code path #

Total comments: 4

Patch Set 3 : enable SamlTest.* for webview, fix issues found in tests etc #

Patch Set 4 : use String.raw instead of loadTimeData to pass injectedJS #

Patch Set 5 : rebase #

Patch Set 6 : handle loadabort to fix test #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1149 lines, -69 lines) Patch
M chrome/browser/chromeos/login/saml/saml_browsertest.cc View 1 2 34 chunks +127 lines, -48 lines 0 comments Download
M chrome/browser/resources/gaia_auth/channel.js View 1 chunk +8 lines, -0 lines 0 comments Download
M chrome/browser/resources/gaia_auth/saml_injected.js View 1 2 2 chunks +4 lines, -4 lines 0 comments Download
M chrome/browser/resources/gaia_auth_host/authenticator.js View 1 2 3 4 16 chunks +139 lines, -16 lines 0 comments Download
A chrome/browser/resources/gaia_auth_host/post_message_channel.js View 1 chunk +372 lines, -0 lines 0 comments Download
A chrome/browser/resources/gaia_auth_host/saml_handler.js View 1 2 3 4 5 1 chunk +454 lines, -0 lines 0 comments Download
A chrome/browser/resources/gaia_auth_host/webview_saml_injected.js View 1 chunk +22 lines, -0 lines 0 comments Download
M google_apis/gaia/fake_gaia.h View 1 2 3 chunks +8 lines, -0 lines 0 comments Download
M google_apis/gaia/fake_gaia.cc View 1 2 4 chunks +15 lines, -1 line 0 comments Download

Messages

Total messages: 20 (4 generated)
xiyuan
Initial pass with manually tested. I'll check out how to leverage SamlTest.* to cover webview ...
5 years, 9 months ago (2015-03-12 23:45:05 UTC) #2
bartfab (slow)
On 2015/03/12 23:45:05, xiyuan wrote: > Initial pass with manually tested. > > I'll check ...
5 years, 9 months ago (2015-03-13 09:09:48 UTC) #3
Dmitry Polukhin
LGTM but I'm not familiar with SAML so payed I mostly reviewed change in login ...
5 years, 9 months ago (2015-03-13 11:56:20 UTC) #4
xiyuan
On 2015/03/13 09:09:48, bartfab wrote: > On 2015/03/12 23:45:05, xiyuan wrote: > > Initial pass ...
5 years, 9 months ago (2015-03-13 16:06:43 UTC) #5
dzhioev (left Google)
Hello Xiyuan, > BTW, what about the enrollment? Do we need to change that to ...
5 years, 9 months ago (2015-03-17 16:44:56 UTC) #6
dzhioev (left Google)
I meant "chrome://oobe" of course.
5 years, 9 months ago (2015-03-17 16:45:27 UTC) #7
Dmitry Polukhin
https://codereview.chromium.org/1004753004/diff/20001/chrome/browser/ui/webui/chromeos/login/gaia_screen_handler.cc File chrome/browser/ui/webui/chromeos/login/gaia_screen_handler.cc (right): https://codereview.chromium.org/1004753004/diff/20001/chrome/browser/ui/webui/chromeos/login/gaia_screen_handler.cc#newcode61 chrome/browser/ui/webui/chromeos/login/gaia_screen_handler.cc:61: const char kGaiaSandboxUrlSwitch[] = "gaia-sandbox-url"; On 2015/03/13 11:56:20, Dmitry ...
5 years, 9 months ago (2015-03-17 17:51:43 UTC) #8
xiyuan
On 2015/03/17 16:44:56, dzhioev wrote: > Hello Xiyuan, > > > BTW, what about the ...
5 years, 9 months ago (2015-03-17 18:14:34 UTC) #9
dzhioev_at_google
On 2015/03/17 18:14:34, xiyuan wrote: > On 2015/03/17 16:44:56, dzhioev wrote: > > Hello Xiyuan, ...
5 years, 9 months ago (2015-03-17 21:24:45 UTC) #10
xiyuan
On 2015/03/17 21:24:45, dzhioev_at_google wrote: > On 2015/03/17 18:14:34, xiyuan wrote: > > On 2015/03/17 ...
5 years, 9 months ago (2015-03-17 21:38:45 UTC) #11
xiyuan
Enabled most of SamlTest.* to cover webview based SAML. I had to disable CredentialPassingAPI for ...
5 years, 9 months ago (2015-03-17 22:00:15 UTC) #12
xiyuan
+rogerta for fake_gaia.h/cc
5 years, 9 months ago (2015-03-18 22:52:17 UTC) #14
Roger Tawa OOO till Jul 10th
lgtm
5 years, 9 months ago (2015-03-19 20:29:40 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1004753004/100001
5 years, 9 months ago (2015-03-19 20:31:43 UTC) #18
commit-bot: I haz the power
Committed patchset #6 (id:100001)
5 years, 9 months ago (2015-03-19 20:36:11 UTC) #19
commit-bot: I haz the power
5 years, 9 months ago (2015-03-19 20:37:06 UTC) #20
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/f9ddee6a010e752f933ff352ec29d13c5a459f52
Cr-Commit-Position: refs/heads/master@{#321424}

Powered by Google App Engine
This is Rietveld 408576698