summaryrefslogtreecommitdiff
path: root/src/mongo/db/auth/authz_manager_external_state_local.cpp
Commit message (Collapse)AuthorAgeFilesLines
* SERVER-37651 Update header files with new licenseRamon Fernandez2018-10-221-26/+28
|
* SERVER-37563 Remove all usages of getGlobalAuthorizationManagerKaloian Manassiev2018-10-121-1/+2
|
* SERVER-34821 Log target connection database separately from usernameJonathan Reams2018-09-141-3/+5
|
* SERVER-8240 Convert std::string parameters in auth module to StringData, as ↵Kashish Garg2018-06-081-1/+1
| | | | appropriate
* SERVER-34580 Plumb commit time to commit handlers when availableJudah Schvimer2018-05-031-1/+1
|
* SERVER-34541 Remove MessagePort and ListenerAndrew Morrow2018-04-181-0/+1
| | | | Also removes the unimportant but flaky scoped_db_conn_test
* SERVER-33275 Remove `platform/unordered_`* headersADAM David Alan Martin2018-02-141-1/+1
| | | | | | These headers date from before C++11 support and the `::mongo::stdx::` namespace. They can be removed and uses of the names therein can be changed to `::mongo::stdx::unordered_`* forms.
* SERVER-32070 migrate some easy stdx::bind to lambdasBilly Donahue2017-12-061-6/+6
| | | | | workaround gcc bug [branch stdx_bind_2]
* SERVER-32070 migrate some easy stdx::bind to lambdasBilly Donahue2017-12-041-1/+1
| | | | | | Work around GCC bug#67274 with explicit this-> syntax. This reverts commit 54db6356c47d7a639eae062818c3026561a64594. This reverts commit 19ced195b842d9521220f76b8dd7da8c929ad8ee.
* Revert "SERVER-32070 migrate some easy stdx::bind to lambdas"Kaloian Manassiev2017-12-011-1/+1
| | | | This reverts commit 7dc61c0f0c0160ad6cba831a0e12bef501ef3ad5.
* SERVER-32070 migrate some easy stdx::bind to lambdasBilly Donahue2017-12-011-1/+1
| | | | [branch stdx_bind_1]
* SERVER-29182: Add restriction support to the usersInfo commandSpencer Jackson2017-07-311-3/+9
|
* SERVER-30434: Process authenticationRestrictions in FCV 3.4Spencer Jackson2017-07-311-22/+1
|
* SERVER-29183 Fix typo: indirect/inheritedSara Golemon2017-07-261-4/+4
|
* SERVER-29371 Move auth privilege.h/.cpp into own library for use in aggJames Wahlin2017-07-251-0/+1
|
* SERVER-29183 Add restriction support to rolesInfoSara Golemon2017-07-241-49/+135
|
* SERVER-29177: Add restriction support to createUserSpencer Jackson2017-07-211-0/+8
|
* SERVER-29910 Make RoleGraph non-copyable (but movable)Sara Golemon2017-07-011-2/+2
| | | | Unrevert and apply MSVC workarounds.
* Revert "SERVER-29910 Make RoleGraph non-copyable (but movable)"Kaloian Manassiev2017-06-301-2/+2
| | | | This reverts commit 41cd527620d94a11362f2a5a1aa86643be22d36e.
* SERVER-29910 Make RoleGraph non-copyable (but movable)Sara Golemon2017-06-301-2/+2
| | | | | | | | | | Changed explicit trivial constructor to `default`. Removed explicit trivial destructor for non-virtual class. Declared `default` move-assignment and move-constructor methods. Removed `swap` implementations in favor of move assignment. Removed a test which dealt specifically with copyability since the class is no longer copyable.
* SERVER-27244 Status usage compile-time facilities.ADAM David Alan Martin2017-06-181-2/+3
| | | | | | | | | | | | | | | | | There are numerous places in the codebase where `mongo::Status` or `mongo::StatusWith< T >` objects are returned and never checked. Many of these are innocuous, but many of them are potentially severe bugs. This change introduces facilities to permit compile-time warning of unchecked `Status` and `StatusWith` usage on clang compilers. It introduces an `ignore` function which is useful to state that a specific "ignored status" case was intentional. It not presently an error, in clang builds, to forget to check a `Status` -- this will come in a later commit. This also introduces a `transitional_ignore` function, which allows for easy continual auditing of the codebase for current "whitelisted" unchecked-status instances. All present "ignored status" cases have been marked `transitional_ignore`.
* SERVER-28534 Pass collection names around as NamespaceStrings more oftenGeert Bosch2017-04-021-10/+13
| | | | | | | Before this patch 'ns' values were often passed around as std::string or char* containing either a dbname (no '.'), a dbname with '.$cmd', or a fully qualified collection name. Instead pass either plain 'dbName' value (as string) or a fully qualified name using the actual NamespaceString type.
* SERVER-27938 Rename all OperationContext variables to opCtxMaria van Keulen2017-03-071-25/+26
| | | | | | This commit is an automated rename of all whole word instances of txn, _txn, and txnPtr to opCtx, _opCtx, and opCtxPtr, respectively in all .cpp and .h files in src/mongo.
* SERVER-26944 Make Session decorable and move subsystem info into decorationsJonathan Reams2016-12-141-1/+2
|
* SERVER-24991 log redaction for bson, client, auth, catalogThomas Schubert2016-09-021-8/+8
|
* SERVER-22826 Support X509 AuthorizationSpencer Jackson2016-08-111-10/+71
|
* Revert "SERVER-22826 Support X509 Authorization"Spencer Jackson2016-08-101-71/+10
| | | | This reverts commit d930f4832631eca7092ada4328d780f2b8d19d31.
* SERVER-22826 Support X509 AuthorizationSpencer Jackson2016-08-091-10/+71
|
* SERVER-23971 Clang-Format codeMark Benvenuto2016-05-281-11/+19
|
* SERVER-23610 CanonicalQuery should own a CollatorInterfaceTess Avitabile2016-05-051-6/+9
|
* SERVER-23503 Expand localhost exception to include role creationSpencer Jackson2016-04-221-2/+8
|
* SERVER-22128 Make resolveUserRoles publically accessibleSpencer Jackson2016-03-221-3/+3
|
* SERVER-22057 refactor OpObserver::onUpdate and ↵Dianna Hohensee2016-01-151-1/+1
| | | | MigrationSourceManager::logUpdateOp to directly take the updated document
* SERVER-21659 Move logic for redacting 'bypassDocumentValidation' privilege ↵Spencer T Brody2015-11-301-20/+2
| | | | for backwards compatibility up to the usersInfo command
* SERVER-21486 Redact bypassDocumentValidation from user privilege set when ↵Spencer T Brody2015-11-191-3/+21
| | | | being talked to by a 3.0 mongos
* SERVER-19543 Thread OperationContext through to everywhere that accesses the ↵Spencer T Brody2015-08-121-2/+4
| | | | CatalogManager
* SERVER-18883 Separate user role resolution from getUserDescriptionSpencer Jackson2015-06-231-12/+17
|
* SERVER-18579: Clang-Format - reformat code, no comment reflowMark Benvenuto2015-06-201-366/+329
|
* SERVER-18723 boost -> stdx for mutex, unique_lock, and lock_guardAdam Midvidy2015-06-171-5/+5
|
* SERVER-18328 SERVER-18478 AuthzManagerExternalState for mongos should go ↵Daniel Alabi2015-05-221-0/+12
| | | | through the catalog manager
* SERVER-18244: Refactor AuthorizationManagerExternalState creationSpencer Jackson2015-05-061-4/+0
|
* SERVER-13896 Replace logOp() with a more operation-aware observer interfacematt dannenberg2015-03-111-15/+4
|
* SERVER-15192 Make AuthzManager logOp listener rollback-safealabid2015-02-131-22/+76
| | | | | | | The initial version of this commit was initially reverted because boost::optional<bool> gives spurious warnings due to a GCC bug that should have been fixed in GCC 4.8.5. This commit makes no use of boost::optional.
* Revert "SERVER-15192 Make AuthzManager logOp listener rollback-safe"Siyuan Zhou2015-02-111-74/+22
| | | | This reverts commit 295cb7943e21a22f9f3a95006de21b07b254afd2.
* SERVER-15192 Make AuthzManager logOp listener rollback-safealabid2015-02-111-22/+74
|
* SERVER-13256 Add usings and qualifications for names from namespace stdAndrew Morrow2015-01-151-0/+2
|
* SERVER-7596 Make authSchemaVersion 28Final if no user docsAndreas Nilsson2014-11-041-6/+1
|
* SERVER-15592 set default log component for all cppMatt Kangas2014-10-141-0/+2
|
* SERVER-15311 Never read from admin.system.new_users when looking for user ↵Andy Schwerin2014-09-181-0/+16
| | | | | | | | documents. The master branch no longer needs to support the 2.4-2.6 upgrade process, obviating the need for this decision making. Removing it will reduce the likelihood of future errors, and simplifies storage concurrency control by removing the need for a multi-document atomic read.
* SERVER-14729 logging cleanup - removed mongo/util/log.h from headers, ↵Benety Goh2014-08-121-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | de-inlining functions that use logging where applicable. de-inlined BSONElement::_asCode() de-inlined BSONObjBuilder::appendDate() de-inlined DBClientCursor::nextSafe() de-inlined IndexDescriptor::_checkOk() de-inlined LastErrorHolder::getSafe() de-inlined UpdateResult constructor de-inlined QueryPlannerCommon::reverseScans() de-inlined repl::ScopedConn::connect() de-inlined repl::_MultiCommand::run() de-inlined OplogReader::tailCheck() de-inlined repl::StateBox::change() de-inlined repl::SyncSourceFeedback::_resetConnection() de-inlined DiskLoc56Bit::operator=() de-inlined DurableInterface::~DurableInterface() de-inlined ListeningSockets::closeAll() de-inlined RelativePath::fromFullPath() and getPartition() de-inlined V8Scope::checkV8ErrorState and removed debug log message from ObjTracker destructor (v8-3.25) de-inlined V8Scope::checkV8ErrorState and removed debug log message from ObjTracker destructor removed log message from List1::orphan() - this should have no user-facing impact because List1::orphan() is used in tests only removed log message from RWLockRecursiveNongreedy::Lock() removed log message from RSBase destructor removed log.h dependency from DESTRUCTOR_GUARD macro removed mongo/util/log.h dependency from qlog.h removed mongo/util/log.h dependency from stacktrace.h removed mongo/util/log.h dependency from s2 logging header removed mongo/util/log.h dependency from chunk_diff-inl.cpp removed mongo/util/log.h from pch.h removed unused mongo/util/log.h include from inlined file sorter.cpp convert HashTable<K,V> to non-template NamespaceHashTable. De-inlined NamespaceHashTable::_find() and constructor convert isself getMyAddrs()and getallIPs() debug log to use LOG() macro assign default log component MONGO_LOG_DEFAULT_COMPONENT removed unused macros LOGATMOST and LOGSOME removed unused FLOG() macro from goodies.h