Skip to content

Commit 32eb1c3

Browse files
authored
DOCSP-47061: Restructure authentication pages (#630)
* DOCSP-47061: Restructure authentication pages * edits, build errors * small fixes * typo * build errors
1 parent 52989b6 commit 32eb1c3

18 files changed

+1171
-1040
lines changed

snooty.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,8 @@ toc_landing_pages = [
1212
"/crud",
1313
"/crud/builders",
1414
"/data-formats",
15-
"/api-documentation"
15+
"/api-documentation",
16+
"/security/auth"
1617
]
1718

1819
sharedinclude_root = "https://raw.githubusercontent.com/10gen/docs-shared/main/"

source/connection.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ Learn how to set up a connection and specify connection behavior from your
2828
application to a MongoDB deployment using the driver in the following
2929
sections:
3030

31-
- :ref:`Connect to MongoDB <connect-to-mongodb>`
31+
- :ref:`Connect to MongoDB <java-connect-to-mongodb>`
3232
- :ref:`View a List of Connection Options <connection-options>`
3333
- :ref:`Specify Connection Behavior with the MongoClient Class <specify-mongoclient-settings>`
3434
- :ref:`Enable Network Compression <network-compression>`
@@ -38,4 +38,4 @@ sections:
3838
- :atlas:`Connect to MongoDB Atlas from AWS Lambda </manage-connections-aws-lambda/>`
3939

4040
For information about authenticating with a MongoDB instance,
41-
see :ref:`<authentication-mechanisms>` and :ref:`<enterprise-authentication-mechanisms>`.
41+
see the :ref:`<java-authentication-mechanisms>` section.

source/connection/connect.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
.. _connect-to-mongodb:
1+
.. _java-connect-to-mongodb:
22

33
==================
44
Connect to MongoDB
@@ -34,8 +34,8 @@ Use the ``MongoClients.create()`` method to construct a ``MongoClient``.
3434
As each ``MongoClient`` represents a thread-safe pool of connections to the
3535
database, most applications only require a single instance of a
3636
``MongoClient``, even across multiple threads.
37-
All resource usage limits, such as max connections, apply to individual
38-
``MongoClient`` instances.
37+
All resource usage limits, such as max connections, apply to individual
38+
``MongoClient`` instances.
3939

4040
To learn about the different settings you can use to control the
4141
behavior of your ``MongoClient``, see the guide on

source/connection/connection-troubleshooting.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -103,8 +103,8 @@ Connection Troubleshooting
103103

104104
.. replacement:: authentication-guide-reference
105105

106-
To learn more about specifying authentication mechanisms, see the :ref:`authentication-mechanisms` and
107-
:ref:`enterprise-authentication-mechanisms` guides.
106+
To learn more about specifying authentication mechanisms, see the :ref:`java-authentication-mechanisms`
107+
section.
108108

109109
.. replacement:: verify-authentication-mechanism-anchor
110110

source/connection/mongoclientsettings.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ connection behavior:
116116
messages to the server.
117117

118118
* - ``credential()``
119-
- Sets the :ref:`credential <authentication-mechanisms-java>`.
119+
- Sets the :ref:`credential <java-authentication-mechanisms>`.
120120

121121
* - ``readConcern()``
122122
- Sets the :manual:`read concern </reference/read-concern/>`.

source/crud/aggregation.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ Connect to a MongoDB Deployment
114114
.. tip::
115115

116116
To learn more about connecting to MongoDB, see the :ref:`Connection
117-
Guide <connect-to-mongodb>`.
117+
Guide <java-connect-to-mongodb>`.
118118

119119
Insert Sample Data
120120
++++++++++++++++++

source/faq.txt

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -185,9 +185,8 @@ check the following items in your code:
185185

186186
- The credentials for the authentication mechanism that you specified are
187187
correct. To learn how to specify your credentials, see the
188-
:ref:`authentication-mechanisms` and :ref:`enterprise-authentication-mechanisms`
189-
guides.
190-
188+
:ref:`java-authentication-mechanisms` section.
189+
191190
- The name of the authentication database that you specified is correct. To
192191
learn how to set up the users and roles for your MongoDB deployment, see
193192
`Manage Users and Roles <https://www.mongodb.com/docs/manual/tutorial/manage-users-and-roles/>`__

source/includes/connect-guide-note.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22

33
This example connects to an instance of MongoDB using a connection URI.
44
To learn more about connecting to your MongoDB instance, see the
5-
:ref:`connection guide <connect-to-mongodb>`.
5+
:ref:`connection guide <java-connect-to-mongodb>`.

source/security.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ Security
1010
:maxdepth: 1
1111

1212
Authentication </security/auth>
13-
Enterprise Authentication </security/enterprise-auth>
1413
In-Use Encryption </security/encrypt-fields>
1514
TLS/SSL </security/tls>
1615
SOCKS5 Proxy </security/socks>

0 commit comments

Comments
 (0)