I have SharePoint 2010 with Claims Authentication (SAML / AD FS v2). I have made an incoming mapping for UPN, Role, CommonName. I want to show the user's "DisplayName" in the right corner (the Name on the profile or PreferredName on SPUser object), but I can't find any solution for how to map the incoming claims to the SPUser object properties.
You should just be able to use SPWeb.EnsureUser. It understands claims.
For example (from Tyler Holmes):