Cannot authenticate database user with utf-8 password

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Done
    • Priority: Minor - P4
    • 3.2.2
    • Affects Version/s: 2.10.0
    • Component/s: Authentication
    • None
    • Environment:
      linux x86_64
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Hello

      I have a database user with: username == 'user' and password == 'passwordUtfééùù'.

      DB db= mongoClient.getDB("db");
      db.authenticate(username, password.toCharArray());

      throws java.lang.IllegalArgumentException: can't handle non-ascii passwords yet

      Same thing on Nodejs latest driver. https://jira.mongodb.org/browse/NODE-638

      mongodb version: 2.4.6
      java mongodb driver: mongodb-2.11.1.jar

      I did not test on latest mongodb driver. Sorry if this is fixed on latest.

      Thanks

            Assignee:
            Jeffrey Yemin
            Reporter:
            Florin Marius Popescu
            None
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: