spring-boot/spring-boot-project/spring-boot
Phillip Webb 499672184c Use context class loader when loading auto-configured SSL bundles
Update `SslAutoConfiguration` to the `ApplicationContext` class loader
when loading SSL resources. Prior to this commit, the thread context
class loader was used to load resources which could be incorrect.
Specifically, when using a `ForkJoinPool` the thread context classloader
defaults to the JRE `AppClassLoader` which does not include uber jar
content.

The underlying `JksSslStoreBundle` class and `PemSslStore.load(...)`
method have been updated so support using a provided `ResourceLoader`.

Fixes gh-42468
2024-10-22 18:43:57 -07:00
..
src Use context class loader when loading auto-configured SSL bundles 2024-10-22 18:43:57 -07:00
build.gradle Remove calls to deprecated Project.getBuildDir() in Gradle files 2024-10-17 17:46:17 +02:00