You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@kyuubi.apache.org by "Kwafoor (via GitHub)" <gi...@apache.org> on 2024/02/04 06:39:30 UTC
[I] [Improvement] Restful api supports isolated authentication configuration [kyuubi]
Kwafoor opened a new issue, #6041:
URL: https://github.com/apache/kyuubi/issues/6041
### 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.
### What would you like to be improved?
kyuubi restful api uses the authentication method set by the `kyuubi.authentication` parameter, but sometimes users do not want to enable the authentication for restful api.
When `kyuubi.authentication=KERBEROS`, but `kyuubi.spnego.xxx` not set, an error will be reported, and http requests for "/api/v1" will fail.
```
WARN main org.apache.kyuubi.server.http.authentication.AuthenticationFilter: The authentication handler KerberosAuthenticationHandler for scheme NEGOTIATE is not supported.
```

Should we add a configuration parameter like `kyuubi.restful.authentication` to control whether the restful api enables authentication?
### How should we improve?
add a configuration parameter to supports restful api control authentication isolated.
### Are you willing to submit PR?
- [X] 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.
--
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: notifications-unsubscribe@kyuubi.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@kyuubi.apache.org
For additional commands, e-mail: notifications-help@kyuubi.apache.org
Re: [I] [Improvement] RESTful API supports isolated authentication configuration [kyuubi]
Posted by "pan3793 (via GitHub)" <gi...@apache.org>.
pan3793 commented on issue #6041:
URL: https://github.com/apache/kyuubi/issues/6041#issuecomment-1925612844
> ... does NONE only work on restful api?
It also affects THRIFT-BINARY API.
--
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: notifications-unsubscribe@kyuubi.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@kyuubi.apache.org
For additional commands, e-mail: notifications-help@kyuubi.apache.org
Re: [I] [Improvement] RESTful API supports isolated authentication configuration [kyuubi]
Posted by "pan3793 (via GitHub)" <gi...@apache.org>.
pan3793 commented on issue #6041:
URL: https://github.com/apache/kyuubi/issues/6041#issuecomment-1925633568
makes sense, u are welcome to have a try, but such a part is a little bit complex :)
--
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: notifications-unsubscribe@kyuubi.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@kyuubi.apache.org
For additional commands, e-mail: notifications-help@kyuubi.apache.org
Re: [I] [Improvement] RESTful API supports isolated authentication configuration [kyuubi]
Posted by "Kwafoor (via GitHub)" <gi...@apache.org>.
Kwafoor commented on issue #6041:
URL: https://github.com/apache/kyuubi/issues/6041#issuecomment-1925611608
> ```
> kyuubi.authentication=KERBEROS,NONE
> ```
look like `kyuubi.authentication=KERBEROS,NONE` can solve my problem, does `NONE` only work on restful api?
--
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: notifications-unsubscribe@kyuubi.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@kyuubi.apache.org
For additional commands, e-mail: notifications-help@kyuubi.apache.org
Re: [I] [Improvement] RESTful API supports isolated authentication configuration [kyuubi]
Posted by "pan3793 (via GitHub)" <gi...@apache.org>.
pan3793 commented on issue #6041:
URL: https://github.com/apache/kyuubi/issues/6041#issuecomment-1925604424
I know the pain of Kerberos/SPNEGO for both user and administrator, as a workaround, it's allowed to configure multi-values on `kyuubi.authentication`, for example,
```
kyuubi.authentication=KERBEROS,LDAP
```
and even
```
kyuubi.authentication=KERBEROS,NONE
```
--
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: notifications-unsubscribe@kyuubi.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@kyuubi.apache.org
For additional commands, e-mail: notifications-help@kyuubi.apache.org
Re: [I] [Improvement] RESTful API supports isolated authentication configuration [kyuubi]
Posted by "Kwafoor (via GitHub)" <gi...@apache.org>.
Kwafoor commented on issue #6041:
URL: https://github.com/apache/kyuubi/issues/6041#issuecomment-1925623792
> It also affects THRIFT-BINARY API.
Maybe in some scenarios we just want to turn off the authentication of restful api?
--
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: notifications-unsubscribe@kyuubi.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@kyuubi.apache.org
For additional commands, e-mail: notifications-help@kyuubi.apache.org