[FEATURE] Extract kyuubiClientPrincipal/kyuubiClientKeytab from JDBC connection properties
- Dominant language
- Scala
- Stars
- 2.4k
- Forks
- 1k
- PR merge metrics
- No merged PRs in 30d
Description
### Code of Conduct
- [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
### Search before asking
- [X] I have searched in the [issues](https://github.com/apache/kyuubi/issues?q=is%3Aissue) and found no similar issues.
### Describe the feature
Extract `kyuubiClientPrincipal/kyuubiClientKeytab` from JDBC connection properties like `user/password`
### Motivation
Make the following behavior effective:
```
Properties properties = new Properties();
properties.put("kyuubiClientPrincipal", principal);
properties.put("kyuubiClientKeytab", keytab);
Connection connection = DriverManager.getConnection(url, properties)
```
### Describe the solution
_No response_
### Additional context
_No response_
### Are you willing to submit PR?
- [ ] Yes. I would be willing to submit a PR with guidance from the Kyuubi community to improve.
- [ ] No. I cannot submit a PR at this time.
Contributor guide
Research direction
Start at the JDBC driver connection-property handling and trace how user/password properties are extracted from the Properties passed to DriverManager.getConnection. Extend the same path for kyuubiClientPrincipal and kyuubiClientKeytab, then verify that connections created with those properties use them for client authentication.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java, scala
- Domain
- api
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 62/100