Uploaded image for project: 'Ruby Driver'
  1. Ruby Driver
  2. RUBY-1319

Handshake changes for SDAM and Auth

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 2.7.0.rc0
    • Affects Version/s: None
    • Component/s: Connections, Spec Comp
    • None

      tl;dr:

      • Monitoring-only sockets must not send SCRAM mechanism negotiation in isMaster
      • Monitoring-only sockets must not authenticate at all.
      • Non-monitoring sockets (e.g. connection pool or single-threaded client) do a "normal" handshake and authenticate if there are credentials.
      • An authentication error on a socket must close all (and only) non-monitoring sockets to the same server.

      Possible backward breaking change:

      • Some drivers were resetting a server's topology description to Unknown on an authentication error and should stop doing so. This means the topology will always be "correct" even when authentication fails.
      • It will no longer be possible for authentication errors to be masked as server selection errors.

      Detailed changes:

            Assignee:
            oleg.pudeyev@mongodb.com Oleg Pudeyev (Inactive)
            Reporter:
            rathi.gnanasekaran Rathi Gnanasekaran
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: