Applying filters to metadata
Herron, Joel D
herronj at uww.edu
Sun Jan 29 22:46:04 UTC 2023
We handle this outside of the IDP entirely. We have a cron job that runs every morning to pull any remote metadata and then runs a set of filters on each file and then aggregates them into a single metadata file that we then load. This allows us to apply custom overlays per SP if needed or just our default set.
--Joel
From: users <users-bounces at shibboleth.net> on behalf of Max Spicer via users <users at shibboleth.net>
Date: Saturday, January 28, 2023 at 3:59 AM
To: Cantor, Scott <cantor.2 at osu.edu>
Cc: Max Spicer <max.spicer at york.ac.uk>, Shib Users <users at shibboleth.net>
Subject: Re: Applying filters to metadata
EXTERNAL EMAIL
My experiments show you cannot do this, as you say. The config is loaded successfully but the filters do not get applied and associated scripts are not even compiled when the config is loaded. I wasn't certain about this having read the docs as a chain is an instance of a MetadataProvider.
Could you suggest any other ways to achieve the same result? I'd prefer to avoid having to attach a filter manually to every remote source.
Thanks,
Max
On Fri, 27 Jan 2023, 20:18 Cantor, Scott, <cantor.2 at osu.edu<mailto:cantor.2 at osu.edu>> wrote:
You cannot, so far as I recall, attach filters to chains, they have to be applied to the actual sources. The docs should be clear either way if it can be done.
-- Scott
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://shibboleth.net/pipermail/users/attachments/20230129/13429564/attachment.htm>
More information about the users
mailing list