<div dir="ltr"><div>If I receive an attribute statement like this:</div><div><br></div><font face="courier new, monospace">&lt;saml:AttributeStatement xmlns:x500=&quot;urn:oasis:names:tc:SAML:2.0:profiles:attribute:X500&quot; xmlns:xs=&quot;<a href="http://www.w3.org/2001/XMLSchema">http://www.w3.org/2001/XMLSchema</a>&quot; xmlns:xsi=&quot;<a href="http://www.w3.org/2001/XMLSchema-instance">http://www.w3.org/2001/XMLSchema-instance</a>&quot;&gt;</font><div>
<font face="courier new, monospace">  &lt;saml:Attribute Name=&quot;Email&quot; NameFormat=&quot;urn:oasis:names:tc:SAML:2.0:attrname-format:basic&quot;&gt;</font></div><div><font face="courier new, monospace">    &lt;saml:AttributeValue xsi:type=&quot;xs:string&quot;&gt;<a href="mailto:jdoe@example.com">jdoe@example.com</a>&lt;/saml:AttributeValue</font></div>
<div><font face="courier new, monospace">  &lt;/saml:Attribute&gt;</font></div><div><font face="courier new, monospace">  &lt;saml:Attribute Name=&quot;GivenName&quot; NameFormat=&quot;urn:oasis:names:tc:SAML:2.0:attrname-format:basic&quot;&gt;</font></div>
<div><font face="courier new, monospace">    &lt;saml:AttributeValue xsi:type=&quot;xs:string&quot;&gt;John&lt;/saml:AttributeValue&gt;</font></div><div><font face="courier new, monospace">  &lt;/saml:Attribute&gt;</font></div>
<div><font face="courier new, monospace">  &lt;saml:Attribute Name=&quot;UserID&quot; NameFormat=&quot;urn:oasis:names:tc:SAML:2.0:attrname-format:basic&quot;&gt;</font></div><div><font face="courier new, monospace">    &lt;saml:AttributeValue xsi:type=&quot;xs:string&quot;&gt;jdoe&lt;/saml:AttributeValue&gt;</font></div>
<div><font face="courier new, monospace">  &lt;/saml:Attribute&gt;</font></div><div><font face="courier new, monospace">  &lt;saml:Attribute Name=&quot;FamilyName&quot; NameFormat=&quot;urn:oasis:names:tc:SAML:2.0:attrname-format:basic&quot;&gt;</font></div>
<div><font face="courier new, monospace">    &lt;saml:AttributeValue xsi:type=&quot;xs:string&quot;&gt;Doe&lt;/saml:AttributeValue&gt;</font></div><div><font face="courier new, monospace">  &lt;/saml:Attribute&gt;</font></div>
<div><font face="courier new, monospace">&lt;/saml:AttributeStatement&gt;<br clear="all"></font><div><br></div><div>I should be able to extract the attributes using a mapping like this right?</div><div><br></div><div><div>
<font face="courier new, monospace">&lt;Attributes xmlns=&quot;urn:mace:shibboleth:2.0:attribute-map&quot; xmlns:xsi=&quot;<a href="http://www.w3.org/2001/XMLSchema-instance">http://www.w3.org/2001/XMLSchema-instance</a>&quot;&gt;</font></div>
<div><font face="courier new, monospace">  &lt;Attribute name=&quot;Email&quot; id=&quot;Email&quot;/&gt;</font></div><div><font face="courier new, monospace">  &lt;Attribute name=&quot;GivenName&quot; id=&quot;GivenName&quot;/&gt;</font></div>
<div><font face="courier new, monospace">  &lt;Attribute name=&quot;UserID&quot; id=&quot;UserID&quot;/&gt;</font></div><div><font face="courier new, monospace">  &lt;Attribute name=&quot;FamilyName&quot; id=&quot;FamilyName&quot;/&gt;</font></div>
<div><font face="courier new, monospace">&lt;/Attributes&gt;</font></div></div><div><br></div><div>When I start Shibboleth it appears to create the mappings:</div><div><br></div><div><div><font face="courier new, monospace">2014-03-26 02:07:09 INFO Shibboleth.AttributeExtractor.XML : loaded XML resource (D:/nd/shibboleth-sp/etc/shibboleth/attribute-map.xml)</font></div>
<div><font face="courier new, monospace">2014-03-26 02:07:09 INFO Shibboleth.AttributeExtractor.XML : creating mapping for Attribute Email</font></div><div><font face="courier new, monospace">2014-03-26 02:07:09 INFO Shibboleth.AttributeExtractor.XML : creating mapping for Attribute GivenName</font></div>
<div><font face="courier new, monospace">2014-03-26 02:07:09 INFO Shibboleth.AttributeExtractor.XML : creating mapping for Attribute UserID</font></div><div><font face="courier new, monospace">2014-03-26 02:07:09 INFO Shibboleth.AttributeExtractor.XML : creating mapping for Attribute FamilyName</font></div>
</div><div><br></div><div>But when processing the assertion it skips the attributes, claiming they are unmapped:</div><div><br></div><div><div><font face="courier new, monospace">2014-03-26 18:37:13 INFO Shibboleth.AttributeExtractor.XML [1]: skipping unmapped SAML 2.0 Attribute with Name: Email, Format:urn:oasis:names:tc:SAML:2.0:attrname-format:basic</font></div>
<div><font face="courier new, monospace">2014-03-26 18:37:13 INFO Shibboleth.AttributeExtractor.XML [1]: skipping unmapped SAML 2.0 Attribute with Name: GivenName, Format:urn:oasis:names:tc:SAML:2.0:attrname-format:basic</font></div>
<div><font face="courier new, monospace">2014-03-26 18:37:13 INFO Shibboleth.AttributeExtractor.XML [1]: skipping unmapped SAML 2.0 Attribute with Name: UserID, Format:urn:oasis:names:tc:SAML:2.0:attrname-format:basic</font></div>
<div><font face="courier new, monospace">2014-03-26 18:37:13 INFO Shibboleth.AttributeExtractor.XML [1]: skipping unmapped SAML 2.0 Attribute with Name: FamilyName, Format:urn:oasis:names:tc:SAML:2.0:attrname-format:basic</font></div>
</div><div><br></div><div>What am I missing?</div><div><br></div>-- <br><div dir="ltr">Best regards,<br><br>Robert Lowe<br><a href="http://crepuscular.rmlowe.com/" target="_blank">http://crepuscular.rmlowe.com/</a></div>
</div></div>