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

Issue 10378110: Verify that xmpp_login specified in the config matches auth token. (Closed)

Created:
8 years, 7 months ago by Sergey Ulanov
Modified:
8 years, 7 months ago
Reviewers:
simonmorris
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, alexeypa+watch_chromium.org, sergeyu+watch_chromium.org
Base URL:
http://git.chromium.org/chromium/src.git@master
Visibility:
Public.

Description

Verify that xmpp_login specified in the config matches auth token. Previously the host would ignore the case when the oauth token doesn't match the xmpp_login specified in the config. That would lead to situations when host is connected with one account, but verifies incoming connections with a different account. Fix this by verifying that the JID that we receive from XMPP server matches the value in the config. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=136745

Patch Set 1 #

Total comments: 11

Patch Set 2 : #

Total comments: 2

Patch Set 3 : #

Patch Set 4 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+137 lines, -23 lines) Patch
M remoting/host/remoting_me2me_host.cc View 3 chunks +4 lines, -4 lines 0 comments Download
M remoting/host/signaling_connector.h View 2 chunks +6 lines, -5 lines 0 comments Download
M remoting/host/signaling_connector.cc View 1 4 chunks +14 lines, -5 lines 0 comments Download
M remoting/host/simple_host_process.cc View 7 chunks +38 lines, -5 lines 0 comments Download
M remoting/jingle_glue/fake_signal_strategy.h View 1 chunk +1 line, -0 lines 0 comments Download
M remoting/jingle_glue/fake_signal_strategy.cc View 1 2 3 1 chunk +4 lines, -0 lines 0 comments Download
M remoting/jingle_glue/javascript_signal_strategy.h View 1 chunk +1 line, -0 lines 0 comments Download
M remoting/jingle_glue/javascript_signal_strategy.cc View 1 2 3 1 chunk +9 lines, -0 lines 0 comments Download
M remoting/jingle_glue/mock_objects.h View 1 chunk +1 line, -0 lines 0 comments Download
M remoting/jingle_glue/signal_strategy.h View 1 2 3 3 chunks +12 lines, -1 line 0 comments Download
M remoting/jingle_glue/xmpp_signal_strategy.h View 2 chunks +3 lines, -1 line 0 comments Download
M remoting/jingle_glue/xmpp_signal_strategy.cc View 1 2 3 6 chunks +44 lines, -2 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
Sergey Ulanov
8 years, 7 months ago (2012-05-11 18:20:50 UTC) #1
simonmorris
http://codereview.chromium.org/10378110/diff/1/remoting/host/signaling_connector.cc File remoting/host/signaling_connector.cc (right): http://codereview.chromium.org/10378110/diff/1/remoting/host/signaling_connector.cc#newcode73 remoting/host/signaling_connector.cc:73: // If authentication failed then it means that we ...
8 years, 7 months ago (2012-05-11 19:57:25 UTC) #2
Sergey Ulanov
http://codereview.chromium.org/10378110/diff/1/remoting/host/signaling_connector.cc File remoting/host/signaling_connector.cc (right): http://codereview.chromium.org/10378110/diff/1/remoting/host/signaling_connector.cc#newcode73 remoting/host/signaling_connector.cc:73: // If authentication failed then it means that we ...
8 years, 7 months ago (2012-05-11 20:48:05 UTC) #3
simonmorris
LGTM with optional suggestion. http://codereview.chromium.org/10378110/diff/6001/remoting/jingle_glue/xmpp_signal_strategy.cc File remoting/jingle_glue/xmpp_signal_strategy.cc (right): http://codereview.chromium.org/10378110/diff/6001/remoting/jingle_glue/xmpp_signal_strategy.cc#newcode172 remoting/jingle_glue/xmpp_signal_strategy.cc:172: // issued for a different ...
8 years, 7 months ago (2012-05-11 22:59:03 UTC) #4
Sergey Ulanov
http://codereview.chromium.org/10378110/diff/6001/remoting/jingle_glue/xmpp_signal_strategy.cc File remoting/jingle_glue/xmpp_signal_strategy.cc (right): http://codereview.chromium.org/10378110/diff/6001/remoting/jingle_glue/xmpp_signal_strategy.cc#newcode172 remoting/jingle_glue/xmpp_signal_strategy.cc:172: // issued for a different account, so we treat ...
8 years, 7 months ago (2012-05-11 23:33:41 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sergeyu@chromium.org/10378110/7013
8 years, 7 months ago (2012-05-11 23:34:18 UTC) #6
commit-bot: I haz the power
Try job failure for 10378110-7013 (retry) on win for step "compile" (clobber build). It's a ...
8 years, 7 months ago (2012-05-11 23:51:13 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sergeyu@chromium.org/10378110/6002
8 years, 7 months ago (2012-05-12 00:13:16 UTC) #8
commit-bot: I haz the power
8 years, 7 months ago (2012-05-12 02:02:18 UTC) #9
Change committed as 136745

Powered by Google App Engine
This is Rietveld 408576698