Uploaded image for project: 'C# Driver'
  1. C# Driver
  2. CSHARP-402

Better support for authorization in server commands (like GetDatabaseNames)

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Done
    • Icon: Minor - P4 Minor - P4
    • 1.4
    • 1.3.1
    • None
    • None

    Description

      The following properties and methods of MongoServer only work if the DefaultCredentials are valid for the admin database. There should probably be a better way to provide admin credentials without making them the default credentials.

      The properties and methods affected are:

      AdminDatabase
      DatabaseExists
      DropDatabase
      FetchDBRef
      GetAdminDatabase
      GetDatabaseNames
      GetLastError
      RunAdminCommand
      Shutdown

      Attachments

        Activity

          People

            robert@mongodb.com Robert Stam
            robert@mongodb.com Robert Stam
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: