Closed phavekes closed 1 month ago
https://github.com/OpenConext/OpenConext-attribute-aggregation/commit/c0e3b3ff9703e1c50f77a85f2225af7411198edd (Okke Harsta - May 3, 2024)
I\'ve put credentials for sab-ng.surfnet.nl in t07:~okke.
I\'ve provided feedback on the commit linked above. (Thijs Kinkhorst - May 8, 2024)
Incorporated feedback in https://github.com/OpenConext/OpenConext-attribute-aggregation/commit/bb37b00055f7a5e6f57fd564bd3d71d53bcfb9af (Okke Harsta - May 14, 2024)
This issue is imported from pivotal - Originaly created at Apr 9, 2024 by Thijs Kinkhorst
The SAB aggregator currently uses the SAML AQ interface of SAB. We want to reduce the amount of APIs SAB has so we want to migrate this to the SAB REST API so we can phase out the AQ API.
We want to add a new attribute source named
sabrest
, next to the existing unchangedsab
source (which will be removed later).The SAB REST interface is documented here: https://wiki.surfnet.nl/display/SABint/SAB+via+REST-zoekinterface
It needs a GET request to the specified URL with uid and schachomeorg as request parameters which is protected by basic auth:
and will return the given JSON string.
Given this example string:
The expected attribute values to be delivered are:
The new aggregator must support two different target attributes to deliver the values to:
urn:mace:dir:attribute-def:eduPersonEntitlement
andurn:mace:surf.nl:attribute-def:surf-autorisaties