[JAVA-2090] Cannot authenticate database user with utf-8 password Created: 18/Jan/16 Updated: 04/Apr/16 Resolved: 09/Feb/16 |
|
| Status: | Closed |
| Project: | Java Driver |
| Component/s: | Authentication |
| Affects Version/s: | 2.10.0 |
| Fix Version/s: | 3.2.2 |
| Type: | Improvement | Priority: | Minor - P4 |
| Reporter: | Florin Marius Popescu | Assignee: | Jeffrey Yemin |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
linux x86_64 |
||
| Description |
|
Hello I have a database user with: username == 'user' and password == 'passwordUtfééùù'. DB db= mongoClient.getDB("db"); 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 I did not test on latest mongodb driver. Sorry if this is fixed on latest. Thanks |
| Comments |
| Comment by Florin Marius Popescu [ 04/Apr/16 ] |
|
Thanks |
| Comment by Jeffrey Yemin [ 16/Feb/16 ] |
|
Closed for 3.2.2 release |
| Comment by Githook User [ 09/Feb/16 ] |
|
Author: {u'username': u'jyemin', u'name': u'Jeff Yemin', u'email': u'jeff.yemin@10gen.com'}Message: |
| Comment by Githook User [ 08/Feb/16 ] |
|
Author: {u'username': u'jyemin', u'name': u'Jeff Yemin', u'email': u'jeff.yemin@10gen.com'}Message: |
| Comment by Jeffrey Yemin [ 19/Jan/16 ] |
|
This is indeed a limitation of the Java driver, up to and including the most recent releases (2.14.1 and 3.2.1, currently). For now, please limit yourself to ASCII passwords, while we consider when we can address this issue. Regards, |