diff options
author | Andy Schwerin <schwerin@10gen.com> | 2013-10-25 14:17:44 -0400 |
---|---|---|
committer | Andy Schwerin <schwerin@10gen.com> | 2013-10-25 15:10:43 -0400 |
commit | ea84e033a8c61d492e322cd7de69331aa09058d9 (patch) | |
tree | f367e642af896e8b2463f6816c3c49279140cba6 /src/mongo/db/auth/authz_session_external_state_mock.h | |
parent | 5ab631f4f4e64d8c336474f42d61a87d547804ef (diff) | |
download | mongo-ea84e033a8c61d492e322cd7de69331aa09058d9.tar.gz |
SERVER-9516 Support schemaV24 users, for use prior to auth schema upgrade.
To enable this support, one must change the _version field when constructing the
AuthorizationManager, which is not possible in this change set. A separate
change will introduce proper version detection and writing of
admin.system.version, at which point this functionality can be enabled.
Diffstat (limited to 'src/mongo/db/auth/authz_session_external_state_mock.h')
-rw-r--r-- | src/mongo/db/auth/authz_session_external_state_mock.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/mongo/db/auth/authz_session_external_state_mock.h b/src/mongo/db/auth/authz_session_external_state_mock.h index 5e76e1f4e08..3db4df17de6 100644 --- a/src/mongo/db/auth/authz_session_external_state_mock.h +++ b/src/mongo/db/auth/authz_session_external_state_mock.h @@ -53,12 +53,6 @@ namespace mongo { _returnValue = returnValue; } - virtual Status _findUser(const std::string& usersNamespace, - const BSONObj& query, - BSONObj* result) const { - return Status(ErrorCodes::UserNotFound, "User not found"); - } - virtual void startRequest() {} private: |