Update It2Me Host to allow unauthenticated support requests
This CL changes the logic around the 'userName' field such that it is no longer required when using a delegated signal strategy. We only need username for the XMPP case. While making the change I found the ProcessConnect method a bit awkward to parse as it had several #ifdefs and long if/then based on the signal strategy type. I decide to clean this up a bit and move the signal strategy creation logic into helper methods. Lastly, in the scenario where a delegated signal strategy is used and no user name is specified, I am assigning a hard coded value to indicate we don't have a user name. This value will show up in logs. Change-Id: I5eb37c5639aa265d8b6db6652470fd85fcf1db70 Reviewed-on: https://chromium-review.googlesource.com/1155741Reviewed-by:Joe Downing <joedow@chromium.org> Reviewed-by:
Jamie Walch <jamiewalch@chromium.org> Commit-Queue: Joe Downing <joedow@chromium.org> Commit-Queue: Jamie Walch <jamiewalch@chromium.org> Cr-Commit-Position: refs/heads/master@{#583099}
Showing
Please register or sign in to comment