-
Notifications
You must be signed in to change notification settings - Fork 3.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[fix][ws] Implement missing http header data functions in AuthenticationDataSubscription #23638
[fix][ws] Implement missing http header data functions in AuthenticationDataSubscription #23638
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. Good catch @heesung-sn
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #23638 +/- ##
============================================
+ Coverage 73.57% 74.36% +0.78%
- Complexity 32624 34997 +2373
============================================
Files 1877 1944 +67
Lines 139502 147200 +7698
Branches 15299 16239 +940
============================================
+ Hits 102638 109458 +6820
- Misses 28908 29284 +376
- Partials 7956 8458 +502
Flags with carried forward coverage won't be shown. Click here to find out more.
|
…ionDataSubscription (apache#23638) (cherry picked from commit 81dfb43) (cherry picked from commit e9c2866)
…ionDataSubscription (apache#23638) (cherry picked from commit 81dfb43) (cherry picked from commit e9c2866)
Motivation
I realized that http header data interface is missing in AuthenticationDataSubscription.
It appears that websocket consumer authorization fails because authorization providers cannot pull the authorization header from AuthenticationDataSubscription.
Modifications
added http data interface in AuthenticationDataSubscription
Verifying this change
Does this pull request potentially affect one of the following parts:
If the box was checked, please highlight the changes
Documentation
doc
doc-required
doc-not-needed
doc-complete
Matching PR in forked repository
PR in forked repository: