diff options
author | Spencer Jackson <spencer.jackson@mongodb.com> | 2016-12-07 16:11:57 -0500 |
---|---|---|
committer | Spencer Jackson <spencer.jackson@mongodb.com> | 2017-02-02 17:48:07 -0500 |
commit | 47da0b53f9cd27aeec1d2822780784866269a47d (patch) | |
tree | 39bcdaf2374bab9d0186f07030d1b32c936cdd31 /src/mongo/client/authenticate.cpp | |
parent | c742c4ebe789fafa3fccd4b25332a7df0782b252 (diff) | |
download | mongo-47da0b53f9cd27aeec1d2822780784866269a47d.tar.gz |
SERVER-26952: Cache SCRAM-SHA-1 ClientKey
Diffstat (limited to 'src/mongo/client/authenticate.cpp')
-rw-r--r-- | src/mongo/client/authenticate.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mongo/client/authenticate.cpp b/src/mongo/client/authenticate.cpp index 3f0320a2f4f..410caff4aae 100644 --- a/src/mongo/client/authenticate.cpp +++ b/src/mongo/client/authenticate.cpp @@ -241,7 +241,7 @@ bool isFailedAuthOk(const AuthResponse& response) { void auth(RunCommandHook runCommand, const BSONObj& params, - StringData hostname, + const HostAndPort& hostname, StringData clientName, AuthCompletionHandler handler) { std::string mechanism; @@ -285,7 +285,7 @@ void auth(RunCommandHook runCommand, void asyncAuth(RunCommandHook runCommand, const BSONObj& params, - StringData hostname, + const HostAndPort& hostname, StringData clientName, AuthCompletionHandler handler) { auth(runCommand, params, hostname, clientName, std::move(handler)); @@ -294,7 +294,7 @@ void asyncAuth(RunCommandHook runCommand, } // namespace void authenticateClient(const BSONObj& params, - StringData hostname, + const HostAndPort& hostname, StringData clientName, RunCommandHook runCommand, AuthCompletionHandler handler) { |