Monday 21 October 2013

Creating Forms-Based Authentication for Claims-Based SharePoint 2010 Web Applications Using ASP.NET SQL Membership and Role Providers




Step 1:  Create a New Web Application
Step 2:  Create database for Asp.Net membership and role provider
Step 3:  Configuring a Membership and Role Provider for the SharePoint Web Application

Step 4:  Configuring a Membership and Role Provider for the SharePoint Central   Administration
Step 5:  Configuring a Membership and Role Provider for the SharePoint Web Services
Step 6:   Create Users and Groups
Step 7:   Testing Forms Based Authentication

Step 1:Create a New Web Application
Go to Central Admin->Application Management->Manage Web Applications
On ribbon select “New

In “Authentication” section select “Claims Based Authentication”
In “IIS Web Site” section select “Create a new IIS Web Site”
In Port change port number to 11111(e.g)
Name changes to SharePoint – 11111
In Claims Authentication Types “Enable Windows Authentication
“ and “Integrated Windows Authentication”
Select “NTLM” from dropdown
Select “Enable Forms Based Authentication (FBA)”
Under “ASP.NET Membership provider name” provide “aspnetmembership
Under “ASP.NET Role manager name” provide  aspnetrolemanager
In Public Url section url changes to http://ServerName:11111/
In Application Pool section select Create new Application Pool 
 

Name changes to SharePoint – 11111
Under Configurable select Managed Account
In Database Name and Authentication check Database server details and change the database name to WSS_Content_11111(Note: Name can be changed as per requirement)
Database Authentication should be Windows