From 9209ea7abb2b1243ef6043206bff566cc8ab4212 Mon Sep 17 00:00:00 2001 From: norareidy Date: Thu, 22 May 2025 12:14:12 -0400 Subject: [PATCH] DOCSP-50021: Remove eol server mentions --- source/security/authentication.txt | 58 ++++++------------------------ 1 file changed, 11 insertions(+), 47 deletions(-) diff --git a/source/security/authentication.txt b/source/security/authentication.txt index d9b2a12..6e80a14 100644 --- a/source/security/authentication.txt +++ b/source/security/authentication.txt @@ -33,24 +33,18 @@ server to ensure security. :ref:`Enterprise Authentication Mechanisms guide `. .. _kotlin-sync-auth-default: +.. _kotlin-sync-auth-scramsha256: -Default -------- - -The default authentication mechanism setting uses one of the following -authentication mechanisms depending on what your MongoDB server supports: - -#. ``SCRAM-SHA-256``: An authentication mechanism that - uses your database username and password, encrypted with the ``SHA-256`` - algorithm -#. ``SCRAM-SHA-1``: An authentication mechanism that - uses your database username and password, encrypted with the ``SHA-1`` - algorithm +SCRAM-SHA-256 +------------- -{+mdb-server+} versions 4.0 and later use ``SCRAM-SHA-256`` as the default -authentication mechanism. +``SCRAM-SHA-256``, as defined by `RFC 7677 `__, +is a Salted Challenge Response Authentication Mechanism +(SCRAM) that uses your username and password, encrypted with the ``SHA-256`` +algorithm, to authenticate your user. This is the default authentication +mechanism. -The following code snippets show how to use the default authentication mechanism by +The following code snippets show how to specify this default authentication mechanism by using the following placeholders: * ``db_username``: Your MongoDB database username. @@ -93,34 +87,8 @@ mechanism: :end-before: end-default-mongo-cred :dedent: -For more information about using SCRAM with MongoDB, see the -:manual:`SCRAM ` section of the {+mdb-server+} manual. - -.. _kotlin-sync-auth-scramsha256: - -SCRAM-SHA-256 -------------- - -.. note:: - - ``SCRAM-SHA-256`` is the default authentication method for {+mdb-server+} - versions 4.0 and later. - -``SCRAM-SHA-256``, as defined by `RFC 7677 `__, -is a Salted Challenge Response Authentication Mechanism -(SCRAM) that uses your username and password, encrypted with the ``SHA-256`` -algorithm, to authenticate your user. - -The following code snippets show how to specify the authentication mechanism by -using the following placeholders: - -* ``db_username``: Your MongoDB database username. -* ``db_password``: Your MongoDB database user's password. -* ``hostname``: The network address of your MongoDB deployment, accessible by your client. -* ``port``: The port number of your MongoDB deployment. -* ``authenticationDb``: The MongoDB database that contains your user's - authentication data. If you omit this parameter, the driver uses the - default value ``admin``. +You can also explicitly specify the `SCRAM-SHA-256`` authentication mechanism, +as shown in the following code snippets. Select the :guilabel:`Connection String` or the :guilabel:`MongoCredential` tab below for instructions and sample code for specifying this authentication @@ -161,10 +129,6 @@ mechanism: SCRAM-SHA-1 ----------- -.. note:: - ``SCRAM-SHA-1`` is the default authentication method for MongoDB versions - {+mdb-server+} versions 3.6 and earlier. - ``SCRAM-SHA-1``, as defined by `RFC 5802 `__, is a Salted Challenge Response Authentication Mechanism (SCRAM) that uses your username and password, encrypted with the ``SHA-1`` algorithm, to authenticate