Commit Graph
18 Commits
Author SHA1 Message Date
Andy Wilkinson 783dcb9d97 Merge branch '4.0.x'
Closes gh-50018
2026-04-10 12:37:02 +01:00
Andy Wilkinson cd88bf71f5 Merge branch '3.5.x' into 4.0.x
Closes gh-50017
2026-04-10 12:28:27 +01:00
Brian Clozel dba19c73c7 Polishing contribution
See gh-49744

Signed-off-by: Brian Clozel <brian.clozel@broadcom.com>
2026-03-25 11:12:35 +01:00
LeeJiWon fc58d9e9d9 Reuse reactive CloudFoundry UAA URL across calls
Reactive SecurityService#getUaaUrl() creates a new Mono on each
invocation, so the resolved UAA URL is not reused across calls. During
token validation, this can lead to duplicate /info requests when token
keys are fetched and the issuer is validated in the same flow.

Cache the resolved UAA URL after a successful lookup and add regression
tests that verify reuse after success and retry after failure.

Signed-off-by: LeeJiWon <dlwldnjs1009@gmail.com>
2026-03-25 11:10:26 +01:00
Brian Clozel 1ead08b9d8 Merge branch '3.5.x' into 4.0.x
Closes gh-49646
2026-03-18 16:45:57 +01:00
Andy Wilkinson 7af147d091 Fix CloudFoundry actuator auto-config in absence of RestTemplateBuilder
Previously, CloudFoundryActuatorAutoConfiguration required
RestTemplateBuilder, using it to create the RestTemplate that's used
the security interceptor. Following the modularization,
RestTemplateBuilder is only present when spring-boot-restclient is on
the classpath. In its absence, CloudFoundryActuatorAutoConfiguration
would fail.

This commit address this problem by using RestClient.Builder (and
RestClient) instead of RestTemplateBuilder (and RestTemplate). This
allows CloudFoundryActuatorAutoConfiguration to work without
spring-boot-restclient as RestClient.Builder and RestClient are
provided by spring-web that will always be there in an MVC webapp.

Fixes gh-48826
2026-01-14 15:45:08 +00:00
Phillip Webb 72aea01732 Make spring-boot-security module optional from spring-boot-cloudfoundry
Fixes gh-48685
2026-01-06 13:36:31 -08:00
Phillip Webb c2e68c0911 Refactor security auto-configuration package structure
Refactor security auto-configuration package structure and classes to
create distinct web configurations.

Closes gh-14412
2025-10-16 14:10:08 -07:00
Phillip Webb 8f89bd304f Polish code to fix warnings 2025-10-14 21:51:25 -07:00
Phillip Webb 34e0382858 Move actuator heath code to spring-boot-health
Closes gh-46357
2025-10-14 21:51:24 -07:00
Phillip Webb 80de606c56 Refactor spring-boot-cloudfoundry package structure
Use package structure consistent with other modules.

Closes gh-47605
2025-10-13 18:37:16 -07:00
Phillip Webb 4587c82330 Start building against Spring Security 7.0.0-RC1 snapshots
See gh-47499
2025-10-13 15:13:00 -07:00
Moritz Halbritter 419d78b359 Add nullability annotations to tests in module/spring-boot-cloudfoundry
See gh-47263
2025-10-02 15:35:04 +02:00
Moritz Halbritter 05ba546a09 Improve null-safety of module/spring-boot-cloudfoundry
See gh-46926
2025-08-26 14:22:54 +02:00
Moritz Halbritter 9e63ff7005 Add more nullability annotations to module/spring-boot-cloudfoundry
See gh-46587
2025-08-07 10:48:44 +02:00
Moritz Halbritter 071f012d33 Add nullability annotations to module/spring-boot-cloudfoundry
See gh-46587
2025-07-30 10:40:17 +02:00
Moritz Halbritter c0f1f641ce Make auto-configurations final and remove public members
Closes gh-32883
2025-07-29 09:48:49 +02:00
Phillip Webb decc32dde3 Restructure project directories to better fit Gradle
Closes gh-46358
2025-07-10 17:54:08 -07:00