diff options
author | Eric Milkie <milkie@10gen.com> | 2013-12-19 17:12:12 -0500 |
---|---|---|
committer | Eric Milkie <milkie@10gen.com> | 2013-12-24 14:04:22 -0500 |
commit | f148caa11e97727949b5e8594b7439856faff499 (patch) | |
tree | bf19ff059f11538c2a87c4e3e685f70e5a026937 /src/mongo/db/commands/connection_status.cpp | |
parent | ee0365ac659fa89758263d19327d69c547eb2d50 (diff) | |
download | mongo-f148caa11e97727949b5e8594b7439856faff499.tar.gz |
SERVER-11192 hook c++ driver to transmit mongos authenticated users to mongod, for auditing
Also, add UserNameIterator as a parallel to RoleIterator.
Diffstat (limited to 'src/mongo/db/commands/connection_status.cpp')
-rw-r--r-- | src/mongo/db/commands/connection_status.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/commands/connection_status.cpp b/src/mongo/db/commands/connection_status.cpp index 680ae1730d0..a4d173c0143 100644 --- a/src/mongo/db/commands/connection_status.cpp +++ b/src/mongo/db/commands/connection_status.cpp @@ -56,7 +56,7 @@ namespace mongo { { BSONArrayBuilder authenticatedUsers(authInfo.subarrayStart("authenticatedUsers")); - UserSet::NameIterator nameIter = authSession->getAuthenticatedUserNames(); + UserNameIterator nameIter = authSession->getAuthenticatedUserNames(); for ( ; nameIter.more(); nameIter.next()) { BSONObjBuilder userInfoBuilder(authenticatedUsers.subobjStart()); userInfoBuilder.append(AuthorizationManager::USER_NAME_FIELD_NAME, |