Searched refs:authenticationRestrictions (Results 1 – 5 of 5) sorted by relevance
705 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 …]
152 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()
58 boost::optional<BSONArray> authenticationRestrictions; member140 boost::optional<BSONArray> authenticationRestrictions; member
465 const auto authenticationRestrictions = privDoc[AUTHENTICATION_RESTRICTIONS_FIELD_NAME]; in initializeAuthenticationRestrictionsFromUserDocument() local466 if (!authenticationRestrictions.eoo()) { in initializeAuthenticationRestrictionsFromUserDocument()467 if (authenticationRestrictions.type() != Array) { in initializeAuthenticationRestrictionsFromUserDocument()473 parseAuthenticationRestriction(BSONArray(authenticationRestrictions.Obj())); in initializeAuthenticationRestrictionsFromUserDocument()
264 parsedArgs->authenticationRestrictions = in parseCreateOrUpdateUserCommands()577 parsedArgs->authenticationRestrictions = restrictions.getValue(); in parseCreateOrUpdateRoleCommands()