-
Notifications
You must be signed in to change notification settings - Fork 842
Migrate to spring boot 4 #3805
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
strehle
merged 59 commits into
cloudfoundry:develop
from
gdgenchev:migrate-to-spring-boot-4
May 28, 2026
Merged
Migrate to spring boot 4 #3805
Changes from all commits
Commits
Show all changes
59 commits
Select commit
Hold shift + click to select a range
5e0c46a
WIP: OpenSAML 5.1.6 upgrade
strehle 99ec576
rebase back to spring security
strehle 074b1df
cleanup
strehle b8adba4
Add spring-boot-sql dependency for Spring Boot 4
gdgenchev 1935a7e
Add spring-security-access dependency for Spring Security 7
gdgenchev 3a60a0a
Update autoconfigure package imports for Spring Boot 4
gdgenchev 3e453b9
Remove WebMvcAutoConfiguration import and update test autoconfigure
gdgenchev 4042208
Configure HttpClient connection timeout via ConnectionConfig
gdgenchev 45b0dfd
Migrate HttpHeaders.containsKey to containsHeader for Spring 7
gdgenchev c5a9efc
Migrate MediaType.sortByQualityValue to local implementation for Spri…
gdgenchev 9d24cf6
Address review feedback on MediaType migration
gdgenchev 3d6ae67
Migrate SAML API to Spring Security 7
gdgenchev 4eb1c16
Migrate Authorization Manager API to Spring Security 7
gdgenchev 94b3d16
Remove deprecated setIgnoreDefaultModelOnRedirect call
gdgenchev cd6b7d1
Fix Spring Boot 4 web server factory package relocation
gdgenchev 3f6e27b
Fix Spring Security 7 AuthorizationManager jspecify annotations in test
gdgenchev 5a63761
Fix Spring Security 7 SecurityBuilder.build() signature change
gdgenchev 2507f99
Fix AbstractAuthenticationToken constructor ambiguity
gdgenchev 45ce439
Migrate @MockBean and @SpyBean to Spring Boot 4
gdgenchev 4b55e61
Remove LDAP and Session AutoConfiguration exclusions for Boot 4
gdgenchev fc32113
Fix empty password authentication for Spring Security 7
gdgenchev f6653df
Update CSRF redirect URL assertions for Spring Security 7
gdgenchev 96257f5
fix: adapt tests for Spring Framework 7 MockHttpServletResponse changes
gdgenchev 0203759
Fix RelyingPartyRegistration mock to stub mutate() method
gdgenchev 0b85497
fix(statsd): migrate to Spring Boot 4 WAR deployment dependencies
gdgenchev ca588d5
Exclude Jackson 3 and add spring-boot-jackson2 for Spring Boot 4
gdgenchev ca85ed4
Add spring-boot-flyway to restore FlywayDatabaseInitializerDetector
gdgenchev 527de2d
Add AuthenticationEventPublisher bean removed from Spring Boot 4 auto…
gdgenchev c7be7db
Exclude Jackson 3 core libraries pulled in transitively by spring-res…
gdgenchev d1abb54
Update test assertions for Spring Security 7 relative redirect URLs
gdgenchev 4b4bdd5
Update no-token test assertions from 401 to 403 for Spring Security 7
gdgenchev 08f35bb
Stub getRedirectUrl() and getMethod() on mocked SavedRequest for Spri…
gdgenchev 89dcab9
Add @Import for UaaBootServerCustomizer in test outside component scan
gdgenchev b259d35
Update empty password assertion for Spring Security 7
gdgenchev f50bb04
Filter FACTOR_PASSWORD from LDAP test authority assertions
gdgenchev cb557d8
Apply OpenRewrite Jackson 2 to 3 migration recipe
gdgenchev ecbd4b7
Remove Jackson 2 dependencies and global Jackson 3 exclusions
gdgenchev fcf6df0
Configure ObjectMapper for Jackson 2 backward compatibility
gdgenchev aca397b
Remove spring-mvc.properties and @PropertySource from WebConfig
gdgenchev e12d518
Fix Jackson 3 API changes not covered by OpenRewrite
gdgenchev 977cec6
Fix Jackson 3 serialization for IdToken and HeaderParameters
gdgenchev 2da7f5d
Update tests for Jackson 3 API and exception changes
gdgenchev eb9ae83
Fix Jackson 3 FAIL_ON_NULL_FOR_PRIMITIVES in integration test RestTem…
gdgenchev fa17bc6
Fix client authentication with empty secret under Spring Security 7
gdgenchev c08db18
Fix integration tests for Spring Boot 4 / Jackson 3 / Spring Framewor…
gdgenchev a848c50
Handle Tomcat 11 InvalidParameterException in UaaLoggingFilter
gdgenchev 4137c7d
Fix ClientSecretPolicy Jackson 3 @JsonIgnore on expireSecretInMonths
gdgenchev 29a9979
reformat
gdgenchev c079d94
fix flaky tests
gdgenchev 86a201b
Fix libraries missed in rebase
duanemay 1678d69
Bump springBoot from 4.0.0 to 4.0.6
duanemay dc9623c
Increase heap on unit tests
duanemay ab9308a
Merge branch 'develop' into migrate-to-spring-boot-4
gdgenchev aabc902
review: revert 4b4bdd529 and change config
gdgenchev 2d20c27
review: tighten EmptyPasswordAwareEncoder allow-list
gdgenchev 1170160
refactor: extract EmptyPasswordAwareEncoder constants
gdgenchev e9f9d78
review: align fallback text with caught JacksonException
gdgenchev ecb05e2
review: remove redundant @JsonCreator from UaaAuthority constructor
gdgenchev d97ca2a
review: only strip {bcrypt} prefix in EmptyPasswordAwareEncoder
gdgenchev File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
metrics-data/src/test/java/org/cloudfoundry/identity/uaa/metrics/MetricsQueueTest.java
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.