|
Properly handle accounts that don't have GMail account.
1. Me2MeHostAuthenticatorFactory now verifies that the bare
JID of the remote client matches bare JID of the host.
Previously it was comparing it with the user's email,
which may be different from JID.
2. GaiaOAuthClient now fetches user's email.
3. SignalingConnector verifies that user's email matches
the expected value stored in xmpp_login. If it doesn't,
then the auth token was generated for a different account
and the host treats it as an authentication error.
BUG= 128102
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=137824
Total comments: 16
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+129 lines, -63 lines) |
Patch |
|
M |
remoting/host/gaia_oauth_client.h
|
View
|
1
2
|
3 chunks |
+11 lines, -6 lines |
0 comments
|
Download
|
|
M |
remoting/host/gaia_oauth_client.cc
|
View
|
1
2
|
5 chunks |
+84 lines, -26 lines |
0 comments
|
Download
|
|
M |
remoting/host/remoting_me2me_host.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
remoting/host/signaling_connector.h
|
View
|
1
2
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
|
M |
remoting/host/signaling_connector.cc
|
View
|
1
2
|
2 chunks |
+12 lines, -2 lines |
0 comments
|
Download
|
|
M |
remoting/host/simple_host_process.cc
|
View
|
1
2
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
remoting/jingle_glue/xmpp_signal_strategy.cc
|
View
|
1
|
1 chunk |
+0 lines, -18 lines |
0 comments
|
Download
|
|
M |
remoting/protocol/authenticator.h
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
remoting/protocol/fake_authenticator.h
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
remoting/protocol/fake_authenticator.cc
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
remoting/protocol/it2me_host_authenticator_factory.h
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
remoting/protocol/it2me_host_authenticator_factory.cc
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
remoting/protocol/jingle_session_manager.cc
|
View
|
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
|
M |
remoting/protocol/me2me_host_authenticator_factory.h
|
View
|
|
2 chunks |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
remoting/protocol/me2me_host_authenticator_factory.cc
|
View
|
|
1 chunk |
+9 lines, -5 lines |
0 comments
|
Download
|
Total messages: 13 (0 generated)
|