Can the MDA add entity attributes?

Ian Young ian at iay.org.uk
Thu Sep 19 16:00:39 UTC 2024



> On 19 Sep 2024, at 16:40, Ian Young <ian at iay.org.uk> wrote:
> 
> Any Java bean implementing the Predicate<Element> interface would work too, if you wanted to write code


By which I meant Predicate<Item<Element>>.


> For example, if you wanted to pick out entities matching one of 100 different entityIDs, then writing a class that implemented a Predicate based on the ItemId metadata would probably be more compact.

So, specifically, it wouldn't be hard to write a Predicate<Item<?>> which took a Set<String> and matched ItemId metadata against the set, avoiding the need to extract the itemID from the XML every time (as well as working in the largely theoretical non-XML case). If you think that's of interest, stick in a Jira issue.

    -- Ian




-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4151 bytes
Desc: not available
URL: <http://shibboleth.net/pipermail/users/attachments/20240919/9b87d94a/attachment.p7s>


More information about the users mailing list