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

Cross Realm authentication using Kerberos

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

      Drivers should be able to provide a authentication realm when authenticating using Kerberos. Java example below.

      MongoCredential gssAPICred = MongoCredential
      .createGSSAPICredential(KERBEROS + "@WINDOWSREALM.COM")
      .withMechanismProperty("REALM", "LINUXREALM.COM")
      .withMechanismProperty("CANONICALIZE_HOST_NAME", true);
      

      NOTE: this Java example is how this could be exposed in the Java driver. It doesn't actually work this way now. The Java driver does not support a "REALM" mechanism property.

      This is to allow for cross realm authentication.

            Assignee:
            craig.wilson@mongodb.com Craig Wilson
            Reporter:
            christkv Christian Amor Kvalheim
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:
              Resolved: