include statements in xml configuration files?
Cantor, Scott
cantor.2 at osu.edu
Fri Feb 19 17:02:36 UTC 2021
On 2/19/21, 10:57 AM, "users on behalf of Wessel, Keith" <users-bounces at shibboleth.net on behalf of kwessel at illinois.edu> wrote:
> In that case, I'm not seeing a pre-made bean to do this. I'm assuming it would be in system/conf/utilities.xml where all
> of the other pre-made condition beans live. Is there somewhere else we should be looking?
I wasn't suggesting a bean existed, I was saying a class might.
> If not, can you point us to another config that might have a similar condition script that does what we want here? Doing
> the getEntityID.match part is easy, but I'm not exactly sure how to set the results in the type of predicate that the entity
> attribute filter is looking for.
The results of a predicate are true or false. Maybe I'm not getting what you're asking.
If you're talking about what Chris is talking about, that has built-in utilities to adapt things for you.
shibboleth.Conditions.EntityDescriptor is a bean that takes a constructor argument that's a Predicate<EntityDescriptor>, and it will feed it the right input from the surrounding context.
There are examples of that in the wiki I believe.
-- Scott
More information about the users
mailing list