diff options
author | Ben Caimano <ben.caimano@10gen.com> | 2021-03-03 18:43:05 +0000 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2021-03-18 17:15:28 +0000 |
commit | 68012be8b6831dee11f3e43f573e6c58caf8b464 (patch) | |
tree | b09d4666acbc4631f53d33e59e58c1b75f0df834 /src/mongo/embedded | |
parent | 5af62fea5082fce72eb8d582040e55acefb28e09 (diff) | |
download | mongo-68012be8b6831dee11f3e43f573e6c58caf8b464.tar.gz |
SERVER-54964 Require valid client for all audit events
Diffstat (limited to 'src/mongo/embedded')
-rw-r--r-- | src/mongo/embedded/embedded_auth_session.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/mongo/embedded/embedded_auth_session.cpp b/src/mongo/embedded/embedded_auth_session.cpp index 17cdb5a3610..596866407ff 100644 --- a/src/mongo/embedded/embedded_auth_session.cpp +++ b/src/mongo/embedded/embedded_auth_session.cpp @@ -106,7 +106,11 @@ public: // Always okay to do something, on embedded. } - void logoutDatabase(OperationContext* opCtx, const StringData) override { + void logoutAllDatabases(Client*, StringData) override { + // Since we didn't actively authorize, we do not actively deauthorize. + } + + void logoutDatabase(Client*, StringData, StringData) override { UASSERT_NOT_IMPLEMENTED; } |