summaryrefslogtreecommitdiff
path: root/src/mongo/db/db.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/db.cpp')
-rw-r--r--src/mongo/db/db.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/db/db.cpp b/src/mongo/db/db.cpp
index 963aa21e95f..36a579b9f4f 100644
--- a/src/mongo/db/db.cpp
+++ b/src/mongo/db/db.cpp
@@ -25,7 +25,7 @@
#include "mongo/base/init.h"
#include "mongo/base/initializer.h"
#include "mongo/base/status.h"
-#include "mongo/db/auth/auth_global_external_state_d.h"
+#include "mongo/db/auth/authz_manager_external_state_d.h"
#include "mongo/db/auth/authorization_manager.h"
#include "mongo/db/auth/authorization_manager_global.h"
#include "mongo/db/client.h"
@@ -1274,7 +1274,7 @@ static void processCommandLineOptions(const std::vector<std::string>& argv) {
}
MONGO_INITIALIZER(CreateAuthorizationManager)(InitializerContext* context) {
- setGlobalAuthorizationManager(new AuthorizationManager(new AuthGlobalExternalStateMongod()));
+ setGlobalAuthorizationManager(new AuthorizationManager(new AuthzManagerExternalStateMongod()));
return Status::OK();
}