diff options
author | Andy Schwerin <schwerin@10gen.com> | 2013-07-03 15:00:29 -0400 |
---|---|---|
committer | Andy Schwerin <schwerin@10gen.com> | 2013-07-03 15:40:53 -0400 |
commit | 95efa9a5dd492f8abc85e412aaec9163c7a93ad2 (patch) | |
tree | 1b2f3e62c51adb935fa31233e9dca0e6e820c45e /src/mongo/db/auth/security_key.h | |
parent | de8ae2e2d4fa654b1ef2fbf840eeb05b24730e07 (diff) | |
download | mongo-95efa9a5dd492f8abc85e412aaec9163c7a93ad2.tar.gz |
Reapply "SERVER-7455 Common internal cluster auth function"
This reverts commit cd3101ca2f8e539a4ad425fa8e6da55a935dd2b1, but fixes a symbol
misplacement that broke linking.
Diffstat (limited to 'src/mongo/db/auth/security_key.h')
-rw-r--r-- | src/mongo/db/auth/security_key.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/mongo/db/auth/security_key.h b/src/mongo/db/auth/security_key.h index e261123dcea..f5c44c17911 100644 --- a/src/mongo/db/auth/security_key.h +++ b/src/mongo/db/auth/security_key.h @@ -18,9 +18,18 @@ #include <string> +#include "mongo/client/dbclientinterface.h" + namespace mongo { /** + * This method authenticates to another cluster member using appropriate + * authentication data + * @return true if the authentication was succesful + */ + extern bool authenticateInternalUser(DBClientWithCommands* conn); + + /** * This method checks the validity of filename as a security key, hashes its * contents, and stores it in the internalSecurity variable. Prints an * error message to the logs if there's an error. |