<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
Doug,
<div class=""><br class="">
</div>
<div class="">A lot of the software that you are running is very old.  Tomcat 5, Centos 5, Java 6, and Shibboleth 2.4 are all either out of support or close enough.</div>
<div class=""><br class="">
</div>
<div class="">I would try updating your software.</div>
<div class=""><br class="">
<div>
<blockquote type="cite" class="">
<div class=""><span style="font-size: 12.8px; font-family: monospace, monospace;" class=""><md:RequestedAttribute FriendlyName="email" isRequired="true" Name="User Id" NameFormat="urn:oasis:names:tc:SAML:2.0:attrname-format:uri"/></span></div>
</blockquote>
<div><br class="">
</div>
<div>This isn't a legal thing for them to ask for, for what it's worth.  The NameFormat indicates the Name will be a URI, but "User Id" is not a URI(or really standardized).</div>
<br class="">
<blockquote type="cite" class="">
<div class="">
<div dir="ltr" class="">
<div class=""><span style="font-size:12.8px" class="">Not surprisingly when I attempt to access the SP with only a username, it fails to login, and generates this message in the logs:</span></div>
<div class=""><span style="font-size:12.8px" class=""><br class="">
</span></div>
<div class=""><font face="monospace, monospace" class=""><span style="font-size:12.8px" class="">No attribute of principal 'dcarter' can be encoded in to a NameIdentifier of required format 'urn:oasis:names:tc:SAML:2.0:nameid-format:transient' for relying party
 '<a href="http://foo.domain.com/" class="">foo.domain.com</a>'</span></font></div>
</div>
</div>
</blockquote>
<div><br class="">
</div>
<div>This indicates that the name selection process ended up choosing transient, likely because of an explicit request for a transient user nameID in metadata.</div>
<br class="">
<blockquote type="cite" class="">
<div class="">
<div dir="ltr" class="">
<div style="font-size:12.8px" class="">I've looked through the docs and Googled this a lot, and have seen others with a similar problem, but it's not clear to me what part of the config needs to be changed. I could pull the email address from LDAP, but since
 our usernames are unique, I don't know why just hard-coding our domain to the username wouldn't work. This seems like a pretty common config that must come up, but so far I haven't found any good config examples that shows how it's done.</div>
<div style="font-size:12.8px" class=""><br class="">
</div>
<div style="font-size:12.8px" class="">Any tips, pointers or other advice would be greatly appreciated. </div>
</div>
</div>
</blockquote>
<br class="">
</div>
<div>I would:</div>
<div><br class="">
</div>
<div>1)  Update your software</div>
<div>2)  Ask the SP to choose a legal name, preferably using an attribute that already exists.  Consider "mail" or "urn:oasis:names:tc:SAML:1.1:email-address".  I might have the latter string off by a bit.</div>
<div><br class="">
</div>
<div><we can jump in to help again at this point if you need it)</div>
<div><br class="">
</div>
<div>3)  Make sure their metadata properly asks for transient identifiers.</div>
<div>4)  Get the right attribute encoder in place</div>
<div>5)  Release the right attribute to the right SP</div>
<div><br class="">
</div>
<div>I'd do it in that order, if you could.</div>
<div><br class="">
</div>
<div>Take care,</div>
<div>Nate.</div>
<br class="">
</div>
</body>
</html>