summaryrefslogtreecommitdiff
path: root/src/mongo/db/sessions_collection_mock.cpp
Commit message (Collapse)AuthorAgeFilesLines
* 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-8/+10
|
* SERVER-32070 migrate some easy stdx::bind to lambdas (pt3)Billy Donahue2017-12-141-8/+4
|
* SERVER-28336 endSessions commandGabriel Russell2017-09-211-0/+12
|
* SERVER-29202 Remove unused fetch methods from logical session cachesamantharitter2017-08-181-24/+0
|
* SERVER-29201 Implement SessionsCollectionStandalonesamantharitter2017-08-021-43/+17
|
* SERVER-30298 Add UserDigest LogicalSessionIDJason Carey2017-07-261-7/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Inclusion of a sha256 digest of the full username to the logical session id (in addition to the current guid) is necessary to fully disambiguate logical sessions in degraded clusters (when the authoritative record for a session is unreachable). Semantics for the uid are as follows: session creation via startSession() * Sessions can only be created with one, and only one, user authenticated * The composite key is created from a guid created on the spot, as well as the digest of the currently auth'd username * Only the session guid is returned to the user * This prevents outside users from attempting to send back a value we'd have to check. It's preferable to decorate the guid with the user digest per command, rather than having to check a value the user might send. session use for a command * Sessions are passed via the lsid top level field in any command * Sessions are only meaningful for commands which requireAuth. For sessions which don't require auth, we strip session information from the command at parse time * Session ids are passed as an object, which can optionally include the username digest * It is illegal to pass the username digest unless the currently auth'd user has the impersonate privilege (the __system user does). This enables sessions on shard servers via mongos
* SERVER-29610 Allow LogicalSessionIds to contain signed user informationsamantharitter2017-07-131-6/+8
|
* SERVER-28346 Add more unit tests for the logical session cachesamantharitter2017-06-091-8/+6
|
* Revert "SERVER-28346 Add more unit tests for the logical session cache"James Wahlin2017-06-081-6/+8
| | | | This reverts commit 4c3337abe512a37c8e4cb22e16eafcd04bc5bd3a.
* SERVER-28346 Add more unit tests for the logical session cachesamantharitter2017-06-071-8/+6
|
* SERVER-28300 Implement mock libraries to test logical session cacheSamantha Ritter2017-06-051-0/+158