@@ -86,9 +86,9 @@ mechanism:
86
86
To specify the default authentication mechanism by using the
87
87
``MongoCredential`` class, use the ``createCredential()`` method.
88
88
Also, enable TLS by calling the
89
- `applyToSslSettings() <{+api+}/apidocs/mongodb-driver-core /com/mongodb/MongoClientSettings.Builder.html#applyToSslSettings(com.mongodb.Block)>`__
89
+ `applyToSslSettings() <{+core- api+}/com/mongodb/MongoClientSettings.Builder.html#applyToSslSettings(com.mongodb.Block)>`__
90
90
method and setting the ``enabled`` property to ``true`` in the
91
- `SslSettings.Builder <{+api+}/apidocs/mongodb-driver-core /com/mongodb/connection/SslSettings.Builder.html>`__
91
+ `SslSettings.Builder <{+core- api+}/com/mongodb/connection/SslSettings.Builder.html>`__
92
92
block. Your code to instantiate a ``MongoClient`` should resemble the following:
93
93
94
94
.. literalinclude:: /includes/security/authentication.kt
@@ -216,9 +216,9 @@ mechanism:
216
216
``MongoCredential`` class, use the
217
217
`createScramSha1Credential() <{+core-api+}/com/mongodb/MongoCredential.html#createScramSha1Credential(java.lang.String,java.lang.String,char[])>`__
218
218
method. Also, enable TLS by calling the
219
- `applyToSslSettings() <{+api+}/com/mongodb/MongoClientSettings.Builder.html#applyToSslSettings(com.mongodb.Block)>`__
219
+ `applyToSslSettings() <{+core- api+}/com/mongodb/MongoClientSettings.Builder.html#applyToSslSettings(com.mongodb.Block)>`__
220
220
method and setting the ``enabled`` property to ``true`` in the
221
- `SslSettings.Builder <{+api+}/com/mongodb/connection/SslSettings.Builder.html>`__
221
+ `SslSettings.Builder <{+core- api+}/com/mongodb/connection/SslSettings.Builder.html>`__
222
222
block. Your code to instantiate a ``MongoClient`` should resemble the following:
223
223
224
224
.. literalinclude:: /includes/security/authentication.kt
@@ -273,11 +273,11 @@ mechanism:
273
273
274
274
To specify the ``X.509`` authentication mechanism by using the
275
275
``MongoCredential`` class, use the
276
- `createMongoX509Credential() <{+api+}/com/mongodb/MongoCredential.html#createMongoX509Credential(java.lang.String)>`__
276
+ `createMongoX509Credential() <{+core- api+}/com/mongodb/MongoCredential.html#createMongoX509Credential(java.lang.String)>`__
277
277
method. Also, enable TLS by calling the
278
- `applyToSslSettings() <{+api+}/com/mongodb/MongoClientSettings.Builder.html#applyToSslSettings(com.mongodb.Block)>`__
278
+ `applyToSslSettings() <{+core- api+}/com/mongodb/MongoClientSettings.Builder.html#applyToSslSettings(com.mongodb.Block)>`__
279
279
method and setting the ``enabled`` property to ``true`` in the
280
- `SslSettings.Builder <{+api+}/com/mongodb/connection/SslSettings.Builder.html>`__
280
+ `SslSettings.Builder <{+core- api+}/com/mongodb/connection/SslSettings.Builder.html>`__
281
281
block. Your code to instantiate a ``MongoClient`` should resemble the following:
282
282
283
283
.. literalinclude:: /includes/security/authentication.kt
0 commit comments