Filtering an attribute that contains JSON with more attributes

Cantor, Scott cantor.2 at osu.edu
Wed Dec 14 12:21:00 EST 2016


On 12/14/16, 11:02 AM, "users on behalf of Etienne Dysli-Metref" <users-bounces at shibboleth.net on behalf of etienne.dysli-metref at switch.ch> wrote:

>    The attribute resolver returns one attribute that contains a JSON
>    object. Keys inside this object are "usual" attribute names (say from
>    the eduPerson schema). I'd like to filter these key/value pairs just
>    like other attributes returned by the resolver.

If you mean filtering *other* attributes based on the JSON content sitting inside there and not actually publishing the JSON itself out as data, then you could use a Scripted MatchFunctor in the filter I believe.

-- Scott
 



More information about the users mailing list