George314159 opened a new pull request, #6624:
URL: https://github.com/apache/kyuubi/pull/6624

   # :mag: Description
   ## Issue References ๐Ÿ”—
   <!-- Append the issue number after #. If there is no issue for you to link 
create one or -->
   <!-- If there are no issues to link, please provide details here. -->
   
   This pull request fixes #6619
   
   ## Describe Your Solution ๐Ÿ”ง
   
   This is a subtask of #6590 
   This PR makes the following changes:
   1. Instead of using SessionManager, the ThriftHttpService will use 
AuthorizationFilter to handle http client parameters. The purpose is to pass 
correct client IP address for bearer token authentication.
   2. support handle the customized http.header for bearer token in ThriftHttp 
protocol. This is due to 
[HIVE-22655](https://issues.apache.org/jira/browse/HIVE-22655), the standard 
"http.header.Authorization" header is not working as expected in ThriftHttp 
protocol.
   
   
   ## Types of changes :bookmark:
   <!--- What types of changes does your code introduce? Put an `x` in all the 
boxes that apply: -->
   - [ ] Bugfix (non-breaking change which fixes an issue)
   - [x] New feature (non-breaking change which adds functionality)
   - [ ] Breaking change (fix or feature that would cause existing 
functionality to change)
   
   ## Test Plan ๐Ÿงช
   
   #### Behavior Without This Pull Request :coffin:
   
   
   #### Behavior With This Pull Request :tada:
   
   
   #### Related Unit Tests
   
   
   ---
   
   # Checklist ๐Ÿ“
   <!--- Go over all the following points, and put an `x` in all the boxes that 
apply. -->
   <!--- If you're unsure about any of these, don't hesitate to ask. We're here 
to help! -->
   
   - [x] This patch was not authored or co-authored using [Generative 
Tooling](https://www.apache.org/legal/generative-tooling.html)
   
   **Be nice. Be informative.**
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to