summaryrefslogtreecommitdiff
path: root/src/mongo/db/auth/authz_manager_external_state_s.h
diff options
context:
space:
mode:
authorAndy Schwerin <schwerin@mongodb.com>2015-04-06 10:48:36 -0400
committerAndy Schwerin <schwerin@mongodb.com>2015-04-06 18:20:14 -0400
commit7ea3fc90c6c1f175da1e76ff79b1e6ae09377141 (patch)
treebd2f3f246c48a3a88578c3195432cb30fc3bfff2 /src/mongo/db/auth/authz_manager_external_state_s.h
parent9e2cc1588f25f81983de48f2c69130203e325175 (diff)
downloadmongo-7ea3fc90c6c1f175da1e76ff79b1e6ae09377141.tar.gz
SERVER-17817 When setting up ClientBasic, get AuthorizationSession object from AuthorizationManager.
Diffstat (limited to 'src/mongo/db/auth/authz_manager_external_state_s.h')
-rw-r--r--src/mongo/db/auth/authz_manager_external_state_s.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mongo/db/auth/authz_manager_external_state_s.h b/src/mongo/db/auth/authz_manager_external_state_s.h
index 5e1c97cc8f0..7601993a536 100644
--- a/src/mongo/db/auth/authz_manager_external_state_s.h
+++ b/src/mongo/db/auth/authz_manager_external_state_s.h
@@ -54,6 +54,8 @@ namespace mongo {
virtual ~AuthzManagerExternalStateMongos();
virtual Status initialize(OperationContext* txn);
+ std::unique_ptr<AuthzSessionExternalState> makeAuthzSessionExternalState(
+ AuthorizationManager* authzManager) override;
virtual Status getStoredAuthorizationVersion(OperationContext* txn, int* outVersion);
virtual Status getUserDescription(
OperationContext* txn, const UserName& userName, BSONObj* result);