diff options
author | Jonathan Reams <jbreams@mongodb.com> | 2018-11-05 18:22:59 -0500 |
---|---|---|
committer | Jonathan Reams <jbreams@mongodb.com> | 2018-11-14 16:33:12 -0500 |
commit | a8bfcc13011c5e859a10e56ce882a0d53a0a2031 (patch) | |
tree | 576413908983b0c8d3fefa644c55b414eea7409a /src/mongo/client/dbclient_connection.h | |
parent | a6a0ca1ae81b34aab14a9c9a2a3d4a6ec7be66ba (diff) | |
download | mongo-a8bfcc13011c5e859a10e56ce882a0d53a0a2031.tar.gz |
SERVER-32978 Advertise SCRAM-SHA-256 authentication for the internal user
Diffstat (limited to 'src/mongo/client/dbclient_connection.h')
-rw-r--r-- | src/mongo/client/dbclient_connection.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mongo/client/dbclient_connection.h b/src/mongo/client/dbclient_connection.h index c218d739de6..ddadf5c0230 100644 --- a/src/mongo/client/dbclient_connection.h +++ b/src/mongo/client/dbclient_connection.h @@ -280,6 +280,8 @@ public: return _isMongos; } + Status authenticateInternalUser() override; + protected: int _minWireVersion{0}; int _maxWireVersion{0}; @@ -310,6 +312,7 @@ protected: void _checkConnection(); + bool _internalAuthOnReconnect = false; std::map<std::string, BSONObj> authCache; static AtomicInt32 _numConnections; |