Uploaded image for project: 'Hibernate OGM'
  1. OGM-733

[MongoDB] Database name validation fails if lacking rights to obtain database names

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 4.1.1.Final
    • Fix Version/s: 4.1.2.Final
    • Component/s: zzz_datastore
    • Labels:
      None
    • Bug Testcase Reminder (view):

      Bug reports should generally be accompanied by a test case!

    • Last commented by a user?:
      true
    • Sprint:

      Description

      From the forum:

      The database validation will fail when using a cloud database since the authenticated user does not typically have admin privileges unless you are running on a dedicated MongoDB instance.

      The following class: org.hibernate.ogm.datastore.mongodb.impl.MongoDBDatastoreProvider does the database validation and won't complete authentication.

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: