summaryrefslogtreecommitdiff
path: root/src/mongo/db/auth/authz_manager_external_state_d.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/auth/authz_manager_external_state_d.h')
-rw-r--r--src/mongo/db/auth/authz_manager_external_state_d.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mongo/db/auth/authz_manager_external_state_d.h b/src/mongo/db/auth/authz_manager_external_state_d.h
index a9c050be5cb..ebb2b4fb022 100644
--- a/src/mongo/db/auth/authz_manager_external_state_d.h
+++ b/src/mongo/db/auth/authz_manager_external_state_d.h
@@ -28,6 +28,7 @@
#pragma once
+#include <boost/thread/mutex.hpp>
#include <string>
#include "mongo/base/disallow_copying.h"
@@ -86,6 +87,9 @@ namespace mongo {
virtual Status _findUser(const string& usersNamespace,
const BSONObj& query,
BSONObj* result);
+
+ private:
+ boost::mutex _authzDataUpdateLock;
};
} // namespace mongo