diff options
author | Billy Donahue <billy.donahue@mongodb.com> | 2018-12-12 15:24:36 -0500 |
---|---|---|
committer | Billy Donahue <billy.donahue@mongodb.com> | 2018-12-13 16:56:47 -0500 |
commit | e09ecae708d96a608abdbf99bc961824ed9ca0c9 (patch) | |
tree | a364c50ec45b731c3df165e0b9291d0fc610bbc0 /src/mongo/db/auth/authorization_manager_impl.h | |
parent | b13a3dc314f05a719b45d793a6c14a9e2ac8be0c (diff) | |
download | mongo-e09ecae708d96a608abdbf99bc961824ed9ca0c9.tar.gz |
SERVER-38533 Convert src/mongo/db/auth/authorization_manager_impl.cpp to IDL
Diffstat (limited to 'src/mongo/db/auth/authorization_manager_impl.h')
-rw-r--r-- | src/mongo/db/auth/authorization_manager_impl.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/mongo/db/auth/authorization_manager_impl.h b/src/mongo/db/auth/authorization_manager_impl.h index 52151139385..7d8794a5b35 100644 --- a/src/mongo/db/auth/authorization_manager_impl.h +++ b/src/mongo/db/auth/authorization_manager_impl.h @@ -259,4 +259,14 @@ private: AtomicBool _inUserManagementCommand{false}; }; + +extern int authorizationManagerCacheSize; + +// Hooks for IDL server parameter 'authorizationManagerPinnedUsers'. +struct AuthorizationManagerPinnedUsersHooks { + static void appendBson(OperationContext* opCtx, BSONObjBuilder* out, StringData name); + static Status fromBson(const BSONElement& newValue); + static Status fromString(StringData str); +}; + } // namespace mongo |