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

Issue 12475020: Client plugin changes to support third party authentication. (Closed)

Created:
7 years, 9 months ago by rmsousa
Modified:
7 years, 8 months ago
Reviewers:
Sergey Ulanov
CC:
chromium-reviews, jamiewalch+watch_chromium.org, dcaiafa+watch_chromium.org, simonmorris+watch_chromium.org, hclam+watch_chromium.org, wez+watch_chromium.org, amit, sanjeevr, garykac+watch_chromium.org, lambroslambrou+watch_chromium.org, rmsousa+watch_chromium.org, alexeypa+watch_chromium.org, sergeyu+watch_chromium.org
Base URL:
http://git.chromium.org/chromium/src.git@master
Visibility:
Public.

Description

Client plugin changes to support third party authentication. This creates a TokenFetcher implementation that on the client that uses the webapp to direct the user to fetch a token and secret from the given token URL. If the URL requires interactive authentication, the webapp will open a tab/window for the user to authenticate. Once the webapp has a token and shared secret, it uses the callback to send it back to the authentication layer. This also glues the third party authentication method to the NegotiatingAuthenticator. BUG=115899 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=192705

Patch Set 1 #

Patch Set 2 : Add missing files, includes #

Total comments: 25

Patch Set 3 : Reviewer comments #

Total comments: 8

Patch Set 4 : Reviewer comments #

Patch Set 5 : extraneous override #

Unified diffs Side-by-side diffs Delta from patch set Stats (+189 lines, -17 lines) Patch
M remoting/client/chromoting_client.cc View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M remoting/client/client_config.h View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M remoting/client/client_user_interface.h View 1 2 2 chunks +6 lines, -0 lines 0 comments Download
M remoting/client/plugin/chromoting_instance.h View 1 2 6 chunks +15 lines, -0 lines 0 comments Download
M remoting/client/plugin/chromoting_instance.cc View 1 2 3 7 chunks +47 lines, -3 lines 0 comments Download
A remoting/client/plugin/pepper_token_fetcher.h View 1 2 3 4 1 chunk +44 lines, -0 lines 0 comments Download
A remoting/client/plugin/pepper_token_fetcher.cc View 1 1 chunk +40 lines, -0 lines 0 comments Download
M remoting/protocol/negotiating_authenticator_unittest.cc View 1 2 1 chunk +2 lines, -1 line 0 comments Download
M remoting/protocol/negotiating_client_authenticator.h View 1 2 3 chunks +10 lines, -0 lines 0 comments Download
M remoting/protocol/negotiating_client_authenticator.cc View 1 2 2 chunks +16 lines, -3 lines 0 comments Download
M remoting/protocol/third_party_authenticator_unittest.cc View 1 2 2 chunks +1 line, -3 lines 0 comments Download
M remoting/protocol/third_party_client_authenticator.h View 1 2 3 chunks +3 lines, -4 lines 0 comments Download
M remoting/protocol/third_party_client_authenticator.cc View 2 chunks +1 line, -3 lines 0 comments Download
M remoting/remoting.gyp View 1 2 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 10 (0 generated)
rmsousa
I split the webapp changes from the client plugin changes. The corresponding webapp changes are ...
7 years, 9 months ago (2013-03-27 23:44:37 UTC) #1
Sergey Ulanov
Looks mostly good, but I think you don't need TokenFetcherFactory interface. https://codereview.chromium.org/12475020/diff/2001/remoting/client/chromoting_client.cc File remoting/client/chromoting_client.cc (right): ...
7 years, 9 months ago (2013-03-28 21:59:25 UTC) #2
rmsousa
(no code change yet, just quickly replying to some comments) https://codereview.chromium.org/12475020/diff/2001/remoting/client/chromoting_client.cc File remoting/client/chromoting_client.cc (right): https://codereview.chromium.org/12475020/diff/2001/remoting/client/chromoting_client.cc#newcode58 ...
7 years, 9 months ago (2013-03-28 22:27:01 UTC) #3
Sergey Ulanov
https://codereview.chromium.org/12475020/diff/2001/remoting/client/chromoting_client.cc File remoting/client/chromoting_client.cc (right): https://codereview.chromium.org/12475020/diff/2001/remoting/client/chromoting_client.cc#newcode58 remoting/client/chromoting_client.cc:58: config_.host_public_key, user_interface_->GetTokenFetcherFactory(), On 2013/03/28 22:27:01, rmsousa wrote: > On ...
7 years, 9 months ago (2013-03-28 22:50:06 UTC) #4
rmsousa
https://codereview.chromium.org/12475020/diff/2001/remoting/client/chromoting_client.cc File remoting/client/chromoting_client.cc (right): https://codereview.chromium.org/12475020/diff/2001/remoting/client/chromoting_client.cc#newcode58 remoting/client/chromoting_client.cc:58: config_.host_public_key, user_interface_->GetTokenFetcherFactory(), On 2013/03/28 22:50:06, sergeyu wrote: > On ...
7 years, 8 months ago (2013-04-05 01:24:42 UTC) #5
Sergey Ulanov
lgtm https://codereview.chromium.org/12475020/diff/13001/remoting/client/plugin/chromoting_instance.cc File remoting/client/plugin/chromoting_instance.cc (right): https://codereview.chromium.org/12475020/diff/13001/remoting/client/plugin/chromoting_instance.cc#newcode741 remoting/client/plugin/chromoting_instance.cc:741: VLOG(1) << "Ignored OnThirdPartyTokenFetched without a pending fetch."; ...
7 years, 8 months ago (2013-04-05 18:34:56 UTC) #6
rmsousa
https://codereview.chromium.org/12475020/diff/13001/remoting/client/plugin/chromoting_instance.cc File remoting/client/plugin/chromoting_instance.cc (right): https://codereview.chromium.org/12475020/diff/13001/remoting/client/plugin/chromoting_instance.cc#newcode741 remoting/client/plugin/chromoting_instance.cc:741: VLOG(1) << "Ignored OnThirdPartyTokenFetched without a pending fetch."; On ...
7 years, 8 months ago (2013-04-06 01:11:03 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rmsousa@chromium.org/12475020/20001
7 years, 8 months ago (2013-04-06 01:11:33 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rmsousa@chromium.org/12475020/24002
7 years, 8 months ago (2013-04-06 01:26:17 UTC) #9
commit-bot: I haz the power
7 years, 8 months ago (2013-04-06 05:01:03 UTC) #10
Message was sent while issue was closed.
Change committed as 192705

Powered by Google App Engine
This is Rietveld 408576698