include statements in xml configuration files?

Cantor, Scott cantor.2 at osu.edu
Fri Feb 19 17:54:09 UTC 2021


On 2/19/21, 12:25 PM, "users on behalf of Wessel, Keith" <users-bounces at shibboleth.net on behalf of kwessel at illinois.edu> wrote:

>    Okay, so perhaps I'm overthinking this. Could we do something like this inside the entity attribute filter block of
> metadata-providers.xml?

Mechanically, yes, there's a block of script, it will give you the EntityDescriptor as "input", and you return true or false. The rest is very much a case of "it depends".

However, I think you're just calling a Java String method there (matches), which I would think will work. It's slower obviously since that's compiling the regex every call, but that's the difference between simple and optimized.

I do not see, offhand, an actual class that does this. There's an EntityIdPredicate class in OpenSAML that's the non-regex equivalent but not the regex alternative.

-- Scott




More information about the users mailing list