Home
last modified time | relevance | path

Searched refs:authenticationRestrictions (Results 1 – 5 of 5) sorted by relevance

/dports/databases/mongodb36/mongodb-src-r3.6.23/src/mongo/db/commands/
H A Duser_management_commands.cpp705 if (args.authenticationRestrictions && !args.authenticationRestrictions->isEmpty()) { in run()
744 args.authenticationRestrictions); in run()
788 !args.authenticationRestrictions) { in run()
830 if (args.authenticationRestrictions) { in run()
831 if (args.authenticationRestrictions->isEmpty()) { in run()
884 args.authenticationRestrictions); in run()
1377 if (args.authenticationRestrictions && !args.authenticationRestrictions->isEmpty()) { in run()
1469 if (args.authenticationRestrictions) { in run()
1470 if (args.authenticationRestrictions->isEmpty()) { in run()
2483 authenticationRestrictions = r.getValue(); in auditCreateOrUpdateUser()
[all …]
H A Duser_management_commands_common.cpp152 authzSession, static_cast<bool>(args.authenticationRestrictions), args.userName.getDB()); in checkAuthForCreateUserCommand()
209 authzSession, static_cast<bool>(args.authenticationRestrictions), args.userName.getDB()); in checkAuthForUpdateUserCommand()
259 authzSession, static_cast<bool>(args.authenticationRestrictions), args.roleName.getDB()); in checkAuthForCreateRoleCommand()
297 authzSession, static_cast<bool>(args.authenticationRestrictions), args.roleName.getDB()); in checkAuthForUpdateRoleCommand()
/dports/databases/mongodb36/mongodb-src-r3.6.23/src/mongo/db/auth/
H A Duser_management_commands_parser.h58 boost::optional<BSONArray> authenticationRestrictions; member
140 boost::optional<BSONArray> authenticationRestrictions; member
H A Duser_document_parser.cpp465 const auto authenticationRestrictions = privDoc[AUTHENTICATION_RESTRICTIONS_FIELD_NAME]; in initializeAuthenticationRestrictionsFromUserDocument() local
466 if (!authenticationRestrictions.eoo()) { in initializeAuthenticationRestrictionsFromUserDocument()
467 if (authenticationRestrictions.type() != Array) { in initializeAuthenticationRestrictionsFromUserDocument()
473 parseAuthenticationRestriction(BSONArray(authenticationRestrictions.Obj())); in initializeAuthenticationRestrictionsFromUserDocument()
H A Duser_management_commands_parser.cpp264 parsedArgs->authenticationRestrictions = in parseCreateOrUpdateUserCommands()
577 parsedArgs->authenticationRestrictions = restrictions.getValue(); in parseCreateOrUpdateRoleCommands()