[SERVER-82602] Remove expectPrefix in the command body to use it from the token instead Created: 30/Oct/23 Updated: 11/Jan/24 Resolved: 30/Oct/23 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Mathis Bessa | Assignee: | Backlog - Service Architecture |
| Resolution: | Duplicate | Votes: | 0 |
| Labels: | ntdi_must_have, ntdi_test_plan | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||||||
| Assigned Teams: |
Service Arch
|
||||||||||||||||||||
| Participants: | |||||||||||||||||||||
| Description |
|
We are removing expectPrefix per command and instead using `expectPrefix` per connection. This is setup whenever the connection is established and if the security token (unsigned) contains `expectPrefix` in its body. This behavior is strictly related to Atlas proxy. We currently have passthroughs and testing overriding commands by injecting `expectPrefix` (see here). This should be changed to rely on the provided security token instead of the command body. |