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

Issue 2277553002: Adding a new authenticator which can be used to validate the remote user (Closed)

Created:
4 years, 4 months ago by joedow
Modified:
4 years, 3 months ago
Reviewers:
Sergey Ulanov, Jamie
CC:
chromium-reviews, chromoting-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@policy_change
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Adding a new authenticator which validates incoming connection details This change introduces a new authenticator class which handles two scenarios: - Connection policy validation (i.e. do the details of the connection match the current policies set on the machine) - Interactive connection validation (i.e. prompt the user to allow the connection to be established) The first scenario is typically synchronous but the second is async, therefore this validation mechanism must handle both. The new authenticator class wraps another, functional authenticator to provide a level of validation before allowing the wrapped authenticator to take over. BUG=617185 Committed: https://crrev.com/7dc48990ea0ea98b1afa35697676895307f9c615 Cr-Commit-Position: refs/heads/master@{#415715}

Patch Set 1 #

Patch Set 2 : Splitting the initial path into two CLs #

Patch Set 3 : fixing a ChromeOS build break #

Total comments: 20

Patch Set 4 : Addressing CR feedback #

Patch Set 5 : Addressing Feedback #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+547 lines, -3 lines) Patch
M remoting/protocol/BUILD.gn View 1 2 2 chunks +3 lines, -0 lines 0 comments Download
M remoting/protocol/authenticator.h View 1 chunk +1 line, -0 lines 0 comments Download
M remoting/protocol/jingle_session.cc View 1 chunk +2 lines, -0 lines 0 comments Download
M remoting/protocol/protocol_mock_objects.h View 3 chunks +32 lines, -2 lines 0 comments Download
M remoting/protocol/protocol_mock_objects.cc View 1 chunk +4 lines, -0 lines 0 comments Download
A remoting/protocol/validating_authenticator.h View 1 2 3 1 chunk +92 lines, -0 lines 0 comments Download
A remoting/protocol/validating_authenticator.cc View 1 2 3 4 1 chunk +141 lines, -0 lines 2 comments Download
A remoting/protocol/validating_authenticator_unittest.cc View 1 2 3 1 chunk +269 lines, -0 lines 0 comments Download
M remoting/remoting_srcs.gypi View 2 chunks +3 lines, -1 line 0 comments Download

Dependent Patchsets:

Messages

Total messages: 41 (30 generated)
joedow
PTAL! Usage of this new class and refactoring of It2Me and Me2Me factories will come ...
4 years, 3 months ago (2016-08-26 22:00:58 UTC) #21
Jamie
https://codereview.chromium.org/2277553002/diff/100001/remoting/protocol/validating_authenticator.cc File remoting/protocol/validating_authenticator.cc (right): https://codereview.chromium.org/2277553002/diff/100001/remoting/protocol/validating_authenticator.cc#newcode39 remoting/protocol/validating_authenticator.cc:39: Authenticator::State ValidatingAuthenticator::state() const { It seems we should be ...
4 years, 3 months ago (2016-08-26 23:12:08 UTC) #22
joedow
PTAL! https://codereview.chromium.org/2277553002/diff/100001/remoting/protocol/validating_authenticator.cc File remoting/protocol/validating_authenticator.cc (right): https://codereview.chromium.org/2277553002/diff/100001/remoting/protocol/validating_authenticator.cc#newcode39 remoting/protocol/validating_authenticator.cc:39: Authenticator::State ValidatingAuthenticator::state() const { On 2016/08/26 23:12:08, Jamie ...
4 years, 3 months ago (2016-08-29 23:43:22 UTC) #26
joedow
Ping!
4 years, 3 months ago (2016-08-30 21:11:50 UTC) #30
Jamie
LGTM unless either of my outstanding comments leads to significant changes. https://codereview.chromium.org/2277553002/diff/100001/remoting/protocol/validating_authenticator.cc File remoting/protocol/validating_authenticator.cc (right): ...
4 years, 3 months ago (2016-08-31 00:28:34 UTC) #31
joedow
Thanks! https://codereview.chromium.org/2277553002/diff/100001/remoting/protocol/validating_authenticator.cc File remoting/protocol/validating_authenticator.cc (right): https://codereview.chromium.org/2277553002/diff/100001/remoting/protocol/validating_authenticator.cc#newcode39 remoting/protocol/validating_authenticator.cc:39: Authenticator::State ValidatingAuthenticator::state() const { On 2016/08/31 00:28:34, Jamie ...
4 years, 3 months ago (2016-08-31 17:42:30 UTC) #32
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2277553002/130001
4 years, 3 months ago (2016-08-31 17:43:17 UTC) #35
commit-bot: I haz the power
Committed patchset #5 (id:130001)
4 years, 3 months ago (2016-08-31 19:13:54 UTC) #36
commit-bot: I haz the power
Patchset 5 (id:??) landed as https://crrev.com/7dc48990ea0ea98b1afa35697676895307f9c615 Cr-Commit-Position: refs/heads/master@{#415715}
4 years, 3 months ago (2016-08-31 19:16:52 UTC) #38
Sergey Ulanov
couple drive-by comments https://codereview.chromium.org/2277553002/diff/130001/remoting/protocol/validating_authenticator.cc File remoting/protocol/validating_authenticator.cc (right): https://codereview.chromium.org/2277553002/diff/130001/remoting/protocol/validating_authenticator.cc#newcode118 remoting/protocol/validating_authenticator.cc:118: default: It's best to avoid default ...
4 years, 3 months ago (2016-08-31 23:41:24 UTC) #40
joedow
4 years, 3 months ago (2016-09-02 22:13:18 UTC) #41
Message was sent while issue was closed.
Good comments, I will address in a follow-up CL.

Powered by Google App Engine
This is Rietveld 408576698