Auth Mechanism Properties in the Connection String

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Done
    • Priority: 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
              Reporter:
              Craig Wilson
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: