Sharepoint FBAForms Based Authentication配置文档.docx

上传人:b****2 文档编号:1731402 上传时间:2023-05-01 格式:DOCX 页数:20 大小:524.78KB
下载 相关 举报
Sharepoint FBAForms Based Authentication配置文档.docx_第1页
第1页 / 共20页
Sharepoint FBAForms Based Authentication配置文档.docx_第2页
第2页 / 共20页
Sharepoint FBAForms Based Authentication配置文档.docx_第3页
第3页 / 共20页
Sharepoint FBAForms Based Authentication配置文档.docx_第4页
第4页 / 共20页
Sharepoint FBAForms Based Authentication配置文档.docx_第5页
第5页 / 共20页
Sharepoint FBAForms Based Authentication配置文档.docx_第6页
第6页 / 共20页
Sharepoint FBAForms Based Authentication配置文档.docx_第7页
第7页 / 共20页
Sharepoint FBAForms Based Authentication配置文档.docx_第8页
第8页 / 共20页
Sharepoint FBAForms Based Authentication配置文档.docx_第9页
第9页 / 共20页
Sharepoint FBAForms Based Authentication配置文档.docx_第10页
第10页 / 共20页
Sharepoint FBAForms Based Authentication配置文档.docx_第11页
第11页 / 共20页
Sharepoint FBAForms Based Authentication配置文档.docx_第12页
第12页 / 共20页
Sharepoint FBAForms Based Authentication配置文档.docx_第13页
第13页 / 共20页
Sharepoint FBAForms Based Authentication配置文档.docx_第14页
第14页 / 共20页
Sharepoint FBAForms Based Authentication配置文档.docx_第15页
第15页 / 共20页
Sharepoint FBAForms Based Authentication配置文档.docx_第16页
第16页 / 共20页
Sharepoint FBAForms Based Authentication配置文档.docx_第17页
第17页 / 共20页
Sharepoint FBAForms Based Authentication配置文档.docx_第18页
第18页 / 共20页
Sharepoint FBAForms Based Authentication配置文档.docx_第19页
第19页 / 共20页
Sharepoint FBAForms Based Authentication配置文档.docx_第20页
第20页 / 共20页
亲,该文档总共20页,全部预览完了,如果喜欢就下载吧!
下载资源
资源描述

Sharepoint FBAForms Based Authentication配置文档.docx

《Sharepoint FBAForms Based Authentication配置文档.docx》由会员分享,可在线阅读,更多相关《Sharepoint FBAForms Based Authentication配置文档.docx(20页珍藏版)》请在冰点文库上搜索。

Sharepoint FBAForms Based Authentication配置文档.docx

SharepointFBAFormsBasedAuthentication配置文档

2010FBA配置文档

1用ClaimsBasedAuthentication方式新建一个webapplication。

·打开CentralAdministration

·点击ManageWebapplication点击new

·在弹出的新建webapp的窗口中选择ClaimsbasedAuthentication

·勾选EnableFormsBasedAuthentication(FBA)还可以勾选正常的WindowsAuthentication

·在两个name处分别填入AspNetSqlMembershipProvider和AspNetSqlRoleProvider(注:

这里的name可以随便填,但是为了下面的config文件对应就用这两个吧)

·点击create,webapplication创建成功

2利用创建数据库

·在dos命令下输入cdc:

\Windows\Microsoft.NET\Framework64\v2.0.50727

 

·继续输入aspnet_regsql.exe后会弹出下面的窗口

·点击下一步。

下一步会出现下面的界面。

 

·在server处添加sql机器的servername在database中添加自己定义的数据库名称。

·点击下一步数据库建立成功。

2修改config文件(注:

这里我们要修改三个webapp的config文件Web.configofFBAWebapplication,web.configofCentralAdministrationSite&Web.configofSTS.)

其中FBAWebapplication是刚才新建的那个webapp其config文件的路径为C:

\inetpub\wwwroot\wss\VirtualDirectories

CentralAdministrationSite为SharePoint管理中心其config文件的路径为C:

\inetpub\wwwroot\wss\VirtualDirectories

STS为SecurityTokenService其config文件的路径为C:

\ProgramFiles\CommonFiles\MicrosoftShared\WebServerExtensions\14\WebServices\SecurityToken

·下面的字段需要在三个webapp的config文件中分别添加的字段,其中datasource是填入sqlserver的name;InitialCatalog处填入刚才用建立的数据库的名称

 

--FBAClaimsAuth-->

--FBAClaimsAuth-->

·在新建的FBA的webapp中的config文件中添加下面的字段

......

......

......

......

·在sts的webapp的config文件中添加下面的字段

......

......

在ca的webconfig文件中添加这样的

......

......

......

......

3.在SQL数据库中添加用户

打开vs2008,新建一个website的项目,把下面的代码添加进去

xmlversion="1.0"?

>

--

Note:

Asanalternativetohandeditingthisfileyoucanusethe

webadmintooltoconfiguresettingsforyourapplication.Use

theWebsite->Asp.NetConfigurationoptioninVisualStudio.

Afulllistofsettingsandcommentscanbefoundin

mentsusuallylocatedin

\Windows\Microsoft.Net\Framework\v2.x\Config

-->

 

 

--

Setcompilationdebug="true"toinsertdebugging

symbolsintothecompiledpage.Becausethis

affectsperformance,setthisvaluetotrueonly

duringdevelopment.

-->

--

Thesectionenablesconfiguration

ofthesecurityauthenticationmodeusedby

ASP.NETtoidentifyanincominguser.

-->

--

Thesectionenablesconfiguration

ofwhattodoif/whenanunhandlederroroccurs

duringtheexecutionofarequest.Specifically,

itenablesdeveloperstoconfigurehtmlerrorpages

tobedisplayedinplaceofaerrorstacktrace.

展开阅读全文
相关资源
猜你喜欢
相关搜索

当前位置:首页 > 人文社科 > 法律资料

copyright@ 2008-2023 冰点文库 网站版权所有

经营许可证编号:鄂ICP备19020893号-2