Uploaded image for project: 'Drivers'
  1. Drivers
  2. DRIVERS-183

Auth Mechanism Properties in the Connection String

    • Type: Icon: Task Task
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Component/s: None
    • None

      Currently, GSSAPI is a configurable authentication mechanism with 3 configurable properties. Only SERVICE_NAME is configurable via the connection string using the gssapiServiceName.

      In an effort to make this more general, the auth spec has defined a format for specifying any configurable mechanism property in the connection string using the same format as the readPreferenceTags.

      Example:

      mongodb://a/?authMechanism=GSSAPI&authMechanismProperties=SERVICE_NAME:mongodb,CANONICALIZE_HOST_NAME:true

            Assignee:
            craig.wilson@mongodb.com Craig Wilson
            Reporter:
            craig.wilson@mongodb.com Craig Wilson
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: