ASP.NET membership provider

headerlogo.jpg

 

ASP.NET features a built in user membership provider that can be easily extended and which also offers by default an Active directory provider. FeedbackServer can replace its default provider with an asp.net compatible user provider enabling FeedbackServer to be fully integrated in your user management systems based on the asp.net provider.
 

Once configured the provider will redirect all built in user features of FeedbackServer to the asp.net membership provider.
 

To setup the membership provider you will need to remove the original web.config and rename the web.ASP.config.
 

Once you have renamed your web.ASP.config to web.config you will need to setup following elements using a text editor like notepad to edit your web.config file.

  

  1. connectionString is the connection that FeedbackServer will use to connect to your SQL server.
    Note that its not the same as the ASP.net membership connection string in step 2.

  2.  Setup the ASP.net membership connection string
     <connectionStrings>
      <remove name="LocalSqlServer"/>
      <add name= "LocalSqlServer"connectionString="server=yoursqlserver;integrated security=true;Initial Catalog=yourmembershipdatabase" />
     </connectionStrings>
    <roleManager enabled="true" />
      <membership>
       <providers>
        <add connectionStringName="LocalSqlServer" name="MySqlMembershipProvider" type="System.Web.Security.SqlMembershipProvider, System.Web, Version=2.0.0.0,Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
       </providers>
      </membership>

  3. Note that this settings are related to asp.net membership configuration and you will need to setup them accodingly to your current .net configuration. If you dont know how to setup the membership provider we suggest following tutorial to start with : Scott Guthrie's membership provider
     
  4. <add key="FeedbackServerMembershipUserName" value= ""/> < BR> <add key="FeedbackServerMembershipApplicationName" value=""/>

  5. FeedbackServerMemberhipName will be the user defined in the asp.net membership provider that will hold by default admin rights inside FeedbackServer. This is required as we need at least one administrator when we start FeedbackServer for the first time.

  6. FeedbackServerMemberhipApplicationName (optional) is the application from which the asp.net membership provider will retrieve the users and roles. Leave blank or commented out if you don't know your application name.

     

Once you have configured the new user provider, you may access Feedback Server using any asp.net user membership provider available on the market.

 

 

(c) 2011 Data Illusion Zumbrunn. All Rights Reserved