From 6a9bb7412ff6d8c5d27942399f1dbbfe0a394c5d Mon Sep 17 00:00:00 2001 From: Manuel Fink Date: Thu, 2 Apr 2026 12:36:46 +0200 Subject: [PATCH 1/2] AMS Java 4.1.0 CHANGELOG --- docs/Libraries/java/changelog.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/docs/Libraries/java/changelog.md b/docs/Libraries/java/changelog.md index d3f08e0..6e231a1 100644 --- a/docs/Libraries/java/changelog.md +++ b/docs/Libraries/java/changelog.md @@ -2,6 +2,12 @@ ## Version 4 +### 4.1.0 + +- Feature: added configuration option for fetching authorization bundles from an AMS Edge Service. +- Fix: Support for multiple Mock Policy Assignment sources (file-path, map structure) has been added to prevent startup errors when a file-path is configured in the Spring properties. +- Fix: added DEBUG log when the AMS CAP Plugin falls back to `UserInfo#getTenant` or `UserInfo#getId` because `app_tid` and/or `scim_id` claims cannot be found on `UserInfo` to allow analysis when policy assignments of a user unexpectedly do not apply. + ### 4.0.7 - Fix: Read Number constants from DCN as `Double` instead of `Long/Int` to avoid runtime errors when comparing with `Double` attribute input From 06d88d76963aea280444aeabae22e940f4231cba Mon Sep 17 00:00:00 2001 From: Manuel Fink Date: Thu, 2 Apr 2026 14:43:20 +0200 Subject: [PATCH 2/2] document edge service configuration properties --- docs/Libraries/java/cap-ams.md | 4 +++- docs/Libraries/java/spring-boot-ams.md | 5 ++++- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/docs/Libraries/java/cap-ams.md b/docs/Libraries/java/cap-ams.md index 6010ec6..025ed1e 100644 --- a/docs/Libraries/java/cap-ams.md +++ b/docs/Libraries/java/cap-ams.md @@ -39,6 +39,8 @@ cds: security: authorization: ams: + edge-service: + url: http://localhost:8080 # Edge service URL (optional) bundle-loader: polling-interval: 20000 # Bundle update polling interval in ms (default: 20000) initial-retry-delay: 1000 # Initial retry delay after failure in ms (default: 1000) @@ -46,4 +48,4 @@ cds: retry-delay-factor: 2 # Exponential backoff factor (default: 2) features: generateExists: true # Generate EXISTS predicates for filter attributes behind 1:N associations (default: true) -``` \ No newline at end of file +``` diff --git a/docs/Libraries/java/spring-boot-ams.md b/docs/Libraries/java/spring-boot-ams.md index d47182b..813db53 100644 --- a/docs/Libraries/java/spring-boot-ams.md +++ b/docs/Libraries/java/spring-boot-ams.md @@ -171,6 +171,9 @@ Configure the starter in `application.yml`: ```yaml sap: ams: + edge-service: + url: http://localhost:8080 # Edge service URL (optional) + bundle-loader: polling-interval: 20000 # Bundle update polling interval in ms (default: 20000) initial-retry-delay: 1000 # Initial retry delay after failure in ms (default: 1000) @@ -185,4 +188,4 @@ sap: enabled: true # Enable health indicator (default: true) readiness: enabled: true # Enable readiness state contributor (default: true) -``` \ No newline at end of file +```