spring-boot/spring-boot-project
Andy Wilkinson 3233341d45 Improve class conditions on auth server JWT auto-config
Prior to this change, introspection of the auto-configuration could
fail due to insufficient protection against missing classes.

This commit introduces an extra class-level check for Nimbus's
JWKSource which ensures that the auto-configuration backs off if
nimbus-jose-jwt has been excluded. It also introduces an inner-class
for the case where spring-security-oauth2-jose is not on the
classpath. This ensures that the method defining the jwtDecoder bean
does not cause an introspection failure when JwtDecoder is missing.

Closes gh-45177
2025-04-14 11:51:49 +01:00
..
spring-boot Polish boolean members that can use the default `false` value 2025-04-11 09:32:35 -07:00
spring-boot-actuator Polish boolean members that can use the default `false` value 2025-04-11 09:32:35 -07:00
spring-boot-actuator-autoconfigure Polish boolean members that can use the default `false` value 2025-04-11 09:32:35 -07:00
spring-boot-autoconfigure Improve class conditions on auth server JWT auto-config 2025-04-14 11:51:49 +01:00
spring-boot-dependencies Polish "Add missing dependency management for MongoDB" 2025-04-11 10:29:26 +02:00
spring-boot-devtools Polish boolean members that can use the default `false` value 2025-04-11 09:32:35 -07:00
spring-boot-docker-compose Improve debuggability of DockerComposeTestExtension 2025-03-19 09:42:22 +01:00
spring-boot-docs Add the use of token properties in documentation 2025-04-14 10:37:57 +01:00
spring-boot-parent Check imported boms for unwanted dependency management 2025-03-26 10:52:30 +00:00
spring-boot-starters Add reference to Styra (OPA) Spring Boot SDK 2025-04-02 13:40:02 +01:00
spring-boot-test Polish boolean members that can use the default `false` value 2025-04-11 09:32:35 -07:00
spring-boot-test-autoconfigure Update copyright year of changed files 2025-04-03 18:06:14 -07:00
spring-boot-testcontainers Use gvenzl/oracle-free:23.6-slim which has ARM64 support 2025-03-19 09:22:58 +01:00
spring-boot-tools Polish boolean members that can use the default `false` value 2025-04-11 09:32:35 -07:00