release the same attribute in lowercase or uppercase

Peter Schober peter.schober at univie.ac.at
Wed Jul 21 20:52:23 UTC 2021


* Giuseppe Giacomini <giuseppe.giacomini at unive.it> [2021-07-21 11:42]:
> I need to provide an attribute value to a specific SP in lowercase
> format and to the others in uppercase format.

Template-type AttributeDefintion using Velocity's toLowerCase() and
friends, see https://shibboleth.net/pipermail/users/2018-January/038796.html

As to releasing different versions to different SPs I guess you'd
endup with two AttributeDefintions and release one or the other as
needed in the filter.
Or collapse it all into one ScriptedAttribute and handle the
special-casing for the outlier SP(s) there.

The usual method of adding an extra AttributeEncoder with its
relyingParties XML attribute (making this specific to an SPs) won't
work here because you're not (or not only) changing the attribute name
(or name format) on the wire but the value.

-peter


More information about the users mailing list