bowenliang123 opened a new issue, #3222: URL: https://github.com/apache/incubator-kyuubi/issues/3222
### 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/incubator-kyuubi/issues?q=is%3Aissue) and found no similar issues. ### Describe the feature Add JDBC authentication provider as implementation of PasswdAuthenticationProvider out of box. Compared to currently support authentication methods like Kebero and LDAP, JDBC source is a much easy and stable source for common deployment. The solution should provide: - easy to use and config jdbc connection details - handy to customize query statements for authentication - provide efficient db connection pooling (optional) ### Motivation _No response_ ### Describe the solution Adding `JDBCPasswdAuthenticationProvider` in package `org.apache.kyuubi.service.authentication` with listed features: - specify JDBC driver name and load the driver class - configs of JDBC url, username and password - select query with placeholders for checking user and password , like `SELECT * from user_pass_hash where username = ${user} and password = MD5(${password})` - cache usable jdbc connections (optional) ### Additional context _No response_ ### Are you willing to submit PR? - [X] Yes I am willing to submit a PR! -- 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]
