Sharepoint 2016 配置FBA(三)配置Sharepoint

时间:2021-07-03 08:53:55

 

编辑已经创建好的Web Applicaiton,

SharePoint Central Administration -> Application Management -> Manage Web Applications.

选中需要配置的Web Applicaition,点击Authentication providers

Sharepoint 2016 配置FBA(三)配置Sharepoint

点击需要编辑的authentication provider。我的只有一个Default。

Sharepoint 2016 配置FBA(三)配置Sharepoint

选中Enable Forms Based Authentication (FBA),ASP.Net Membership Provider Name 输入FBAMembershipProvider,ASP.NET Role Provider Name输入FBARoleProvider(和Web.config里的保持一致)。

Windows Authentication也选中,这样就可以以两种认证方式登录,在登录的时候会有选项提示。

Sharepoint 2016 配置FBA(三)配置Sharepoint

 

保存。进入网站的时候,可以看到选择Windows Authentication 和Forms Based Authentication的界面。

 Sharepoint 2016 配置FBA(三)配置Sharepoint