summaryrefslogtreecommitdiff
path: root/src/mongo/db/auth/security_key.h
diff options
context:
space:
mode:
authorAndreas Nilsson <andreas.nilsson@10gen.com>2014-02-18 10:20:33 -0500
committerAndreas Nilsson <andreas.nilsson@10gen.com>2014-02-19 15:34:35 -0500
commit28327ab66e97d3319ca2baf001385a38825da84c (patch)
tree5b8d44bb8c568b0cea1c3f9550de8bd4fcaaea42 /src/mongo/db/auth/security_key.h
parent9b93e7e43e279e2458d8e624750b561875611c18 (diff)
downloadmongo-28327ab66e97d3319ca2baf001385a38825da84c.tar.gz
SERVER-12476 Set internalAuth params when changing clusterAuthMode
Diffstat (limited to 'src/mongo/db/auth/security_key.h')
-rw-r--r--src/mongo/db/auth/security_key.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/mongo/db/auth/security_key.h b/src/mongo/db/auth/security_key.h
index 94f80f2c65a..298a5cf0906 100644
--- a/src/mongo/db/auth/security_key.h
+++ b/src/mongo/db/auth/security_key.h
@@ -40,10 +40,9 @@ namespace mongo {
/**
* This method initializes the internalSecurity object with authentication
- * credentials to be used by authenticateInternalUser. This method should
- * only be called once when setting up authentication method for the system.
+ * credentials to be used by authenticateInternalUser.
*/
- extern bool setInternalUserAuthParams(BSONObj authParams);
+ extern void setInternalUserAuthParams(const BSONObj& authParamsIn);
/**
* This method authenticates to another cluster member using appropriate