Version 3.1.0
❗ IMPORTANT Update ❗
The zone_uuid claim in Identity service tokens has been deprecated and is now replaced by the app_tid claim. You should use the app_tid claim to identify the unique tenant id, which was previously referred to as the zone.
- [java-api]
Tokeninterface is extended with default methodgetAppTid()andgetZoneId()method has been deprecated, usegetAppTid()method instead⚠️ This is also relevant for Xsuaa applications not only Identity based applicationsTokenClaimsis extended with theSAP_GLOBAL_APP_TIDandSAP_GLOBAL_ZONE_IDis deprecated
- [token-client]
OAuth2TokenKeyServiceinterface has been extended withretrieveTokenKeys(@Nonnull URI tokenKeysEndpointUri, @Nullable String tenantId, @Nullable String clientId)methodHttpHeadersconstants are extended withX-app_tidandX-client_idheaders- JWKs fetch from identity service going forward requires mandatory headers:
X-app_tidabdX-client_idthis has been updated in the default implementations of theOAuth2TokenKeyService:DefaultOAuth2TokenKeyServiceOAuth2TokenKeyServiceWithCache(java-security module)SpringOAuth2TokenKeyService
- [java-security]
AbstractTokenis serializable fixes #1209 - [java-security-test]
JwtGeneratoraddsapp_tidclaims with the default valuethe-app-tidto the Identity tokens. ❗Some adaption might be required when calling thegetZoneId()method as it will return now theapp_tidvalue back when default values are used.
Dependency upgrades
- Bump spring.core.version from 6.0.9 to 6.0.11
- Bump spring.boot.version from 3.0.6 to 3.1.2
- Bump spring.security.version from 6.0.3 to 6.1.2
- Bump reactor-core from 3.5.6 to 3.5.8
- Bump btp-environment-variable-access from 0.6.0 to 0.8.0
- Bump json from 20230227 to 20230618
- Bump commons-io from 2.11.0 to 2.13.0