[CSHARP-760] CreateGssapiCredential when specified with just a username throws an ArgumentNullException. Created: 13/Jun/13  Updated: 26/Jul/13  Resolved: 22/Jul/13

Status: Closed
Project: C# Driver
Component/s: None
Affects Version/s: 1.8
Fix Version/s: 1.8.2

Type: Bug Priority: Major - P3
Reporter: Craig Wilson Assignee: Sridhar Nanjundeswaran
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

Current method signature:

        public static MongoCredential CreateGssapiCredential(string username)
        {
            return FromComponents("GSSAPI",
                "$external",
                username,
                (PasswordEvidence)null);
        }

The (PasswordEvidence)null spot should be new ExternalEvidence().



 Comments   
Comment by auto [ 22/Jul/13 ]

Author:

{u'username': u'sridharn', u'name': u'Sridhar Nanjundeswaran', u'email': u'sridhar@10gen.com'}

Message: CSHARP-760 - default ExternalEvidence credential when credential created with username only
Branch: master
https://github.com/mongodb/mongo-csharp-driver/commit/1f2f648db9c01d1044b0b5a58f9fb2ef14223610

Generated at Wed Feb 07 21:37:45 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.