sharepoint作为身份验证提供者

时间:2012-02-21 15:33:58

标签: web-services sharepoint authentication

是否可以将sharepoint用作身份验证提供程序?

这是我的设置:

服务器A - > IIS Web应用程序为不同的用户提供程序加载自定义dll

服务器B - > Sharepoint 2007

服务器C& D - >多个AD

Sharepoint配置为使用多个AD作为用户提供程序

这就是我想要实现的目标:

用户在Web应用程序中输入他的sharepoint凭据,这会自动加载dll(我需要创建) 然后,此dll以某种方式转发凭据以共享点并转发某种用户对象。 dll将sharepoint用户对象解析为它自己的类,并将其发送回webapp。 这可能吗?如果是,那么最好的方法是什么?我知道sharepoint有webservices等,但我不知道这是否可行。

所有服务器都位于同一网络中,在本地访问,因此传递凭据不是一个大问题。

1 个答案:

答案 0 :(得分:1)

UserGroup Web服务

您是否考虑过使用UserGroup Web服务http://msdn.microsoft.com/en-us/library/websvcusergroup.aspx

http://sharepointserver/_vti_bin/UserGroup.asmx

时可用

它有GetUserInfo方法,http://msdn.microsoft.com/en-us/library/websvcusergroup.usergroup.getuserinfo.aspx

身份验证网络服务

还有Authentication Web Service,但它只返回登录结果http://msdn.microsoft.com/en-us/library/websvcauthentication.aspx

非常适合检查用户的有效性。

http://sharepointserver/_vti_bin/Authentication.asmx

时可用