|
Use SignalingAddress in SignalStrategy insterface.
Previously SignalStrategy::GetLocalJid() was returning non-normalized
JID. The value was passed as is to the authenticator in
JingleSessionManager::OnSignalStrategyIncomingStanza(). Client used
normalized JID value from SignalingAddress for authentication. As
result authentication was failing for hosts that use mixed-case
accounts. With this change GetLocalJid() is replaced with
GetLocalAddress(), which allows to ensure that JID is normalized on
both ends of connection.
BUG= 707833
Review-Url: https://codereview.chromium.org/2798393007
Cr-Commit-Position: refs/heads/master@{#463737}
Committed: https://chromium.googlesource.com/chromium/src/+/9fe3bc8107285979782a49dbcf0a37cfe0187696
Total comments: 2
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+165 lines, -159 lines) |
Patch |
|
M |
remoting/client/chromoting_client.cc
|
View
|
|
2 chunks |
+5 lines, -4 lines |
0 comments
|
Download
|
|
M |
remoting/client/plugin/chromoting_instance.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
remoting/host/gcd_state_updater.cc
|
View
|
|
3 chunks |
+3 lines, -2 lines |
0 comments
|
Download
|
|
M |
remoting/host/gcd_state_updater_unittest.cc
|
View
|
|
2 chunks |
+6 lines, -7 lines |
0 comments
|
Download
|
|
M |
remoting/host/heartbeat_sender.cc
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
remoting/host/heartbeat_sender_unittest.cc
|
View
|
|
10 chunks |
+2 lines, -18 lines |
0 comments
|
Download
|
|
M |
remoting/host/host_change_notification_listener.cc
|
View
|
|
1 chunk |
+6 lines, -2 lines |
0 comments
|
Download
|
|
M |
remoting/host/host_change_notification_listener_unittest.cc
|
View
|
|
3 chunks |
+3 lines, -2 lines |
0 comments
|
Download
|
|
M |
remoting/host/host_status_logger_unittest.cc
|
View
|
|
5 chunks |
+4 lines, -9 lines |
0 comments
|
Download
|
|
M |
remoting/host/it2me/it2me_host_unittest.cc
|
View
|
|
1 chunk |
+6 lines, -5 lines |
0 comments
|
Download
|
|
M |
remoting/host/it2me/it2me_native_messaging_host.cc
|
View
|
1
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
remoting/host/register_support_host_request.cc
|
View
|
1
|
2 chunks |
+2 lines, -1 line |
0 comments
|
Download
|
|
M |
remoting/host/register_support_host_request_unittest.cc
|
View
|
|
3 chunks |
+4 lines, -2 lines |
0 comments
|
Download
|
|
M |
remoting/host/signaling_connector.cc
|
View
|
|
2 chunks |
+2 lines, -1 line |
0 comments
|
Download
|
|
M |
remoting/protocol/jingle_session.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
remoting/protocol/jingle_session.cc
|
View
|
1
|
2 chunks |
+4 lines, -3 lines |
0 comments
|
Download
|
|
M |
remoting/protocol/jingle_session_manager.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
remoting/protocol/jingle_session_manager.cc
|
View
|
|
2 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
|
M |
remoting/protocol/jingle_session_unittest.cc
|
View
|
|
10 chunks |
+27 lines, -16 lines |
0 comments
|
Download
|
|
M |
remoting/protocol/protocol_mock_objects.h
|
View
|
1
2
|
2 chunks |
+4 lines, -3 lines |
0 comments
|
Download
|
|
M |
remoting/protocol/protocol_mock_objects.cc
|
View
|
|
1 chunk |
+3 lines, -15 lines |
0 comments
|
Download
|
|
M |
remoting/protocol/session_manager.h
|
View
|
|
2 chunks |
+5 lines, -4 lines |
0 comments
|
Download
|
|
M |
remoting/signaling/delegating_signal_strategy.h
|
View
|
|
4 chunks |
+4 lines, -3 lines |
0 comments
|
Download
|
|
M |
remoting/signaling/delegating_signal_strategy.cc
|
View
|
|
3 chunks |
+5 lines, -5 lines |
0 comments
|
Download
|
|
M |
remoting/signaling/fake_signal_strategy.h
|
View
|
|
5 chunks |
+5 lines, -4 lines |
0 comments
|
Download
|
|
M |
remoting/signaling/fake_signal_strategy.cc
|
View
|
|
5 chunks |
+13 lines, -11 lines |
0 comments
|
Download
|
|
M |
remoting/signaling/iq_sender_unittest.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
remoting/signaling/log_to_server_unittest.cc
|
View
|
|
4 chunks |
+2 lines, -5 lines |
0 comments
|
Download
|
|
M |
remoting/signaling/mock_signal_strategy.h
|
View
|
|
3 chunks |
+7 lines, -2 lines |
0 comments
|
Download
|
|
M |
remoting/signaling/mock_signal_strategy.cc
|
View
|
|
1 chunk |
+7 lines, -2 lines |
0 comments
|
Download
|
|
M |
remoting/signaling/push_notification_subscriber.cc
|
View
|
|
3 chunks |
+5 lines, -6 lines |
0 comments
|
Download
|
|
M |
remoting/signaling/push_notification_subscriber_unittest.cc
|
View
|
|
3 chunks |
+3 lines, -4 lines |
0 comments
|
Download
|
|
M |
remoting/signaling/signal_strategy.h
|
View
|
|
2 chunks |
+4 lines, -2 lines |
0 comments
|
Download
|
|
M |
remoting/signaling/xmpp_signal_strategy.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
remoting/signaling/xmpp_signal_strategy.cc
|
View
|
|
6 chunks |
+8 lines, -7 lines |
0 comments
|
Download
|
|
M |
remoting/test/protocol_perftest.cc
|
View
|
|
2 chunks |
+3 lines, -2 lines |
0 comments
|
Download
|
|
M |
remoting/test/test_chromoting_client_unittest.cc
|
View
|
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
Depends on Patchset:
Dependent Patchsets:
Total messages: 17 (10 generated)
|