summaryrefslogtreecommitdiff
path: root/src/mongo/db/auth/authz_manager_external_state_d.h
Commit message (Collapse)AuthorAgeFilesLines
* SERVER-58670 Tighten up what kind of BSON the 'Query' type can be wrapped aroundIrina Yatsenko2021-08-231-1/+1
| | | | | | | | | This refactor includes: Remove dead code from 'Query' type and reduce it public interface. Split query argument in query/update/removed methods into filter BSON and settings (which are still passed around as 'Query' type). Remove Query(string) constructors. Remove most callers of 'Query(const BSONObj&)'. Replace public 'Query(const BSON&)' and 'Query.obj' with an explicit factory method and a getter.
* SERVER-50292 Refactor user acuisition via externalStateSara Golemon2020-09-021-1/+1
|
* SERVER-50187 Use AuthzManagerExternalState::roleExists() to simplify role checksSara Golemon2020-08-201-10/+13
|
* SERVER-39338 Remove `stdx/functional.h`ADAM David Alan Martin2019-06-101-2/+2
|
* SERVER-40529 Refresh pinned users in background threadJonathan Reams2019-05-281-4/+0
|
* SERVER-40357 expand all calls to MONGO_DISALLOW_COPYINGBilly Donahue2019-03-281-2/+2
| | | | | | | | | | | produced by: hits="$(git grep -n MONGO_DISALLOW_COPYING | cut -d: -f1 )" for f in "$hits"; do sed -i.orig ' s/^\( *\)MONGO_DISALLOW_COPYING(\(.*\));/\1\2(const \2\&) = delete;\n\1\2\& operator=(const \2\&) = delete;/; ' $f done
* SERVER-39560 - remove leading blank line on all C++ filesBilly Donahue2019-02-131-1/+0
| | | | | | Remove leading comments that are just stating the filename. Move any file-level comments below the copyright banner. Remove leading blank lines.
* SERVER-37651 Update header files with new licenseRamon Fernandez2018-10-221-26/+28
|
* SERVER-31552 Allow users to be pinned in memoryJonathan Reams2018-10-011-0/+4
|
* Revert "SERVER-31552 Allow users to be pinned in memory"Jonathan Reams2018-09-281-4/+0
| | | | This reverts commit d8e10f2dcc4554c74cf1da9d40557233cad70fb1.
* SERVER-31552 Allow users to be pinned in memoryJonathan Reams2018-09-281-0/+4
|
* SERVER-27938 Rename all OperationContext variables to opCtxMaria van Keulen2017-03-071-2/+2
| | | | | | 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-18579: Clang-Format - reformat code, no comment reflowMark Benvenuto2015-06-201-21/+21
|
* SERVER-18478 Remove lingering unused mutex in AuthzManagerExternalStateLocalDaniel Alabi2015-05-261-1/+0
| | | | | Also removes unused includes in AuthzManagerExternalState* files as a result of recent cleanup
* SERVER-18478 Clean up AuthzManagerExternalStateDaniel Alabi2015-05-211-17/+0
| | | | Removed insert/remove/update from the AuthzManagerExternalState* interfaces
* SERVER-18478 Get rid of UpdateGuard and simplify locking for user management ↵Daniel Alabi2015-05-181-5/+0
| | | | commands on mongod
* SERVER-17817 When setting up ClientBasic, get AuthorizationSession object ↵Andy Schwerin2015-04-061-0/+3
| | | | from AuthorizationManager.
* SERVER-16940 Change pass-by-const-ref of StringData to pass-by-valueTyler Brock2015-02-061-1/+1
|
* SERVER-15882 Remove dead index creation/deletion operations from ↵Andy Schwerin2014-11-041-8/+0
| | | | AuthzManagerExternalState.
* SERVER-15549 Remove AuthzManagerExternalState::getAllDatabaseNamesKaloian Manassiev2014-10-071-3/+0
|
* SERVER-15311 Never read from admin.system.new_users when looking for user ↵Andy Schwerin2014-09-181-3/+0
| | | | | | | | 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-14668 remove no-OpCtx DBDirectClient and update all former usersHari Khalsa2014-09-091-5/+10
|
* SERVER-13961 Thread through OperationContext to the AuthorizationManagerKaloian Manassiev2014-07-231-1/+2
|
* SERVER-13961 Start using LockState from the OperationContextKaloian Manassiev2014-06-021-1/+2
|
* SERVER-13961 Pass LockState to DBWrite and DBRead directlyKaloian Manassiev2014-05-301-2/+4
| | | | | This is part of the changes to move LockState be part of OperationContext and not retrieved from TLS.
* Revert "SERVER-13961 Pass LockState to DBWrite and DBRead directly"Kaloian Manassiev2014-05-281-4/+2
| | | | This reverts commit 0672061deb58aac931912bed68d014247c581968.
* SERVER-13961 Pass LockState to DBWrite and DBRead directlyKaloian Manassiev2014-05-281-2/+4
| | | | | This is part of the changes to move LockState be part of OperationContext and not retrieved from TLS.
* SERVER-13882 Replace boost::function with stdx::function and boost::bind ↵Andy Schwerin2014-05-161-2/+2
| | | | with stdx::bind.
* SERVER-12664 Change nUpdated to nMatched in bulk api resultsRandolph Tan2014-02-131-1/+1
|
* SERVER-9516 Factor out common code from mock & mongod implementations of ↵Andy Schwerin2013-11-081-42/+3
| | | | AuthzManagerExternalState.
* SERVER-9516 Remove unused methods from AuthzManagerExternalState.Andy Schwerin2013-11-081-16/+2
|
* Revert "SERVER-9516 Write version document to admin.system.version as needed ↵Andy Schwerin2013-10-251-2/+0
| | | | | | | in mongod." This reverts commit 3d61067308f7f526ec00d79bcbb158d31fd413fa, which breaks multi-version because it replicates writes to admin.system.version at startup.
* SERVER-9516 Write version document to admin.system.version as needed in mongod.Andy Schwerin2013-10-251-0/+2
| | | | At startup, for standalone mongod and master. Upon election to primary for replicaset members.
* SERVER-11352 SERVER-6246 When acquiring lock to update user data block for 5 ↵Spencer T Brody2013-10-251-2/+1
| | | | seconds before giving up
* SERVER-11275 Apply relevant oplog entries to authorization manager.Andy Schwerin2013-10-231-3/+1
| | | | | Also, reinitialize the AuthorizationManager's data structures after replication initial sync.
* SERVER-9516 Support for determining and examining the version of the auth ↵Andy Schwerin2013-10-181-0/+1
| | | | schema in durable storage.
* SERVER-6246 SERVER-9515 Update usersInfo and rolesInfo commands to new APISpencer T Brody2013-10-061-0/+1
|
* SERVER-10670 Maintain role graph consistency.Andy Schwerin2013-10-051-0/+44
| | | | | | | | Keeps the RoleGraph up to date in mongod, and converts MongoS to simply ask the config server for required information about users and roles. Performs somewhat aggressive cache invalidation of the users cache in mongod. Still no cache invalidation in mongos.
* SERVER-9515 Add generic update method to AuthzManagerExternalStateSpencer T Brody2013-10-021-5/+7
|
* SERVER-9517 Implement generic insert, update, and remove methods in ↵Spencer T Brody2013-09-231-13/+2
| | | | AuthzManagerExternalState
* SERVER-9517 Implement generic query method on AuthorizationManagerExternalStateSpencer T Brody2013-09-161-0/+4
|
* SERVER-9980 Add write concern to user management commandsSpencer T Brody2013-09-121-10/+21
|
* SERVER-9518 Add diagnostic "why" argument to authz data lockingSpencer T Brody2013-09-111-1/+1
|
* SERVER-9518 Implement functions in mongos and mongod for locking ↵Spencer T Brody2013-09-111-0/+4
| | | | authorization data
* SERVER-9518 Rename AuthzUpgradeLockGuard and make it a generic guard for ↵Spencer T Brody2013-09-111-2/+2
| | | | AuthorizationManager.
* SERVER-8886 Add OpenSSL exception to files in src/mongo/dbIan Whalen2013-09-061-0/+12
|
* SERVER-6246 Change user management commands to use the new v2 style user ↵Spencer T Brody2013-09-061-2/+1
| | | | documents
* SERVER-9516 Logic of system.users schema upgrade process.Andy Schwerin2013-09-031-6/+28
| | | | | Includes AuthorizationManagerExternalState interface changes and implementation in the mock, plus unit tests.
* SERVER-6246 Add removeUsers commandSpencer T Brody2013-08-011-0/+3
|
* SERVER-9518 Catch exceptions in ExternalState functionsSpencer T Brody2013-07-231-4/+5
|