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

Issue 1954453002: Skip the SAML confirm password screen when a single password is scraped (Closed)

Created:
4 years, 7 months ago by afakhry
Modified:
4 years, 7 months ago
Reviewers:
xiyuan
CC:
chromium-reviews, dzhioev+watch_chromium.org, achuith+watch_chromium.org, oshima+watch_chromium.org, davemoore+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

Skip the SAML confirm password screen when a single password is scraped When the SAML handler scrapes exactly a single password, we verify it and complete the authentication and login. This shaves off one extra password the user has to type. BUG=604309 TEST=browser_tests --gtest_filter=(SamlTest|SAMLEnrollmentTest|SAMLPolicyTest).* CQ_INCLUDE_TRYBOTS=tryserver.chromium.linux:closure_compilation Committed: https://crrev.com/f20568fcd6d73c9468b359f2ccd043c257e3c53b Cr-Commit-Position: refs/heads/master@{#391646}

Patch Set 1 #

Patch Set 2 : Fix indentation #

Total comments: 2

Patch Set 3 : xiyuan's comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+36 lines, -36 lines) Patch
M chrome/browser/chromeos/login/saml/saml_browsertest.cc View 7 chunks +19 lines, -36 lines 0 comments Download
M chrome/browser/resources/gaia_auth_host/authenticator.js View 1 2 1 chunk +8 lines, -0 lines 0 comments Download
M chrome/browser/resources/gaia_auth_host/saml_handler.js View 1 2 1 chunk +9 lines, -0 lines 0 comments Download

Messages

Total messages: 11 (4 generated)
afakhry
Xiyuan, could you please take a look? Thanks!
4 years, 7 months ago (2016-05-04 18:56:59 UTC) #3
xiyuan
https://codereview.chromium.org/1954453002/diff/20001/chrome/browser/resources/gaia_auth_host/authenticator.js File chrome/browser/resources/gaia_auth_host/authenticator.js (right): https://codereview.chromium.org/1954453002/diff/20001/chrome/browser/resources/gaia_auth_host/authenticator.js#newcode657 chrome/browser/resources/gaia_auth_host/authenticator.js:657: this.verifyConfirmedPassword(passwords[0]); getConsolidatedScrapedPasswords_ is private and we should not call ...
4 years, 7 months ago (2016-05-04 19:35:04 UTC) #4
afakhry
https://codereview.chromium.org/1954453002/diff/20001/chrome/browser/resources/gaia_auth_host/authenticator.js File chrome/browser/resources/gaia_auth_host/authenticator.js (right): https://codereview.chromium.org/1954453002/diff/20001/chrome/browser/resources/gaia_auth_host/authenticator.js#newcode657 chrome/browser/resources/gaia_auth_host/authenticator.js:657: this.verifyConfirmedPassword(passwords[0]); On 2016/05/04 19:35:04, xiyuan wrote: > getConsolidatedScrapedPasswords_ is ...
4 years, 7 months ago (2016-05-04 20:16:15 UTC) #5
xiyuan
lgtm Thank you for taking care of this.
4 years, 7 months ago (2016-05-04 20:24:36 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1954453002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1954453002/40001
4 years, 7 months ago (2016-05-04 20:41:41 UTC) #8
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 7 months ago (2016-05-04 21:26:40 UTC) #9
commit-bot: I haz the power
4 years, 7 months ago (2016-05-04 21:27:47 UTC) #11
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/f20568fcd6d73c9468b359f2ccd043c257e3c53b
Cr-Commit-Position: refs/heads/master@{#391646}

Powered by Google App Engine
This is Rietveld 408576698