-
Notifications
You must be signed in to change notification settings - Fork 917
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
[KYUUBI #6709] Fix seq and set equals check bug while check auth type in AuthenticationFilter.initAuthHandlers #6711
Conversation
…ionFilter.initAuthHandlers
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #6711 +/- ##
======================================
Coverage 0.00% 0.00%
======================================
Files 684 684
Lines 42281 42281
Branches 5766 5766
======================================
Misses 42281 42281
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
@pan3793 @ulysses-you @turboFei anyone have time review this change ? |
… in AuthenticationFilter.initAuthHandlers # 🔍 Description ## Issue References 🔗 This pull request fixes #6709 ## Describe Your Solution 🔧 transfer the type of authTypes from seq to set before do equals check ## Types of changes 🔖 - [x] Bugfix (non-breaking change which fixes an issue) - [ ] New feature (non-breaking change which adds functionality) - [ ] Breaking change (fix or feature that would cause existing functionality to change) ## Test Plan 🧪 test in our produce kyuubi env #### Behavior Without This Pull Request ⚰️ <img width="1431" alt="image" src="https://github.com/user-attachments/assets/6fd40d49-8d6b-446a-8feb-70df8c92604d"> <img width="603" alt="image" src="https://github.com/user-attachments/assets/637e5788-bfe0-4bab-a2a5-f6a79fb93fa6"> always hint to login in all sub tabs of management tab in kyuubi web ui, but can not login in actually, while use confkyuubi.authentication NOSASL, and our java version is 1.8 scala version is 2.12.18 #### Behavior With This Pull Request 🎉 <img width="1422" alt="image" src="https://github.com/user-attachments/assets/211b76ee-d937-456b-bed4-f94dd41896f0"> #### Related Unit Tests none, no need i think --- # Checklist 📝 - [ ] This patch was not authored or co-authored using [Generative Tooling](https://www.apache.org/legal/generative-tooling.html) **Be nice. Be informative.** Closes #6711 from lifulong/authentication_filter_auth_type_bug_fix. Closes #6709 850bda4 [lifulong] fix seq and set equals check bug while check auth type in AuthenticationFilter.initAuthHandlers Authored-by: lifulong <[email protected]> Signed-off-by: Wang, Fei <[email protected]> (cherry picked from commit 14bf56f) Signed-off-by: Wang, Fei <[email protected]>
… in AuthenticationFilter.initAuthHandlers # 🔍 Description ## Issue References 🔗 This pull request fixes #6709 ## Describe Your Solution 🔧 transfer the type of authTypes from seq to set before do equals check ## Types of changes 🔖 - [x] Bugfix (non-breaking change which fixes an issue) - [ ] New feature (non-breaking change which adds functionality) - [ ] Breaking change (fix or feature that would cause existing functionality to change) ## Test Plan 🧪 test in our produce kyuubi env #### Behavior Without This Pull Request ⚰️ <img width="1431" alt="image" src="https://github.com/user-attachments/assets/6fd40d49-8d6b-446a-8feb-70df8c92604d"> <img width="603" alt="image" src="https://github.com/user-attachments/assets/637e5788-bfe0-4bab-a2a5-f6a79fb93fa6"> always hint to login in all sub tabs of management tab in kyuubi web ui, but can not login in actually, while use confkyuubi.authentication NOSASL, and our java version is 1.8 scala version is 2.12.18 #### Behavior With This Pull Request 🎉 <img width="1422" alt="image" src="https://github.com/user-attachments/assets/211b76ee-d937-456b-bed4-f94dd41896f0"> #### Related Unit Tests none, no need i think --- # Checklist 📝 - [ ] This patch was not authored or co-authored using [Generative Tooling](https://www.apache.org/legal/generative-tooling.html) **Be nice. Be informative.** Closes #6711 from lifulong/authentication_filter_auth_type_bug_fix. Closes #6709 850bda4 [lifulong] fix seq and set equals check bug while check auth type in AuthenticationFilter.initAuthHandlers Authored-by: lifulong <[email protected]> Signed-off-by: Wang, Fei <[email protected]> (cherry picked from commit 14bf56f) Signed-off-by: Wang, Fei <[email protected]>
thanks @lifulong merged to master/branch-1.9/branch-1.8 |
🔍 Description
Issue References 🔗
This pull request fixes #6709
Describe Your Solution 🔧
transfer the type of authTypes from seq to set before do equals check
Types of changes 🔖
Test Plan 🧪
test in our produce kyuubi env
Behavior Without This Pull Request ⚰️
always hint to login in all sub tabs of management tab in kyuubi web ui, but can not login in actually, while use confkyuubi.authentication NOSASL, and our java version is 1.8 scala version is 2.12.18
Behavior With This Pull Request 🎉
Related Unit Tests
none, no need i think
Checklist 📝
Be nice. Be informative.