diff options
Diffstat (limited to 'src/mongo/db/auth/authz_manager_external_state_mock.h')
-rw-r--r-- | src/mongo/db/auth/authz_manager_external_state_mock.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/mongo/db/auth/authz_manager_external_state_mock.h b/src/mongo/db/auth/authz_manager_external_state_mock.h index 081e4440e81..2f467155640 100644 --- a/src/mongo/db/auth/authz_manager_external_state_mock.h +++ b/src/mongo/db/auth/authz_manager_external_state_mock.h @@ -51,6 +51,11 @@ namespace mongo { AuthzManagerExternalStateMock() {}; + virtual Status initialize(); + virtual Status getUserDescription(const UserName& userName, BSONObj* result); + virtual Status getRoleDescription(const RoleName& roleName, BSONObj* result); + + virtual Status insertPrivilegeDocument(const std::string& dbname, const BSONObj& userObj, const BSONObj& writeConcern); |