<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 08:56:20 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-2106] Improve configurability of GSSAPI authentication</title>
                <link>https://jira.mongodb.org/browse/JAVA-2106</link>
                <project id="10006" key="JAVA">Java Driver</project>
                    <description>&lt;p&gt;Currently, a credential for the GSSAPI mechanism is limited in its configurability.   GSSAPI authentication relies on the AccessControlContext bound to the thread that it&apos;s executing on, and a Subject based on the LoginContext for &quot;com.sun.security.jgss.krb5.initiate&quot;, which must be configured via system properties.  &lt;/p&gt;

&lt;p&gt;However, some Kerberos users require more flexibility.  In particular, some users require the ability to create MongoCredential instances for GSSAPI authentication based on multiple Subject instances, in a single JVM.  Currently, this is not possible.&lt;/p&gt;

&lt;p&gt;Additionally, some users require the ability to customize the SaslClient that implements the SASL conversation for GSSAPI, and that may require customization of the properties that must be passed to SaslClientFactory.createClient.  Currently, there is no way to customize these properties.&lt;/p&gt;

&lt;p&gt;To address this, we propose to add two MongoCredential mechanism properties:&lt;/p&gt;

&lt;ul&gt;
	&lt;li&gt;To override the javax.security.auth.Subject with which the authentication executes, add a mechanism property with the name &quot;JAVA_SUBJECT&quot; with the value of a Subject instance.&lt;/li&gt;
	&lt;li&gt;To override the properties with which the SaslClient is created, add a mechanism property with the name &quot;JAVA_SASL_CLIENT_PROPERTIES&quot; with the value of a Map&amp;lt;String, Object&amp;gt; instance.&lt;/li&gt;
&lt;/ul&gt;


</description>
                <environment></environment>
        <key id="263143">JAVA-2106</key>
            <summary>Improve configurability of GSSAPI authentication</summary>
                <type id="2" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14711&amp;avatarType=issuetype">New Feature</type>
                                            <priority id="3" iconUrl="https://jira.mongodb.org/images/icons/priorities/major.svg">Major - P3</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="jeff.yemin@mongodb.com">Jeffrey Yemin</reporter>
                        <labels>
                    </labels>
                <created>Thu, 4 Feb 2016 17:47:20 +0000</created>
                <updated>Wed, 19 Oct 2016 14:17:36 +0000</updated>
                            <resolved>Fri, 18 Mar 2016 14:15:45 +0000</resolved>
                                                    <fixVersion>3.3.0</fixVersion>
                                    <component>Authentication</component>
                                        <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="1207859" author="xgen-internal-githook" created="Fri, 18 Mar 2016 14:15:34 +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-2106&quot; title=&quot;Improve configurability of GSSAPI authentication&quot; class=&quot;issue-link&quot; data-issue-key=&quot;JAVA-2106&quot;&gt;&lt;del&gt;JAVA-2106&lt;/del&gt;&lt;/a&gt;: Allow injection of Subject, AccessControlContext, and Map of SaslClient properties as mechanism properties for MongoCredential instances for GSSAPI authentication&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-java-driver/commit/a263f09029b49ccf724f1b242a9e073b8324960c&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-java-driver/commit/a263f09029b49ccf724f1b242a9e073b8324960c&lt;/a&gt;&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Depends</name>
                                                                <inwardlinks description="is depended on by">
                                                        </inwardlinks>
                                    </issuelinktype>
                            <issuelinktype id="10010">
                    <name>Duplicate</name>
                                                                <inwardlinks description="is duplicated by">
                                        <issuelink>
            <issuekey id="94190">JAVA-1019</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                    </issuelinks>
                <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|hrde73:</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>
    <customfieldvalue id="972">JVM Sprint 32</customfieldvalue>

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