cloudfoundry / java-buildpack

Cloud Foundry buildpack for running Java applications
Apache License 2.0
433 stars 2.59k forks source link

ClientCertificateMapper does not support jakarta package in JDK 17 #1039

Closed dbuchko closed 7 months ago

dbuchko commented 8 months ago

When building a Spring Boot 3 app using JDK 17, the client cert is not getting fetched in ClientCertificateMapper, and as a result the X-forwarded-Client-Cert is not getting forwarded to X509AuthenticationFilter. This issue stems from the fact that Spring Boot 3 depends on the jakarta packages, but the buildpack currently only supports the javax packages. Would like to have the buildpack updated to support the jakarta packages.