简体   繁体   中英

SSO from C# ASP.NET web site to SharePoint 2010 site

We currently have a C# ASP.NET site where users log in to perform their day to day business needs, we have recently built the users of this site a data warehouse and OLAP cube which is accessed via a SharePoint site using the BI centre template. One of the requirements from the business is that the users should be able to access this SharePoint site via a link from the ASP.NET site without having to log in again.

I've done a little research on this subject and Secure Store Services seems to come to light quite often but from what I can see this would enable the user to link from SharePoint to the ASP.NET site.

Does anyone know how one would go about making this kind of SSO connection?

两个简单的关键字:一个域中的SQL用户到另一个AD映射,您需要在sharepoint 2010中启用声明。您需要两个不同的活动目录ADFS V2

If your users details are stored in SQL database, there are two scenarios:

  1. Your SQL database schema is same as one used by http://msdn.microsoft.com/en-us/library/system.web.security.sqlmembershipprovider.aspx . You can configure your sharpoint site for form authentication. In that case, you can use the same cookie generated by ASP.NET for SharePoint authentication.

  2. If your schema is different, you need to enable Claims Authentication and you will need to write a custom claims provider. Note that, you can even do away with simple form authentication and write your custom membership provider and role provider as well if you don't want to go claims way.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM