diff options
author | Spencer Jackson <spencer.jackson@mongodb.com> | 2020-01-28 09:40:38 -0500 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2020-02-11 01:35:42 +0000 |
commit | 6cc6194661eced3b02a5a853c382276bf258871c (patch) | |
tree | 6e453ede8a40c3d9d158bb849e4ff6903b91d646 /src/mongo/client/native_sasl_client_session.cpp | |
parent | 0b73485f6dd17e52f5810229fa09ba6e406633c6 (diff) | |
download | mongo-6cc6194661eced3b02a5a853c382276bf258871c.tar.gz |
SERVER-45723 Rename IAM Auth mechanism to AWS
Diffstat (limited to 'src/mongo/client/native_sasl_client_session.cpp')
-rw-r--r-- | src/mongo/client/native_sasl_client_session.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mongo/client/native_sasl_client_session.cpp b/src/mongo/client/native_sasl_client_session.cpp index 0211ba72ef5..fbdf17266b0 100644 --- a/src/mongo/client/native_sasl_client_session.cpp +++ b/src/mongo/client/native_sasl_client_session.cpp @@ -32,8 +32,8 @@ #include "mongo/client/native_sasl_client_session.h" #include "mongo/base/init.h" +#include "mongo/client/sasl_aws_client_conversation.h" #include "mongo/client/sasl_client_conversation.h" -#include "mongo/client/sasl_iam_client_conversation.h" #include "mongo/client/sasl_plain_client_conversation.h" #include "mongo/client/sasl_scram_client_conversation.h" #include "mongo/client/scram_client_cache.h" @@ -80,9 +80,9 @@ Status NativeSaslClientSession::initialize() { _saslConversation.reset( new SaslSCRAMClientConversationImpl<SHA256Block>(this, scramsha256ClientCache)); #ifdef MONGO_CONFIG_SSL - // IAM depends on kms-message which depends on ssl libraries - } else if (mechanism == "MONGODB-IAM") { - _saslConversation.reset(new SaslIAMClientConversation(this)); + // AWS depends on kms-message which depends on ssl libraries + } else if (mechanism == "MONGODB-AWS") { + _saslConversation.reset(new SaslAWSClientConversation(this)); #endif } else { return Status(ErrorCodes::BadValue, |