Skip to content

Commit ade5e21

Browse files
committed
fix core api links
1 parent 015886e commit ade5e21

File tree

1 file changed

+9
-14
lines changed

1 file changed

+9
-14
lines changed

source/security/authentication.txt

Lines changed: 9 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -25,11 +25,6 @@ each **authentication mechanism** available in the {+driver-long+}.
2525
Authentication is the process by which the driver proves its identity to the
2626
server to ensure security.
2727

28-
To learn more about the connection string formats and authentication options,
29-
see the :manual:`Connection String Formats
30-
</reference/connection-string/#connection-string-formats>` section
31-
of the Connection Strings guide in the Server manual.
32-
3328
.. note:: Enterprise Authentication Mechanisms
3429

3530
This page describes the authentication mechanisms available in MongoDB
@@ -156,11 +151,11 @@ mechanism:
156151

157152
To specify the default authentication mechanism by using the
158153
``MongoCredential`` class, use the
159-
`createScramSha256Credential() <{+api+}/apidocs/mongodb-driver-core/com/mongodb/MongoCredential.html#createScramSha256Credential(java.lang.String,java.lang.String,char[])>`__
154+
`createScramSha256Credential() <{+core-api+}/com/mongodb/MongoCredential.html#createScramSha256Credential(java.lang.String,java.lang.String,char[])>`__
160155
method. Also, enable TLS by calling the
161-
`applyToSslSettings() <{+api+}/apidocs/mongodb-driver-core/com/mongodb/MongoClientSettings.Builder.html#applyToSslSettings(com.mongodb.Block)>`__
156+
`applyToSslSettings() <{+core-api+}/com/mongodb/MongoClientSettings.Builder.html#applyToSslSettings(com.mongodb.Block)>`__
162157
method and setting the ``enabled`` property to ``true`` in the
163-
`SslSettings.Builder <{+api+}/apidocs/mongodb-driver-core/com/mongodb/connection/SslSettings.Builder.html>`__
158+
`SslSettings.Builder <{+core-api+}/com/mongodb/connection/SslSettings.Builder.html>`__
164159
block. Your code to instantiate a ``MongoClient`` should resemble the following:
165160

166161
.. literalinclude:: /includes/security/authentication.kt
@@ -219,11 +214,11 @@ mechanism:
219214

220215
To specify the default authentication mechanism by using the
221216
``MongoCredential`` class, use the
222-
`createScramSha1Credential() <{+api+}/apidocs/mongodb-driver-core/com/mongodb/MongoCredential.html#createScramSha1Credential(java.lang.String,java.lang.String,char[])>`__
217+
`createScramSha1Credential() <{+core-api+}/com/mongodb/MongoCredential.html#createScramSha1Credential(java.lang.String,java.lang.String,char[])>`__
223218
method. Also, enable TLS by calling the
224-
`applyToSslSettings() <{+api+}/apidocs/mongodb-driver-core/com/mongodb/MongoClientSettings.Builder.html#applyToSslSettings(com.mongodb.Block)>`__
219+
`applyToSslSettings() <{+api+}/com/mongodb/MongoClientSettings.Builder.html#applyToSslSettings(com.mongodb.Block)>`__
225220
method and setting the ``enabled`` property to ``true`` in the
226-
`SslSettings.Builder <{+api+}/apidocs/mongodb-driver-core/com/mongodb/connection/SslSettings.Builder.html>`__
221+
`SslSettings.Builder <{+api+}/com/mongodb/connection/SslSettings.Builder.html>`__
227222
block. Your code to instantiate a ``MongoClient`` should resemble the following:
228223

229224
.. literalinclude:: /includes/security/authentication.kt
@@ -279,11 +274,11 @@ mechanism:
279274

280275
To specify the ``X.509`` authentication mechanism by using the
281276
``MongoCredential`` class, use the
282-
`createMongoX509Credential() <{+api+}/apidocs/mongodb-driver-core/com/mongodb/MongoCredential.html#createMongoX509Credential(java.lang.String)>`__
277+
`createMongoX509Credential() <{+api+}/com/mongodb/MongoCredential.html#createMongoX509Credential(java.lang.String)>`__
283278
method. Also, enable TLS by calling the
284-
`applyToSslSettings() <{+api+}/apidocs/mongodb-driver-core/com/mongodb/MongoClientSettings.Builder.html#applyToSslSettings(com.mongodb.Block)>`__
279+
`applyToSslSettings() <{+api+}/com/mongodb/MongoClientSettings.Builder.html#applyToSslSettings(com.mongodb.Block)>`__
285280
method and setting the ``enabled`` property to ``true`` in the
286-
`SslSettings.Builder <{+api+}/apidocs/mongodb-driver-core/com/mongodb/connection/SslSettings.Builder.html>`__
281+
`SslSettings.Builder <{+api+}/com/mongodb/connection/SslSettings.Builder.html>`__
287282
block. Your code to instantiate a ``MongoClient`` should resemble the following:
288283

289284
.. literalinclude:: /includes/security/authentication.kt

0 commit comments

Comments
 (0)