开发者

SharePoint 2010 and SAML 2.0

Can I send SAML 2.0 token to SharePoint 2010 for authentication? I found a sample code in MSDN that 开发者_StackOverflow中文版connect office 365 in the cloud for the authentication, but the sample code uses SAML 1.1 token. Does SharePoint work with SAML 2.0 token as well?


No, you can't. Sharepoint supports natively SAML 1.1 for claim-based authentication. To handle SAML 2.0 tokens in Sharepoint 2010, you currently have 3 choices:

  1. develop a custom authentication provider using WIF. That shouldn't be that complex to do as SAML 2.0 was recently integrated in WIF. You'll find the library and code samples here: http://connect.microsoft.com/site1168/Downloads/DownloadDetails.aspx?DownloadID=36088
  2. use Active Directory Federation Services (ADFS). The general idea of this solution is that Sharepoint delegates authentication to ADFS, which is configured as a SAML 2.0 Service Provider. Main advantage of this solution: configuration/installation only, no development. Obvious downside: much more complex architecture.
  3. wait for Microsoft to implement SAML 2.0 in a future Sharepoint Service Pack :)


You can create custom Saml2SecurityTokenHandler Class

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜