Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | SERVER-42508 Convert SessionsCollection to throw instead of return status | Marcos José Grillo Ramírez | 2019-10-30 | 1 | -14/+11 |
| | | | | Change the remaining public functions: refreshSessions, removeRecords and findRemovedSessions | ||||
* | SERVER-42165 Replace uses of stdx::mutex with mongo::Mutex | Ben Caimano | 2019-09-17 | 1 | -6/+6 |
| | |||||
* | SERVER-39338 Remove `stdx/functional.h` | ADAM David Alan Martin | 2019-06-10 | 1 | -1/+2 |
| | |||||
* | SERVER-39560 - remove leading blank line on all C++ files | Billy Donahue | 2019-02-13 | 1 | -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 license | Ramon Fernandez | 2018-10-22 | 1 | -8/+10 |
| | |||||
* | SERVER-32070 migrate some easy stdx::bind to lambdas (pt3) | Billy Donahue | 2017-12-14 | 1 | -8/+4 |
| | |||||
* | SERVER-28336 endSessions command | Gabriel Russell | 2017-09-21 | 1 | -0/+12 |
| | |||||
* | SERVER-29202 Remove unused fetch methods from logical session cache | samantharitter | 2017-08-18 | 1 | -24/+0 |
| | |||||
* | SERVER-29201 Implement SessionsCollectionStandalone | samantharitter | 2017-08-02 | 1 | -43/+17 |
| | |||||
* | SERVER-30298 Add UserDigest LogicalSessionID | Jason Carey | 2017-07-26 | 1 | -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 information | samantharitter | 2017-07-13 | 1 | -6/+8 |
| | |||||
* | SERVER-28346 Add more unit tests for the logical session cache | samantharitter | 2017-06-09 | 1 | -8/+6 |
| | |||||
* | Revert "SERVER-28346 Add more unit tests for the logical session cache" | James Wahlin | 2017-06-08 | 1 | -6/+8 |
| | | | | This reverts commit 4c3337abe512a37c8e4cb22e16eafcd04bc5bd3a. | ||||
* | SERVER-28346 Add more unit tests for the logical session cache | samantharitter | 2017-06-07 | 1 | -8/+6 |
| | |||||
* | SERVER-28300 Implement mock libraries to test logical session cache | Samantha Ritter | 2017-06-05 | 1 | -0/+158 |