Rename authenticated user transport variables - #6432
Merged
cwperks merged 1 commit intoAug 25, 2026
Merged
Conversation
Signed-off-by: Craig Perkins <craig5008@gmail.com>
cwperks
requested review from
DarshitChanpura,
Rishav9852Kumar,
RyanL1997,
derek-ho,
finnegancarroll,
nibix,
reta,
shikharj05 and
willyborankin
as code owners
August 25, 2026 12:12
Contributor
PR Reviewer Guide 🔍Here are some key observations to aid the review process:
|
willyborankin
approved these changes
Aug 25, 2026
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## main #6432 +/- ##
==========================================
- Coverage 75.51% 75.41% -0.10%
==========================================
Files 456 456
Lines 30282 30282
Branches 4574 4574
==========================================
- Hits 22866 22838 -28
- Misses 5284 5311 +27
- Partials 2132 2133 +1
🚀 New features to boost your workflow:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Follow-up to #6419. Removes legacy
Subject-oriented local variable names left behind after authenticated users began being stored directly asUserinstances.This renames transport-local variables and updates comments in
SecurityInterceptorandSecurityRequestHandler. ExistingThreadContextkeys and transport header constants remain unchanged for compatibility.Validation
./gradlew spotlessApply./gradlew test --tests org.opensearch.security.transport.SecurityInterceptorTests --tests org.opensearch.security.transport.RestoringTransportResponseHandlerTestgit diff --check