如何从基于群的身份验证启用asp.net应用程序或asp.net mvc来验证基于sharepoint声明的Web应用程序

时间:2022-03-17 05:54:31

How to authenticate to share point claims based web application from an asp.net web application.

如何通过asp.net Web应用程序进行身份验证以共享基于Web应用程序的基于点的声明。

1) i have a sharepoint web application which is (windows) claims based authentication enable and its in domain for example: COMPANY1

1)我有一个sharepoint web应用程序,它是(windows)基于声明的身份验证启用及其域名,例如:COMPANY1

- and its not enable anonymous access , only a share point group can lo-gin to this share point site( these users are belongs to a  A.D group).

2)In another domain COMPANY 2:

2)在另一个域名公司2:

i have simple asp.net application which is farm authentication enable and users authenticated to this application from sql server database( users saved ins sql server ).

我有简单的asp.net应用程序,它是农场身份验证启用和用户从sql server数据库(用户保存在sql server中)对此应用程序进行身份验证。

scenario:

Users will login to asp.net application and authenticated , and after they will view the dashboard of this application in home page(default.aspx page)

用户将登录到asp.net应用程序并进行身份验证,然后他们将在主页中查看此应用程序的仪表板(default.aspx页面)

and after here in this page there is a link to view the some BI data ( that exists in Sharepoint website)

在此页面之后有一个链接可以查看一些BI数据(存在于Sharepoint网站中)

here when this authenticated user clicks this link it must be open shaepoint page without asking

在这个经过身份验证的用户点击此链接时,必须打开shaepoint页面而不要求

login credentials.

this is how its possible to do in sharepoint 2010

这就是它在sharepoint 2010中的可行性

when i research about my problem i found that create custom sts service in sharepoint

当我研究我的问题时,我发现在sharepoint中创建自定义sts服务

and after how to make authentication between asp.net and sharepoint

以及如何在asp.net和sharepoint之间进行身份验证

1 个解决方案

#1


0  

https://msdn.microsoft.com/en-us/library/hh446525.aspx

A little dated information but think the scenario falls into what you need to setup for groups and claims on respective account. Tokens (jwt or swt) are generally used as part of the authorization process

有点过时的信息,但认为该方案属于您需要为各个帐户设置的群组和声明。令牌(jwt或swt)通常用作授权过程的一部分

#1


0  

https://msdn.microsoft.com/en-us/library/hh446525.aspx

A little dated information but think the scenario falls into what you need to setup for groups and claims on respective account. Tokens (jwt or swt) are generally used as part of the authorization process

有点过时的信息,但认为该方案属于您需要为各个帐户设置的群组和声明。令牌(jwt或swt)通常用作授权过程的一部分