开发者

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

开发者 https://www.devze.com 2023-04-03 18:43 出处:网络
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

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?


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.


two simple keywords: SQL users in one domain to another AD mapping you need to enable claims in sharepoint 2010. two different active directories you need ADFS V2

0

精彩评论

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