[JIRA] Updated: (MDA-55) add ability to filter entity attribute values

Ian Young (JIRA) noreply at shibboleth.net
Mon Oct 8 05:05:22 EDT 2012


     [ https://issues.shibboleth.net/jira/browse/MDA-55?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ian Young updated MDA-55:
-------------------------

    Assignee: Ian Young  (was: Chad La Joie)

> add ability to filter entity attribute values
> ---------------------------------------------
>
>                 Key: MDA-55
>                 URL: https://issues.shibboleth.net/jira/browse/MDA-55
>             Project: Metadata Aggregator
>          Issue Type: New Feature
>          Components: SAML Metadata
>    Affects Versions: 0.6.1
>            Reporter: Ian Young
>            Assignee: Ian Young
>             Fix For: 0.8
>
>
> We need to be able to manipulate the collection of entity attributes on a particular entity.  One approach to this would be to implement an attribute whitelist/blacklist stage class matching format/attribute/value triples.  I think literal matches against such triples would be adequate for many use cases (things like entity categories, LoA/IAP identifiers), but simple wildcarding on the attribute value only would probably be useful too.
> Another approach would be to re-use the attribute filtering code that the IdP uses, somehow.
> For a first implementation, I believe it is reasonable to handle only individual Attribute elements, and refuse to process Assertion children of EntityAttributes.  I'm not sure that any manipulation of such Assertions makes sense given their mandatory signature element.
> Handling the special case where all entity attributes end up removed (which is not schema-valid) could be done by this code, but would probably be better handled by a separate "remove empty EntityAttributes" stage in the same way as we have a separate "remove empty Extensions" stage.  Might make sense to generalise that to a "remove empty X" instead, as this comes up regularly in SAML, which tends to have 1-or-more content constraints.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the commits mailing list