summaryrefslogtreecommitdiff
path: root/src/mongo/client/authenticate.cpp
diff options
context:
space:
mode:
authorSpencer Jackson <spencer.jackson@mongodb.com>2016-12-07 16:11:57 -0500
committerSpencer Jackson <spencer.jackson@mongodb.com>2017-02-02 17:48:07 -0500
commit47da0b53f9cd27aeec1d2822780784866269a47d (patch)
tree39bcdaf2374bab9d0186f07030d1b32c936cdd31 /src/mongo/client/authenticate.cpp
parentc742c4ebe789fafa3fccd4b25332a7df0782b252 (diff)
downloadmongo-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.cpp6
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) {