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

Issue 2049103002: Fix SAML single-password scrapping authenticating with an empty password (Closed)

Created:
4 years, 6 months ago by afakhry
Modified:
4 years, 6 months ago
Reviewers:
xiyuan
CC:
chromium-reviews, dzhioev+watch_chromium.org, achuith+watch_chromium.org, arv+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Fix SAML single-password scrapping authenticating with an empty password Fix a JS syntax error that led to authentication with an empty password. Also, remove setting enterpriseInfo in <offline-gaia> as it doesn't have this property anymore. BUG=618279, 617962 TEST=manually with login/logout, lock/unlock. CQ_INCLUDE_TRYBOTS=tryserver.chromium.linux:closure_compilation Committed: https://crrev.com/ca6500c0f9f7dc2b8a8f865ca2ccf2df707b1449 Cr-Commit-Position: refs/heads/master@{#398624}

Patch Set 1 #

Total comments: 3

Patch Set 2 : extending the browser test. #

Total comments: 2

Patch Set 3 : Nit #

Unified diffs Side-by-side diffs Delta from patch set Stats (+17 lines, -2 lines) Patch
M chrome/browser/chromeos/login/saml/saml_browsertest.cc View 1 2 2 chunks +16 lines, -0 lines 0 comments Download
M chrome/browser/resources/gaia_auth_host/authenticator.js View 1 chunk +1 line, -1 line 0 comments Download
M ui/login/display_manager.js View 1 chunk +0 lines, -1 line 0 comments Download

Messages

Total messages: 14 (5 generated)
afakhry
Xiyuan, please review. Thanks.
4 years, 6 months ago (2016-06-08 15:35:56 UTC) #3
xiyuan
lgtm https://codereview.chromium.org/2049103002/diff/1/chrome/browser/resources/gaia_auth_host/authenticator.js File chrome/browser/resources/gaia_auth_host/authenticator.js (right): https://codereview.chromium.org/2049103002/diff/1/chrome/browser/resources/gaia_auth_host/authenticator.js#newcode665 chrome/browser/resources/gaia_auth_host/authenticator.js:665: this.password_ = this.samlHandler_.firstScrapedPassword; Oops. Missed this on review. ...
4 years, 6 months ago (2016-06-08 15:52:01 UTC) #4
xiyuan
https://codereview.chromium.org/2049103002/diff/1/chrome/browser/resources/gaia_auth_host/authenticator.js File chrome/browser/resources/gaia_auth_host/authenticator.js (right): https://codereview.chromium.org/2049103002/diff/1/chrome/browser/resources/gaia_auth_host/authenticator.js#newcode665 chrome/browser/resources/gaia_auth_host/authenticator.js:665: this.password_ = this.samlHandler_.firstScrapedPassword; On 2016/06/08 15:52:01, xiyuan wrote: > ...
4 years, 6 months ago (2016-06-08 15:53:16 UTC) #5
afakhry
https://codereview.chromium.org/2049103002/diff/1/chrome/browser/resources/gaia_auth_host/authenticator.js File chrome/browser/resources/gaia_auth_host/authenticator.js (right): https://codereview.chromium.org/2049103002/diff/1/chrome/browser/resources/gaia_auth_host/authenticator.js#newcode665 chrome/browser/resources/gaia_auth_host/authenticator.js:665: this.password_ = this.samlHandler_.firstScrapedPassword; On 2016/06/08 15:53:16, xiyuan wrote: > ...
4 years, 6 months ago (2016-06-08 16:34:28 UTC) #6
xiyuan
LGTM++ https://codereview.chromium.org/2049103002/diff/20001/chrome/browser/chromeos/login/saml/saml_browsertest.cc File chrome/browser/chromeos/login/saml/saml_browsertest.cc (right): https://codereview.chromium.org/2049103002/diff/20001/chrome/browser/chromeos/login/saml/saml_browsertest.cc#newcode520 chrome/browser/chromeos/login/saml/saml_browsertest.cc:520: ASSERT_EQ(message, "\"fake_password\""); nit: ASSERT_EQ not necessary since we ...
4 years, 6 months ago (2016-06-08 16:40:23 UTC) #7
afakhry
https://codereview.chromium.org/2049103002/diff/20001/chrome/browser/chromeos/login/saml/saml_browsertest.cc File chrome/browser/chromeos/login/saml/saml_browsertest.cc (right): https://codereview.chromium.org/2049103002/diff/20001/chrome/browser/chromeos/login/saml/saml_browsertest.cc#newcode520 chrome/browser/chromeos/login/saml/saml_browsertest.cc:520: ASSERT_EQ(message, "\"fake_password\""); On 2016/06/08 16:40:23, xiyuan wrote: > nit: ...
4 years, 6 months ago (2016-06-08 16:47:08 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2049103002/40001
4 years, 6 months ago (2016-06-08 16:47:47 UTC) #11
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 6 months ago (2016-06-08 18:25:24 UTC) #12
commit-bot: I haz the power
4 years, 6 months ago (2016-06-08 18:27:38 UTC) #14
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/ca6500c0f9f7dc2b8a8f865ca2ccf2df707b1449
Cr-Commit-Position: refs/heads/master@{#398624}

Powered by Google App Engine
This is Rietveld 408576698