lh0156 opened a new pull request, #23052: URL: https://github.com/apache/kafka/pull/23052
### What Support `org.apache.kafka.sasl.oauthbearer.allowed.urls=*` as an explicit opt-in for allowing any OAuth bearer token or JWKS endpoint URL. The wildcard is scoped to the URL allow-list. The separate file allow-list remains exact-match only, so this change does not broaden `org.apache.kafka.sasl.oauthbearer.allowed.files`. The system-properties documentation now explains the wildcard and its security implications. ### Tests - TDD RED: `testUrlWithWildcardAllowList` failed before the implementation. - TDD GREEN: `testUrlWithWildcardAllowList` and `testFileAllowListDoesNotSupportWildcard` passed after the implementation. - `./gradlew :clients:test --tests org.apache.kafka.common.security.oauthbearer.internals.secured.ConfigurationUtilsTest --no-build-cache --console=plain` - `./gradlew :clients:test --no-build-cache --console=plain` - `./gradlew :clients:checkstyleMain :clients:checkstyleTest :clients:spotbugsMain spotlessCheck --no-build-cache --console=plain` - `git diff --check` Closes KAFKA-20101 -- 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]
