diff options
author | Spencer T Brody <spencer@10gen.com> | 2013-06-01 03:40:00 -0400 |
---|---|---|
committer | Spencer T Brody <spencer@10gen.com> | 2013-06-01 03:40:00 -0400 |
commit | f87c096e7d78c30f1e7c660fe4ad718d9b821217 (patch) | |
tree | 38a1489661827fede6b525ff43cff158a9f1e174 /src/mongo/db/auth/authz_session_external_state.h | |
parent | 661a68e0bd5d9679afa6a1fc9f371bb17a15129e (diff) | |
download | mongo-f87c096e7d78c30f1e7c660fe4ad718d9b821217.tar.gz |
Revert "Add pointer to AuthorizationManager to AuthzSessionExternalState"
This reverts commit 661a68e0bd5d9679afa6a1fc9f371bb17a15129e.
Diffstat (limited to 'src/mongo/db/auth/authz_session_external_state.h')
-rw-r--r-- | src/mongo/db/auth/authz_session_external_state.h | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/mongo/db/auth/authz_session_external_state.h b/src/mongo/db/auth/authz_session_external_state.h index bc6768eb8a6..d3e7f10b3af 100644 --- a/src/mongo/db/auth/authz_session_external_state.h +++ b/src/mongo/db/auth/authz_session_external_state.h @@ -21,7 +21,6 @@ #include "mongo/base/disallow_copying.h" #include "mongo/base/status.h" #include "mongo/client/dbclientinterface.h" -#include "mongo/db/auth/authorization_manager.h" #include "mongo/db/auth/user_name.h" namespace mongo { @@ -70,8 +69,7 @@ namespace mongo { virtual void onLogoutDatabase(const std::string& dbname) = 0; protected: - // This class should never be instantiated directly. - AuthzSessionExternalState(AuthorizationManager* authzManager); + AuthzSessionExternalState(); // This class should never be instantiated directly. // Queries the userNamespace with the given query and returns the privilegeDocument found // in *result. Returns true if it finds a document matching the query, or false if not. @@ -83,8 +81,6 @@ namespace mongo { // Returns true if there exists at least one privilege document in the given database. // TODO: remove this in favor of using the AuthzManagerExternalState bool _hasPrivilegeDocument(const std::string& dbname) const; - - AuthorizationManager* _authzManager; }; } // namespace mongo |