<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 08:56:17 UTC 2024

It is possible to restrict the fields that are returned in this document by specifying the 'field' parameter in your request.
For example, to request only the issue key and summary append 'field=key&field=summary' to the URL of your request.
-->
<rss version="0.92" >
<channel>
    <title>MongoDB Jira</title>
    <link>https://jira.mongodb.org</link>
    <description>This file is an XML representation of an issue</description>
    <language>en-us</language>    <build-info>
        <version>9.7.1</version>
        <build-number>970001</build-number>
        <build-date>13-04-2023</build-date>
    </build-info>


<item>
            <title>[JAVA-2090] Cannot authenticate database user with utf-8 password</title>
                <link>https://jira.mongodb.org/browse/JAVA-2090</link>
                <project id="10006" key="JAVA">Java Driver</project>
                    <description>&lt;p&gt;Hello &lt;img class=&quot;emoticon&quot; src=&quot;https://jira.mongodb.org/images/icons/emoticons/biggrin.png&quot; height=&quot;16&quot; width=&quot;16&quot; align=&quot;absmiddle&quot; alt=&quot;&quot; border=&quot;0&quot;/&gt;&lt;/p&gt;

&lt;p&gt;I have a database user with: username == &apos;user&apos; and password == &apos;passwordUtf&#233;&#233;&#249;&#249;&apos;.&lt;/p&gt;

&lt;p&gt;DB db= mongoClient.getDB(&quot;db&quot;);&lt;br/&gt;
db.authenticate(username, password.toCharArray());&lt;/p&gt;

&lt;p&gt;throws  java.lang.IllegalArgumentException: can&apos;t handle non-ascii passwords yet&lt;/p&gt;

&lt;p&gt;Same thing on Nodejs latest driver. &lt;a href=&quot;https://jira.mongodb.org/browse/NODE-638&quot; class=&quot;external-link&quot; rel=&quot;nofollow&quot;&gt;https://jira.mongodb.org/browse/NODE-638&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;mongodb version: 2.4.6&lt;br/&gt;
java mongodb driver: mongodb-2.11.1.jar&lt;/p&gt;

&lt;p&gt;I did not test on latest mongodb driver. Sorry if this is fixed on latest. &lt;img class=&quot;emoticon&quot; src=&quot;https://jira.mongodb.org/images/icons/emoticons/biggrin.png&quot; height=&quot;16&quot; width=&quot;16&quot; align=&quot;absmiddle&quot; alt=&quot;&quot; border=&quot;0&quot;/&gt;&lt;/p&gt;

&lt;p&gt;Thanks &lt;img class=&quot;emoticon&quot; src=&quot;https://jira.mongodb.org/images/icons/emoticons/biggrin.png&quot; height=&quot;16&quot; width=&quot;16&quot; align=&quot;absmiddle&quot; alt=&quot;&quot; border=&quot;0&quot;/&gt;&lt;/p&gt;
</description>
                <environment>linux x86_64</environment>
        <key id="259150">JAVA-2090</key>
            <summary>Cannot authenticate database user with utf-8 password</summary>
                <type id="4" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14710&amp;avatarType=issuetype">Improvement</type>
                                            <priority id="4" iconUrl="https://jira.mongodb.org/images/icons/priorities/minor.svg">Minor - P4</priority>
                        <status id="6" iconUrl="https://jira.mongodb.org/images/icons/statuses/closed.png" description="The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.">Closed</status>
                    <statusCategory id="3" key="done" colorName="success"/>
                                    <resolution id="9">Done</resolution>
                                        <assignee username="jeff.yemin@mongodb.com">Jeffrey Yemin</assignee>
                                    <reporter username="florin.popescu0110">Florin Marius Popescu</reporter>
                        <labels>
                    </labels>
                <created>Mon, 18 Jan 2016 14:18:54 +0000</created>
                <updated>Mon, 4 Apr 2016 13:52:44 +0000</updated>
                            <resolved>Tue, 9 Feb 2016 00:35:51 +0000</resolved>
                                    <version>2.10.0</version>
                                    <fixVersion>3.2.2</fixVersion>
                                    <component>Authentication</component>
                                        <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="1224056" author="florin.popescu0110" created="Mon, 4 Apr 2016 13:52:44 +0000"  >&lt;p&gt;Thanks &lt;img class=&quot;emoticon&quot; src=&quot;https://jira.mongodb.org/images/icons/emoticons/biggrin.png&quot; height=&quot;16&quot; width=&quot;16&quot; align=&quot;absmiddle&quot; alt=&quot;&quot; border=&quot;0&quot;/&gt;&lt;/p&gt;</comment>
                            <comment id="1174197" author="jeff.yemin" created="Tue, 16 Feb 2016 15:24:23 +0000"  >&lt;p&gt;Closed for 3.2.2 release&lt;/p&gt;</comment>
                            <comment id="1167313" author="xgen-internal-githook" created="Tue, 9 Feb 2016 00:35:43 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;jyemin&apos;, u&apos;name&apos;: u&apos;Jeff Yemin&apos;, u&apos;email&apos;: u&apos;jeff.yemin@10gen.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/JAVA-2090&quot; title=&quot;Cannot authenticate database user with utf-8 password&quot; class=&quot;issue-link&quot; data-issue-key=&quot;JAVA-2090&quot;&gt;&lt;del&gt;JAVA-2090&lt;/del&gt;&lt;/a&gt;: Support non-ASCII passwords&lt;br/&gt;
Branch: 3.2.x&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-java-driver/commit/595b11f89da1a6c496f997a6012c77ad695efe93&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-java-driver/commit/595b11f89da1a6c496f997a6012c77ad695efe93&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1167239" author="xgen-internal-githook" created="Mon, 8 Feb 2016 23:50:53 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;jyemin&apos;, u&apos;name&apos;: u&apos;Jeff Yemin&apos;, u&apos;email&apos;: u&apos;jeff.yemin@10gen.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/JAVA-2090&quot; title=&quot;Cannot authenticate database user with utf-8 password&quot; class=&quot;issue-link&quot; data-issue-key=&quot;JAVA-2090&quot;&gt;&lt;del&gt;JAVA-2090&lt;/del&gt;&lt;/a&gt;: Support non-ASCII passwords&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-java-driver/commit/1ce3ac6ef46eeea52a52c9e5fdfb377ef8eb4e48&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-java-driver/commit/1ce3ac6ef46eeea52a52c9e5fdfb377ef8eb4e48&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1146800" author="jeff.yemin" created="Tue, 19 Jan 2016 03:39:41 +0000"  >&lt;p&gt;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.&lt;/p&gt;

&lt;p&gt;Regards,&lt;br/&gt;
Jeff&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_15850" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hshsbj:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10558" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>9223372036854775807</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                    <customfield id="customfield_10557" key="com.pyxis.greenhopper.jira:gh-sprint">
                        <customfieldname>Sprint</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue id="914">JVM Sprint 31</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            </customfields>
    </item>
</channel>
</rss>