summaryrefslogtreecommitdiff
path: root/src/mongo/db/stats
diff options
context:
space:
mode:
authorAdam Rayner <adam.rayner@gmail.com>2021-11-29 17:52:30 +0000
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2021-11-29 18:49:38 +0000
commit7fa11ee0e0d8d283cc12bdebdd4940731d1536f1 (patch)
tree2c613de8ae377bd2e6a9c8b1b8652bb90481289b /src/mongo/db/stats
parentf64c8ccebbae5ce9071497fae7efeffe5b0c6169 (diff)
downloadmongo-7fa11ee0e0d8d283cc12bdebdd4940731d1536f1.tar.gz
SERVER-46399 remove fallback SCRAM-SHA-1 for internalSecurity.user
Diffstat (limited to 'src/mongo/db/stats')
-rw-r--r--src/mongo/db/stats/counters.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/mongo/db/stats/counters.cpp b/src/mongo/db/stats/counters.cpp
index d1a0640315a..79ab8fe1a1b 100644
--- a/src/mongo/db/stats/counters.cpp
+++ b/src/mongo/db/stats/counters.cpp
@@ -226,11 +226,8 @@ void AuthCounter::initializeMechanismMap(const std::vector<std::string>& mechani
// Ensure it's always included in counts.
addMechanism(auth::kMechanismMongoX509.toString());
- // SERVER-46399 Use only configured SASL mechanisms for intra-cluster auth.
- // It's possible for intracluster auth to use a default fallback mechanism of SCRAM-SHA-1/256
+ // It's possible for intracluster auth to use a default fallback mechanism of SCRAM-SHA-256
// even if it's not configured to do so.
- // Explicitly add these to the map for now so that they can be incremented if this happens.
- addMechanism(auth::kMechanismScramSha1.toString());
addMechanism(auth::kMechanismScramSha256.toString());
}