summaryrefslogtreecommitdiff
path: root/src/mongo/db/audit.cpp
diff options
context:
space:
mode:
authorAdam Midvidy <amidvidy@gmail.com>2015-06-10 22:10:30 -0400
committerAdam Midvidy <amidvidy@gmail.com>2015-06-16 16:25:38 -0400
commit4eb15b34d157e2719fc9034f5956b698d96ef64e (patch)
treedbdb1714147eba77fd24f92d04d05db87afc0c3f /src/mongo/db/audit.cpp
parent2bf407c955f383a29d3d10fc6be273d9c6890961 (diff)
downloadmongo-4eb15b34d157e2719fc9034f5956b698d96ef64e.tar.gz
SERVER-18236 SERVER-18292 send impersonated users and roles via metadata object
Diffstat (limited to 'src/mongo/db/audit.cpp')
-rw-r--r--src/mongo/db/audit.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/mongo/db/audit.cpp b/src/mongo/db/audit.cpp
index 4e08cdb2a5b..b07c137c8ab 100644
--- a/src/mongo/db/audit.cpp
+++ b/src/mongo/db/audit.cpp
@@ -196,17 +196,15 @@ namespace audit {
const BSONObj& keyPattern,
bool unique) MONGO_AUDIT_STUB
- void appendImpersonatedUsers(BSONObjBuilder* cmd) MONGO_AUDIT_STUB
+ void writeImpersonatedUsersToMetadata(BSONObjBuilder* metadata) MONGO_AUDIT_STUB
void parseAndRemoveImpersonatedUsersField(
BSONObj cmdObj,
- AuthorizationSession* authSession,
std::vector<UserName>* parsedUserNames,
bool* fieldIsPresent) MONGO_AUDIT_STUB
void parseAndRemoveImpersonatedRolesField(
BSONObj cmdObj,
- AuthorizationSession* authSession,
std::vector<RoleName>* parsedRoleNames,
bool* fieldIsPresent) MONGO_AUDIT_STUB