Skip to content

Bump com.sap.cloud.security:java-api from 3.6.9 to 4.0.3 in /ams-cap-bookshop#38

Open
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/maven/ams-cap-bookshop/com.sap.cloud.security-java-api-4.0.3
Open

Bump com.sap.cloud.security:java-api from 3.6.9 to 4.0.3 in /ams-cap-bookshop#38
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/maven/ams-cap-bookshop/com.sap.cloud.security-java-api-4.0.3

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot bot commented on behalf of github Apr 6, 2026

Bumps com.sap.cloud.security:java-api from 3.6.9 to 4.0.3.

Release notes

Sourced from com.sap.cloud.security:java-api's releases.

4.0.3

Fix multi-tenant IAS token exchange to use token issuer URL instead of provider IAS URL from configuration in DefaultIdTokenExtension

4.0.2

  • Fix token exchange credential handling to use getClientIdentity() instead of manually checking for certificate vs client secret
  • Add IAS certificate properties (certificate, key, credential-type, certurl) to IdentityServicesPropertySourceFactory to properly map X.509 credentials for IAS service bindings

4.0.1

Fix IAS token exchange to use getUrl() instead of getCertUrl() in DefaultIdTokenExtension

4.0.0

Major release upgrading to Spring Boot 4.x and Jakarta EE 10. Spring Boot 3.x compatibility modules provided.

Breaking Changes

Framework Upgrades:

  • Spring Boot 3.x → 4.0.3
  • Spring Framework 6.x → 7.0.5
  • Spring Security 6.x → 7.0.3
  • Jakarta Servlet API 6.0.0 → 6.1.0

Token Client HTTP Change:

  • Now uses Java 11 HttpClient by default (no Apache HttpClient dependency)
  • Apache HttpClient 4 constructors deprecated (removed in 5.0.0)
  • Custom HTTP clients supported via SecurityHttpClientFactory

Removed Modules:

  • spring-xsuaa* → use spring-security or spring-security-3
  • spring-security-compatibility → use spring-security-3

Token Client Spring Classes:

  • Spring-dependent classes moved to new token-client-spring module

New Features

Spring Boot 3.x Compatibility:

  • spring-security-3 - Core module for Spring Boot 3.5.9
  • resourceserver-security-spring-boot-3-starter - Starter for Spring Boot 3.x

Pluggable HTTP Client:

  • Support for Apache HttpClient 4.x/5.x, OkHttp, SAP Cloud SDK, custom implementations

Documentation

https://github.com/SAP/cloud-security-services-integration-library/blob/main/token-client/APACHE_HTTPCLIENT_MIGRATION.md

3.6.12

... (truncated)

Changelog

Sourced from com.sap.cloud.security:java-api's changelog.

4.0.3

  • Fix multi-tenant IAS token exchange to use token issuer URL instead of provider IAS URL from configuration in DefaultIdTokenExtension

4.0.2

  • Fix token exchange credential handling to use getClientIdentity() instead of manually checking for certificate vs client secret
  • Add IAS certificate properties (certificate, key, credential-type, certurl) to IdentityServicesPropertySourceFactory to properly map X.509 credentials for IAS service bindings

4.0.1

  • Fix IAS token exchange to use getUrl() instead of getCertUrl() in DefaultIdTokenExtension

4.0.0 - Major Release

This is a major release with breaking changes. The library has been upgraded to Spring Boot 4.x and Jakarta EE 10. For applications still on Spring Boot 3.x, compatibility modules are provided. Please check the 4.0 Migration Guide for comprehensive upgrade instructions

⚠️ BREAKING CHANGES

Spring Boot and Jakarta EE Version Upgrades

  • Spring Boot: Upgraded from 3.x to 4.0.3
  • Spring Framework: Upgraded from 6.x to 7.0.5
  • Spring Security: Upgraded from 6.x to 7.0.3
  • Jakarta Servlet API: Upgraded from 6.0.0 to 6.1.0
  • Java: Minimum version remains Java 17
  • JUnit Jupiter: Upgraded from 5.12.2 to 6.0.3

HTTP Client Default Changed

Token-client module now uses Java 11's HttpClient as the default implementation. Apache HttpClient 4 remains available as a dependency for backward compatibility.

Impact:

  • No code changes required if you use the default (parameterless) constructors
  • ⚠️ Deprecated constructors added for backward compatibility with Apache HttpClient 4
  • Will be removed in version 5.0.0 - Plan to migrate to Java HttpClient or custom implementation

Deprecated in 4.0.0 (Removed in 5.0.0):

  • DefaultOAuth2TokenKeyService(CloseableHttpClient)
  • DefaultOAuth2TokenService(CloseableHttpClient)
  • DefaultOAuth2TokenService(CloseableHttpClient, TokenCacheConfiguration)
  • DefaultOidcConfigurationService(CloseableHttpClient)
  • HttpClientFactory interface and DefaultHttpClientFactory implementation

Migration Path:

  • Option 1 (Recommended): Use default constructors - Java 11 HttpClient is used automatically
  • Option 2 (Temporary): Continue using deprecated constructors with Apache HttpClient 4
  • Option 3 (Custom): Implement SecurityHttpClientFactory interface for custom HTTP clients (see CUSTOM_HTTPCLIENT.md)

See the comprehensive Apache HttpClient Migration Guide for detailed migration instructions.

... (truncated)

Commits
  • ed3b9ef Bugfix/4.0.2 (#1939)
  • ea432c8 Bugfix/4.0.2 (#1938)
  • 4dce88b Merge pull request #1936 from SAP/feature/token-client-spring-3-module
  • 3073f80 docs: Update migration guide with correct Spring Boot 3.x starter name
  • f25b05e refactor: Centralize Spring Boot 3.x versions in parent POM
  • c3fba41 feat: Add token-client-spring-3 module for Spring Boot 3.x compatibility
  • 315650b Bugfix/id token exchange cert url and release 4.0.1 (#1935)
  • 5e226d8 Major release 4 (#1924)
  • See full diff in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [com.sap.cloud.security:java-api](https://github.com/SAP/cloud-security-xsuaa-integration) from 3.6.9 to 4.0.3.
- [Release notes](https://github.com/SAP/cloud-security-xsuaa-integration/releases)
- [Changelog](https://github.com/SAP/cloud-security-services-integration-library/blob/main/CHANGELOG.md)
- [Commits](SAP/cloud-security-services-integration-library@3.6.9...4.0.3)

---
updated-dependencies:
- dependency-name: com.sap.cloud.security:java-api
  dependency-version: 4.0.3
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file java Pull requests that update java code labels Apr 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file java Pull requests that update java code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants