P. 1
FBA

FBA

|Views: 8|Likes:
Published by Abhi

More info:

Published by: Abhi on Mar 12, 2012
Copyright:Attribution Non-commercial

Availability:

Read on Scribd mobile: iPhone, iPad and Android.
download as DOC, PDF, TXT or read online from Scribd
See more
See less

07/16/2014

pdf

text

original

Various Steps to provide Forms authentication for Portal & its associated Shared Services

:
1.

Run the aspnet_regsql from the dotnet command prompt to setup the aspnet db in the sql server.
C:\WINDOWS\Microsof t .NET\Framework\<vers ionNumber>

2.

Open a new website from the visual studio and change the web.config file to include the connection string:
<connectionStrings> <remove name="LocalSqlServer" /> <add name="LocalSqlServer" connectionString="Server=Madan;Database=aspnetdb;uid=sa;pwd=sa;" providerName="System.Data.SqlClient" /> </connectionStrings>

Then click on the configuration prompt to add the users.

3.

Change the web.config file of the Central Administration site to include the connection string as follows:
<connectionStrings> <remove name="LocalSqlServer" /> <add name="LocalSqlServer" connectionString="Server=Madan;Database=aspnetdb;uid=sa;pwd=sa;" providerName="System.Data.SqlClient" /> </connectionStrings>

4.

The following are the applications created: a. SharePoint80 – A Web Application created with one of its Site Collection Template as Team Site. b. SharepointServices80 – Share point Services application (ssp application) c. SharepointSites80 – The web application created for all personal sites in Sharepoint80 Site. (created during ssp creation)

5.

On the Application Tab, these are the different links that need to be modified (as shown in the successive steps)1

6.

Click on Authentication providers link. Select the application in point# 4a. Set the values appropriately as shown in the figure.

7.

Click on SiteCollectionAdministrators link. Select the same application as mentioned above. Add the user of aspnetdb as site collection administrator.

8.

Go to Policy for Web Application link. Select the appropriate application as above. Click on Add User. Choose the default zone. Enter the FBA user set up in the aspnetdb. See the figure below for various values.

Repeat the steps 6,7,8 for the other applications mentioned in the point#4b and point#4c. 10. From the steps above, we have setup the forms authentication for the Portal Application, personal sites portal of the parent portal and Shared Services associated with the Portal.
9.

We will not be able to access the features marked below from the Sharepoint services with the above setup. (Though logged into Shared Services with Forms authentication).

So proceed to execute the steps below.
11.

Click on Authentication Providers link in Application Management for the Shared Services application. Replace the Forms authentication with the Windows Authentication as shown below:

12.

Now go to SharedServices80  PersonalizationServices.

13.

Add the FBA User and give all the permissions for the FBA User as mentioned below.

14.

Go to SharedServices80  Business Data Catalog Permissions

15.

Add the FBA User and give permissions as shown below:

Go back to Shared Services Application’s Authentication Provider. Repeat point#6 to set up the Forms authentication for the Shared Services. 17. The FBA setup using aspnet membership is completed with this. 18. The user will be able to login to the application or Shared services with forms authentication from aspnet sql membership.
16.

You're Reading a Free Preview

Download
scribd
/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->