Skip to content

Commit df0c80f

Browse files
mongoKartrustagir
andcommitted
Authentication refactor (#284)
Co-authored-by: Rea Rustagi <[email protected]> (cherry picked from commit bf67d80)
1 parent 50d1f63 commit df0c80f

File tree

14 files changed

+1125
-862
lines changed

14 files changed

+1125
-862
lines changed

config/redirects

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,3 +14,6 @@ raw: ${prefix}/master -> ${base}/upcoming/
1414
[*-master]: ${prefix}/${version}/fundamentals/data-formats/polymorphism/ -> ${base}/${version}/fundamentals/serialization/polymorphic-objects/
1515
[*-master]: ${prefix}/${version}/fundamentals/data-formats/bson/ -> ${base}/${version}/fundamentals/bson/
1616
[*-master]: ${prefix}/${version}/fundamentals/class-mapping/ -> ${base}/${version}/fundamentals/serialization/class-mapping/
17+
[*-v2.30]: ${prefix}/${version}/upgrade/v2/ -> ${base}/${version}/upgrade/
18+
[*-v2.30]: ${prefix}/${version}/upgrade/v3/ -> ${base}/${version}/upgrade/
19+
[v3.0-*]: ${prefix}/${version}/fundamentals/enterprise-authentication/ -> ${base}/${version}/fundamentals/authentication/

snooty.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ toc_landing_pages = [
66
"/usage-examples",
77
"/fundamentals",
88
"/fundamentals/serialization",
9+
"/fundamentals/authentication",
910
"/upgrade",
1011
"/fundamentals/database-collection"
1112
]

source/connection-troubleshooting.txt

Lines changed: 1 addition & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -182,28 +182,7 @@ the same machine doesn't require any authorization to connect.
182182
X.509 Credential Error
183183
~~~~~~~~~~~~~~~~~~~~~~
184184

185-
If you are using Windows as your operating system, you might encounter an issue in which the
186-
{+driver-short+} is unable to locate an ``X.509`` authentication certificate in memory.
187-
This error is raised with the following error message:
188-
189-
.. code-block:: none
190-
:copyable: false
191-
192-
No credentials are available in the security package
193-
194-
The following section describes a method that may help resolve the issue.
195-
196-
Create and Store the Certificate On-Disk
197-
----------------------------------------
198-
199-
Use the following code to generate any ``X.509`` certificates required by your application:
200-
201-
.. code-block:: csharp
202-
203-
using (X509Certificate2 certWithKey = certOnly.CopyWithPrivateKey(key))
204-
{
205-
return new X509Certificate2(certWithKey.Export(X509ContentType.Pkcs12));
206-
}
185+
.. include:: /includes/troubleshooting/x509.rst
207186

208187
Error Sending Message
209188
~~~~~~~~~~~~~~~~~~~~~

source/fundamentals.txt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ Fundamentals
1818
/fundamentals/atlas-search
1919
/fundamentals/stable-api
2020
/fundamentals/authentication
21-
/fundamentals/enterprise-authentication
2221
/fundamentals/aggregation
2322
/fundamentals/linq
2423
/fundamentals/bson
@@ -62,7 +61,6 @@ Fundamentals
6261
- :ref:`csharp-atlas-search`
6362
- :ref:`csharp-stable-api`
6463
- :ref:`csharp-authentication-mechanisms`
65-
- :ref:`csharp-enterprise-authentication-mechanisms`
6664
- :ref:`csharp-aggregation`
6765
- :ref:`csharp-linq`
6866
- :ref:`csharp-bson`

0 commit comments

Comments
 (0)