Upgrade to Spring Boot 4#161
Merged
Merged
Conversation
Upgrades nuska to Spring Boot 4, following the same approach as nabu#632. Version bumps: - superpom 5.6.0 -> 6.5.0 (Spring Boot 4.0.6, Spring Framework 7, Spring Security 7) - entur.helpers 5.50.0 -> 7.2.0 Code changes: - NuskaApplication / AuthorizationConfig / NuskaApplicationTests: relocate auto-configuration imports to their new Spring Boot 4 packages (boot.security.autoconfigure, boot.security.oauth2.client.autoconfigure) - WebClientConfig (new): provide the WebClient.Builder / ClientHttpConnector beans Boot 4 no longer auto-configures, used by the baba role-assignment extractor path - OAuth2Config + remove NuskaMultiIssuerAuthenticationManagerResolver: helpers 7.2.0 dropped the old constructor and now performs issuer+audience JWT validation natively, so the custom subclass is replaced with MultiIssuerAuthenticationManagerResolverBuilder
|
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.


Upgrades nuska to Spring Boot 4, following the same approach as nabu#632.
Version bumps
5.6.0→6.5.0— brings Spring Boot 4.0.6, Spring Framework 7, Spring Security 7entur.helpers5.50.0→7.2.0Code changes
boot.security.autoconfigure,boot.security.oauth2.client.autoconfigure)WebClient.Builder/ClientHttpConnectorbeans Boot 4 no longer auto-configures, used by thebabarole-assignment extractor pathentur.helpers7.2.0 dropped the old constructor and the baseMultiIssuerAuthenticationManagerResolvernow performs issuer+audience JWT validation natively, so the custom subclass is replaced withMultiIssuerAuthenticationManagerResolverBuilder(same pattern nabu adopted), configuring both the internal and partner Auth0 issuers/audiencesNuskaWebSecurityConfigurationalready used plain-stringrequestMatchers(...), so no Spring Security 7 change was needed there. nuska has no Flyway/FreeMarker/TestRestTemplate usage, so those nabu-specific dependency additions don't apply.Verification
mvn clean verify→ BUILD SUCCESS, 7 tests, 0 failures, 0 errors, on Spring Boot 4.0.6