Here is a quick entry on ADFS2 and SharePoint 2010 integration. It is not an implementation guide or end-to-end walkthough… that comes later, if we decide to implement this thing.
At present, I am most interested in the model of SharePoint->ADFS2->Shibboleth, where the SP-STS trusts tokens from ADFS2. ADFS2 is part of a chained federation with our Shib service. ADFS will consume Shib tokens, then transform them for the benefit of SharePoint. However, I have no idea how to implement this solution at this time.
There are a few-too-many blog entires out there detailing how to configure ADFS2 and SharePoint 2010 for integration. Trouble is, many of the step-by-step guides present contradictory configuration steps. I guess there is no substitute for a deep, working knowledge of ADFS 2, SAML, and other Federation topics.
Here are some of the claims setup guides I have been working with:
- http://shannonbray.wordpress.com/2010/05/29/configuring-claims-based-authentication-for-sharepoint-with-ad-fs-2-0/
A very comprehensive guide, detailing ADFS installation, Relying Party Trust config, certificate handling, and SharePoint PowerShell commands. Interesting variations from standard doc include the elimination of the training “/” from the Relying Party Trust URL (i.e. “http://sharepointserver/_trust/”). This entry seems to have more sensible advice on the handling of STS signing certs. - http://blogs.msdn.com/b/ekraus/archive/2010/03/22/sharepoint-2010-claims-based-auth-with-adfs-v2.aspx
A concise entry on configuring the SharePoint side of the setup. Contains the rather odd instruction to add the ADFS token signing cert to your SharePoint “Trusted Root Certificates” store using PowerShell. I doubt this is required. - http://blogs.technet.com/b/speschka/archive/2010/07/30/configuring-sharepoint-2010-and-adfs-v2-end-to-end.aspx
Another end-to-end configuration guide. Also advises adding the signing cert as a “Trusted Root”. However, this post shows how specify multiple claims mappings when setting up the “Trusted Idetity Token Issuer” in SharePoint, which seems like a good thing. - A generic step-by-step, from the SharePoint Identity Team blog. Based on Geneva beta:
http://blogs.msdn.com/b/spidentity/archive/2010/01/23/claims-based-authentication-cheat-sheet-part-2.aspx
Here are additional configuration posts on the process of upgrading an existing SharePoint Web Application from “Windows” authentication to “Claims” authentication. The common denominators?
- You must add a valid new user to your claims-aware web app before migrating existing users, or the web application will be inaccessible after migration (or indeed, even before migration!)
- To trigger migration of users, you must invoke the “Migrate Users” method on your web app, E.g.:
$wa = get-SpWebApplication "https://webappurl" $wa.MigrateUsers($true)
The things here that seem very unclear to me are: What exactly is being done when you invoke the “MigrateUsers” method on the Web Application object? How does SharePoint map legacy “Windows” users to new “Claims” users? Anyway, here are the links:
- http://technet.microsoft.com/en-us/library/ff607753.aspx#section2
This is a sub-page of the official SharePoint 2010 documentation, containing specific information about configuring a claims application for use with SAML Tokens. - http://blogs.technet.com/b/speschka/archive/2010/07/20/migrating-from-windows-classic-auth-to-windows-claims-auth-in-sharepoint-2010-part-2.aspx
One of the few practical blogs with information on the use of the SP Claims. Contains some mistakes, such as the assertion that you cannot add additional claims mappings to an existing authentication provider, as demonstrated at dirteam.com. - http://technet.microsoft.com/en-us/library/ee806890.aspx
The Forms-based auth/claims app config docs for SharePoint 2010. References use of the “MigrateUsers” method.
Pages containing information that I have found useful while contemplating how to pull off SharePoint 2010:
- Zubair… he is the SharePoint/ADFS2 guru du jour, in my book.
- He has authored a utility for configuration SharePoint Federations… SPFedUtil.exe:
http://shojeeb.com/sharepoint/sharepoint-federation-utility-spfedutil-exe
- He co-presented this deck showing the panacea of SharePoint auth… ADFS2, Shib, OpenID, LiveID, and Facebook:
http://www.spsdemo.com/_layouts/PowerPoint.aspx?PowerPointView=ReadingView&PresentationId=/presentations/NZSPC_2010_Presentation_UOA.pptx&Source=http://www.spsdemo.com/presentations/Forms/AllItems.aspx&DefaultItemOpen=1
Note that I requested more details on this implementation as a comment on Zubair’s blog. He says he will have more info available next week, as he is presenting at TechEd at that time, so stay tuned! - Here is why the people picker in SharePoint works so badly for users coming in from ADFS:
http://shojeeb.com/sharepoint/custom-spclaimsprovider-for-sptrustedidentitytokenissuer-in-sharepoint-2010/ - So, we need to write a “Custom SPClaimsProvider” from this Token Issuer. Shoot…
- Fortunately, some guidance is available on implementing SPClaimsProviders:
http://msdn.microsoft.com/en-us/library/ff699494.aspx
- He has authored a utility for configuration SharePoint Federations… SPFedUtil.exe:
- Creating a LiveID STS for use with SharePoint 2010 (no ADFS):
http://blog.fpweb.net/claims-authentication-windows-live-id-for-sharepoint-2010/comment-page-1/ - Creating an OpenID STS for use with SharePoint 2010 (with ADFS):
https://blogs.pointbridge.com/Blogs/nielsen_travis/Pages/Post.aspx?_ID=34 - http://technet.microsoft.com/en-us/library/ee913589(WS.10).aspx
This page documents the claim types supported by AD FS 2, including the URIs that you need when defining claims mappings in SharePoint setup. - Adding additional claims mappings to an existing Claims-based Authentication Provider in SharePoint without deleting the whole ID Provider, as others have stated is necessary:
http://blogs.dirteam.com/blogs/tomek/default.aspx - Commercial help on this front… 9StarResearch will soon have a product for “code free” SharePoint 2010/Shibboleth Interop:
http://www.9starresearch.com/activesharefs-2010-for-enabling-sso-in-sharepoint-2010-coming-soon - Brian Arkills, UW Sys Admin and LDAP guru, pontificates on ADFS, Shib, and SharePoint:
https://wiki.cac.washington.edu/display/infra/ADFS+Discussion+with+Laura+Hunter
https://sharepoint.washington.edu/windows/Lists/Posts/Post.aspx?ID=123
Many of these links, as it turns out, were already discovered by members at dirteam.com. Doh…