<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 09:01:57 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-4391] Accept &quot;com.sun.security.jgss.initiate&quot; as a default login context name for GSSAPI</title>
                <link>https://jira.mongodb.org/browse/JAVA-4391</link>
                <project id="10006" key="JAVA">Java Driver</project>
                    <description>&lt;p&gt;In the 4.2 release, we introduced a new feature for caching Kerberos tickets: &lt;a href=&quot;https://jira.mongodb.org/browse/JAVA-3836&quot; title=&quot;Support a Kerberos ticket cache&quot; class=&quot;issue-link&quot; data-issue-key=&quot;JAVA-3836&quot;&gt;&lt;del&gt;JAVA-3836&lt;/del&gt;&lt;/a&gt;. One of the consequences of that work is that the driver now by default always creates the Subject instance itself instead of relying on the JDK to do so. The LoginContext is now configured &lt;a href=&quot;https://github.com/mongodb/mongo-java-driver/blob/r4.3.4/driver-core/src/main/com/mongodb/KerberosSubjectProvider.java#L62&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;here&lt;/a&gt;. Note that the default is to use &quot;com.sun.security.jgss.krb5.initiate&quot; as the default login context name. In contrast, the JDK looks for both &quot;com.sun.security.jgss.krb5.initiate&quot; &lt;em&gt;and&lt;/em&gt; &quot;com.sun.security.jgss.initiate&quot; (for reasons I&apos;m not sure of). You can find that code &lt;a href=&quot;https://github.com/openjdk/jdk/blob/jdk-17+35/src/java.security.jgss/share/classes/sun/security/jgss/LoginConfigImpl.java#L103-L107&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;here&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;We should change the driver to also accept both login names.&lt;/p&gt;</description>
                <environment></environment>
        <key id="1920518">JAVA-4391</key>
            <summary>Accept &quot;com.sun.security.jgss.initiate&quot; as a default login context name for GSSAPI</summary>
                <type id="4" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14710&amp;avatarType=issuetype">Improvement</type>
                                            <priority id="10300" iconUrl="https://jira.mongodb.org/images/icons/priorities/medium.svg">Unknown</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="13201">Fixed</resolution>
                                        <assignee username="jeff.yemin@mongodb.com">Jeffrey Yemin</assignee>
                                    <reporter username="jeff.yemin@mongodb.com">Jeffrey Yemin</reporter>
                        <labels>
                    </labels>
                <created>Mon, 8 Nov 2021 16:28:27 +0000</created>
                <updated>Sat, 28 Oct 2023 11:20:57 +0000</updated>
                            <resolved>Fri, 19 Nov 2021 15:40:36 +0000</resolved>
                                                    <fixVersion>4.5.0</fixVersion>
                                    <component>Security</component>
                                        <votes>0</votes>
                                    <watches>4</watches>
                                                                                                                <comments>
                            <comment id="5192421" author="JIRAUSER1272830" created="Mon, 13 Feb 2023 11:35:51 +0000"  >&lt;p&gt;Facing the same issue in version 4.6.0&lt;br/&gt;
Could you please help?&lt;br/&gt;
I am using Spring Boot 2.7.3&lt;/p&gt;</comment>
                            <comment id="4200890" author="xgen-internal-githook" created="Fri, 19 Nov 2021 15:39:57 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Jeff Yemin&apos;, &apos;email&apos;: &apos;jeff.yemin@mongodb.com&apos;, &apos;username&apos;: &apos;jyemin&apos;}
&lt;p&gt;Message: Support &quot;com.sun.security.jgss.initiate&quot; as Kerberos login context name (#827)&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/browse/JAVA-4391&quot; title=&quot;Accept &amp;quot;com.sun.security.jgss.initiate&amp;quot; as a default login context name for GSSAPI&quot; class=&quot;issue-link&quot; data-issue-key=&quot;JAVA-4391&quot;&gt;&lt;del&gt;JAVA-4391&lt;/del&gt;&lt;/a&gt;&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-java-driver/commit/17e3f0d8dee30c84bfffb05633107cbdd36435f0&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-java-driver/commit/17e3f0d8dee30c84bfffb05633107cbdd36435f0&lt;/a&gt;&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10320">
                    <name>Documented</name>
                                                                <inwardlinks description="is documented by">
                                                        </inwardlinks>
                                    </issuelinktype>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                            <outwardlinks description="related to">
                                        <issuelink>
            <issuekey id="1467452">JAVA-3836</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="1918551">JAVA-4389</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                    </issuelinks>
                <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                                                                                                                                                                        <customfield id="customfield_10011" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>Backwards Compatibility</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10038"><![CDATA[Fully Compatible]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_15850" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10257" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>Documentation Changes</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10250"><![CDATA[Needed]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hzsy5z:</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>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            </customfields>
    </item>
</channel>
</rss>