include statements in xml configuration files?
Cantor, Scott
cantor.2 at osu.edu
Fri Feb 19 14:08:21 UTC 2021
On 2/19/21, 8:53 AM, "users on behalf of Ullfig, Roberto Alfredo" <users-bounces at shibboleth.net on behalf of rullfig at uic.edu> wrote:
> Those git hub entity ids I can get just by grepping out of the metadata file - automatically and periodically. No need in
> this case to modify metadata-providers.xml itself if I can source the data from an external file. I can then just
> automatically and periodically refresh the MetadataResolver service.
How would an include solve that?
Further, how could you just "grep" it from a metadata file? You'd have to maintain a list of the entities somewhere if it's not all of them so I don't think there's any real difference, but if the issue is just isolating the filter declaration than the answer is to use the ByReference filter mechanism to move it to a separate file.
If the filter is supposed to apply to "all" of the entities in the metadata, then the answer is that you're not doing it correctly. That's done with the Condition element to apply shibboleth.Conditions.TRUE as a bean to apply to decide whether to apply the filter.
-- Scott
More information about the users
mailing list