include statements in xml configuration files?
Christopher Bongaarts
cab at umn.edu
Fri Feb 19 16:54:00 UTC 2021
The input side is what's different - most of the built-in
Conditions/Predicates are Predicate<ProfileRequestContext>, while the
entity attribute filter is expecting a Predicate<EntityDescriptor>. The
output is still basically a boolean.
On 2/19/2021 9:57 AM, Wessel, Keith 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?
>
> 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.
>
> Keith
>
>
> -----Original Message-----
> From: users <users-bounces at shibboleth.net> On Behalf Of Cantor, Scott
> Sent: Friday, February 19, 2021 9:26 AM
> To: Shib Users <users at shibboleth.net>
> Subject: Re: include statements in xml configuration files?
>
> On 2/19/21, 10:13 AM, "users on behalf of Wessel, Keith" <users-bounces at shibboleth.net on behalf of kwessel at illinois.edu> wrote:
>
>> Perhaps this one?
>> <bean id="shibboleth.Conditions.Expression"...
> No, that's for Spring Expressions. I mean, yes, you can probably shortcut a regex of some sort that way, but Expression doesn't mean RegularExpression in the name.
>
> -- Scott
>
>
--
%% Christopher A. Bongaarts %% cab at umn.edu %%
%% OIT - Identity Management %% http://umn.edu/~cab %%
%% University of Minnesota %% +1 (612) 625-1809 %%
More information about the users
mailing list