summaryrefslogtreecommitdiff
path: root/src/mongo/db/auth/security_key.h
diff options
context:
space:
mode:
authorAndreas Nilsson <andreas.nilsson@10gen.com>2013-07-03 19:23:25 +0100
committerAndreas Nilsson <andreas.nilsson@10gen.com>2013-07-03 19:27:17 +0100
commitcd3101ca2f8e539a4ad425fa8e6da55a935dd2b1 (patch)
tree28c2891f8327a8c796b92e95cd03b8b26784662f /src/mongo/db/auth/security_key.h
parent00fb45cd97d2314548dc07c2c8e1cc1737fd273f (diff)
downloadmongo-cd3101ca2f8e539a4ad425fa8e6da55a935dd2b1.tar.gz
Revert "SERVER-7455 Common internal cluster auth function"
Broke auth C++ unit tests This reverts commit 00fb45cd97d2314548dc07c2c8e1cc1737fd273f.
Diffstat (limited to 'src/mongo/db/auth/security_key.h')
-rw-r--r--src/mongo/db/auth/security_key.h19
1 files changed, 0 insertions, 19 deletions
diff --git a/src/mongo/db/auth/security_key.h b/src/mongo/db/auth/security_key.h
index e62bb3f32fd..e261123dcea 100644
--- a/src/mongo/db/auth/security_key.h
+++ b/src/mongo/db/auth/security_key.h
@@ -18,28 +18,9 @@
#include <string>
-#include "mongo/client/dbclientinterface.h"
-
namespace mongo {
/**
- * Internal secret key info.
- */
- struct AuthInfo {
- AuthInfo();
- std::string user;
- std::string pwd;
- };
- extern AuthInfo internalSecurity; // set at startup and not changed after initialization.
-
- /**
- * 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.