<div dir="ltr"><div><br></div><div>All,</div><div>  After upgrading to 4.0.1, I only had one SP that had issues with the upgrade, and it turned out to be a change in the way the attributes were populated in the assertion.</div><div><br></div><div>Scenario:</div><div>We have some attributes that had multiple SAML2String AttributeEncoders tied to them to accommodate SPs that were looking for specific names for an attribute. In general, the secondary encoders lacked a friendlyName xml attribute in the AttributeEncoder element. (Reasoning being if they were looking for that specific name, they didn't need a friendly name.)</div><div><br></div><div>Under 3.4.6 and earlier, this resulted in assertions with Attribute elements that contained no FriendlyName xml attributes, as expected.  Under 4.0.1, it seems that these attributes inherited the friendly name from the other SAML2String encoder. So the resulting assertion had two Attributes with different Names, but the same FriendlyName.</div><div><br></div><div>For one of our SPs, this was a problem. They outright rejected the assertion if two attributes had the same FriendlyName. Now, I'm of the opinion that that's a bug on their part, since nobody should be relying on FriendlyNames. But I haven't examined the spec to see if it's allowed or not. </div><div><br></div><div>It was easily fixed by me putting a friendlyName value in the AttributeEncoders so that everything had a unique FriendlyName in the assertion. I wanted to bring it to the attention of others, though, in case they run across something similar.</div><div><br></div><div>I'm happy to file a jira, if this is considered a bug in IdP4. I know the encoding configuration has all changed, so maybe this is just an artifact from using legacy configuration.</div><div><br></div><div><br></div><div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div>-- </div><div>Paul Engle</div><div>IAM Architect</div><div>Identity & Access Management</div><div><a href="mailto:pengle@rice.edu" target="_blank">pengle@rice.edu</a> 713-348-4702</div></div></div></div></div></div></div></div>