Filtering an attribute that contains JSON with more attributes
Cantor, Scott
cantor.2 at osu.edu
Thu Dec 15 09:36:34 EST 2016
> I mean the opposite. ;) The JSON object contains attribute names and
> values and is going to be released like that. What I'd like to do is
> filter keys from inside this object based on the attribute filter rules,
> while keeping the attributes values inside this bundle (.i.e not mixing
> them with other attributes from LDAP). Something like running the
> attribute filtering engine just on this object as if it were the only
> attributes available.
SInce nothing understands anything but strings there is no support for filtering anything but strings. If you want to do something like that, you need custom filter rules using Java or a script. Nothing related to any existing rules or plugins applies. You'd need a whole layer of infrastructure here, including new AttributeEncoders capable of dealing with JSON.
-- Scott
More information about the users
mailing list