Dealing with EmptyAttributeValues when encoding SAML2Strings
Cantor, Scott
cantor.2 at osu.edu
Wed Apr 7 13:38:32 UTC 2021
On 4/7/21, 9:08 AM, "users on behalf of Max Spicer via users" <users-bounces at shibboleth.net on behalf of users at shibboleth.net> wrote:
> The attribute definition is:
Entirely unnecessary. Simple on top of anything with no transformation can be replaced by an exporting DataConnector and a transcoding rule, no definition needed. But that's orthogonal to the logging.
> Can we filter the null values from being encoded somehow?
I would have thought Simple might do it actually, making the definition worth something but it's useless as it stands. The most logical thing might be to enhance it to have that option to drop nulls or empties so that it can clean the values, which adds some value back to Simple.
Outside of a scripted definition, probably the only way right now is with a filter rule that only permits non-empty values, probably with a regex.
Of course suppressing the warning is also just a logback setting too.
-- Scott
More information about the users
mailing list