Search filter script

Daniel Fisher dfisher at vt.edu
Tue May 3 16:51:01 EDT 2016


On Mon, May 2, 2016 at 7:51 PM, Cantor, Scott <cantor.2 at osu.edu> wrote:

>
> And my suggestion is not workable either, I keep forgetting the Filter
> templates aren't Velocity-based (yet, there's a RFE for that, IDP-827).
>

Not for authentication, but they are velocity based for attribute
resolution.
So you could try the following velocity-fu in your filter template:

    <FilterTemplate>
        <![CDATA[
            (|#foreach ($val in ${attributeName})(ATTRIBUTE-X=$val)#end)
        ]]>
    </FilterTemplate>


Note the filter expression begins with "(|" to OR each value and ends with
")" to close the expression.

--Daniel Fisher
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://shibboleth.net/pipermail/users/attachments/20160503/f636491c/attachment.html>


More information about the users mailing list