diff options
author | Spencer T Brody <spencer@10gen.com> | 2013-05-31 14:45:59 -0400 |
---|---|---|
committer | Spencer T Brody <spencer@10gen.com> | 2013-06-03 17:11:32 -0400 |
commit | e2bc8d7824b1304dd8c4bc8d30e615432e60c08a (patch) | |
tree | 8c4e8447c47713db30dc2d245fa4597b5abb0841 /src/mongo/db/auth/authz_session_external_state_s.cpp | |
parent | 5dd87637236aeed5d05222835231ea7ee8dd1b4c (diff) | |
download | mongo-e2bc8d7824b1304dd8c4bc8d30e615432e60c08a.tar.gz |
Add pointer to AuthorizationManager to AuthzSessionExternalState
Diffstat (limited to 'src/mongo/db/auth/authz_session_external_state_s.cpp')
-rw-r--r-- | src/mongo/db/auth/authz_session_external_state_s.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/mongo/db/auth/authz_session_external_state_s.cpp b/src/mongo/db/auth/authz_session_external_state_s.cpp index 25caed2667f..1ddaca5914f 100644 --- a/src/mongo/db/auth/authz_session_external_state_s.cpp +++ b/src/mongo/db/auth/authz_session_external_state_s.cpp @@ -20,12 +20,15 @@ #include "mongo/base/status.h" #include "mongo/client/dbclientinterface.h" +#include "mongo/db/auth/authorization_manager.h" #include "mongo/db/jsobj.h" #include "mongo/s/grid.h" namespace mongo { - AuthzSessionExternalStateMongos::AuthzSessionExternalStateMongos() {} + AuthzSessionExternalStateMongos::AuthzSessionExternalStateMongos( + AuthorizationManager* authzManager) : + AuthzSessionExternalStateServerCommon(authzManager) {} AuthzSessionExternalStateMongos::~AuthzSessionExternalStateMongos() {} void AuthzSessionExternalStateMongos::onAddAuthorizedPrincipal(Principal*) { } |