Closed ghost closed 4 years ago
I'm just wondering... In what situation would you get no value? I can imagine an unset attribute, but I would expect [NULL] to be returned in that case.. Not [ ]
I'm just wondering... In what situation would you get no value? I can imagine an unset attribute, but I would expect [NULL] to be returned in that case.. Not [ ]
For empty lists like eduPersonEntitlement I am setting value to []
(which results in an empty <saml:Attribute>
in the SAML assertion), because some SPs are checking that they are receiving all attributes. With null
I get the same result (empty <saml:Attribute>
), but an empty array seems more appropriate and probably breaks fewer auth proc filters. But I can add a check for null
.
Codecov Report