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

Validate auth mechanism properties

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor - P4
    • Resolution: Duplicate
    • Affects Version/s: None
    • Fix Version/s: None
    • Labels:
      None

      Description

      https://github.com/mongodb/specifications/blob/master/source/auth/auth.rst#errors states:

      > Drivers SHOULD raise an error as early as possible when detecting invalid values in a credential. For instance, if a mechanism_property is specified for MONGODB-CR, the driver should raise an error indicating that the property does not apply.

      As far as I can tell, Ruby driver does not validate that user-supplied auth mechanism properties are valid.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              emily.giurleo Emily Giurleo
              Reporter:
              oleg.pudeyev Oleg Pudeyev
              Participants:
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: