[CSHARP-603] Support SASL Authentication Against Kerboros Created: 11/Oct/12  Updated: 20/Mar/14  Resolved: 24/Jan/13

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

Type: New Feature Priority: Critical - P2
Reporter: Craig Wilson Assignee: Robert Stam
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
is depended on by DRIVERS-69 Support greedy authentication Closed
Related
is related to CSHARP-581 MapReduce output to a collection in a... Closed
Backwards Compatibility: Minor Change

 Description   

Need to support authentication against kerboros stores and then communicate tickets with mongodb using the SASL protocol.

[Note added 2013-01-04]:

As part of this effort the API for authentication had to change. You used to provide a different credential for each database you worked with. We are moving to a simpler model where you provide a list of credentials to MongoClientSettings and every connection is authenticated against all the credentials provided. The recommended approach is to define a single user in MongoDB for each application and give that user access to just the databases that the application needs. This would simplify the client side to the point where only a single credential need be supplied.

Also as part of this effort we are standardizing on Credential (no "s") for singular and Credentials for plural. The MongoCredentials class is now called MongoCredential, which is a breaking change, but the MongoCredential class had to be totally redesigned anyway so it was already breaking.



 Comments   
Comment by auto [ 04/Mar/13 ]

Author:

{u'date': u'2013-03-01T16:50:45Z', u'name': u'Craig Wilson', u'email': u'craiggwilson@gmail.com'}

Message: CSHARP-603: added security attributes to methods to mark them as SecurityCritical or SecuritySafeCritical, depending on context.
Branch: master
https://github.com/mongodb/mongo-csharp-driver/commit/42af288978426dd18c8339b2d34d24ee56864661

Comment by auto [ 01/Mar/13 ]

Author:

{u'date': u'2013-03-01T17:21:11Z', u'name': u'Craig Wilson', u'email': u'craiggwilson@gmail.com'}

Message: CSHARP-603: changes from MONGO-CR to MONGODB-CR per server.
Branch: master
https://github.com/mongodb/mongo-csharp-driver/commit/33f6cb37017fbf1063d22d8473d36f5075fb0522

Comment by auto [ 11/Feb/13 ]

Author:

{u'date': u'2013-02-01T22:13:33Z', u'name': u'Craig Wilson', u'email': u'craiggwilson@gmail.com'}

Message: CSHARP-603: update for changes to driver authentication spec.
Branch: master
https://github.com/mongodb/mongo-csharp-driver/commit/ba375d8b9edf4b77d629639f25bf7d610646a6f3

Comment by auto [ 11/Feb/13 ]

Author:

{u'date': u'2013-01-22T19:34:10Z', u'name': u'craiggwilson', u'email': u'craiggwilson@gmail.com'}

Message: CSHARP-603: GSSAPI on linux using libgsasl.
Branch: master
https://github.com/mongodb/mongo-csharp-driver/commit/83c26126c07d5c8efa5257c4213f1876fd37fae3

Comment by auto [ 24/Jan/13 ]

Author:

{u'date': u'2013-01-24T15:47:46Z', u'email': u'robert@10gen.com', u'name': u'rstam'}

Message: CSHARP-603: Make MongoCredentialStore helper class internal and standarize on Credential (no "s") for singular and Credentials for plural.
Branch: master
https://github.com/mongodb/mongo-csharp-driver/commit/8931357290d5179b301f622930b7ec0b3b64f7aa

Comment by Craig Wilson [ 17/Jan/13 ]

pushed to master.

Comment by auto [ 17/Jan/13 ]

Author:

{u'date': u'2013-01-17T00:07:50Z', u'email': u'craiggwilson@gmail.com', u'name': u'Craig Wilson'}

Message: CSHARP-603: implemented Sasl authentication support as well as support for new delegated authentication support in server 2.4.
Branch: master
https://github.com/mongodb/mongo-csharp-driver/commit/401a45f2d6cbb46171a2212945c4fab4bb60b0a7

Comment by Robert Stam [ 24/Dec/12 ]

Closed by mistake.

Comment by auto [ 24/Dec/12 ]

Author:

{u'date': u'2012-12-24T21:03:32Z', u'email': u'robert@10gen.com', u'name': u'rstam'}

Message: CSHARP-603: Reverted commits 6f33dd through 95cba9. They were pushed by accident before the work was completed.
Branch: master
https://github.com/mongodb/mongo-csharp-driver/commit/715f1fd3d78f2c79a0ee69f3e3e36e1bf216d55d

Comment by auto [ 24/Dec/12 ]

Author:

{u'date': u'2012-12-19T21:56:28Z', u'email': u'craiggwilson@gmail.com', u'name': u'Craig Wilson'}

Message: CSHARP-603: added support for setting credentials via url.
Branch: master
https://github.com/mongodb/mongo-csharp-driver/commit/d8fda449ceec21f7d22928e8877a121d984b8832

Comment by auto [ 24/Dec/12 ]

Author:

{u'date': u'2012-12-19T16:48:18Z', u'email': u'craiggwilson@gmail.com', u'name': u'Craig Wilson'}

Message: CSHARP-603: refactoring. Full support for SecureString.
Branch: master
https://github.com/mongodb/mongo-csharp-driver/commit/38b650f19cf6bf6eeb8721b198584f80108ee974

Comment by auto [ 24/Dec/12 ]

Author:

{u'date': u'2012-12-18T21:33:07Z', u'name': u'Craig Wilson', u'email': u'craiggwilson@gmail.com'}

Message: CSHARP-603: initial commit for SASL authentication.
Branch: master
https://github.com/mongodb/mongo-csharp-driver/commit/6f33dde4b52ddeae1e47a60872ac56c16deb50f5

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