summaryrefslogtreecommitdiff
path: root/demos/providers/protected/application.xml
diff options
context:
space:
mode:
Diffstat (limited to 'demos/providers/protected/application.xml')
-rw-r--r--demos/providers/protected/application.xml74
1 files changed, 39 insertions, 35 deletions
diff --git a/demos/providers/protected/application.xml b/demos/providers/protected/application.xml
index d9258934..4763b2a6 100644
--- a/demos/providers/protected/application.xml
+++ b/demos/providers/protected/application.xml
@@ -3,41 +3,45 @@
<application id="Providers" mode="Debug">
<modules>
- <module id="MembershipProvider"
- class="System.Configuration.TProtectedConfiguration"
- defaultProvider="SqlMembershipProvider" >
- <provider
- id="SqlMembershipProvider"
- Description="Our SQL Membership provider"
- class="System.Web.Security.TSqlMembershipProvider"
- ConnectionStringName="SqlMembershipProvider"
- Enabled="true"
- EnablePasswordReset="True"
- EnablePasswordRetrieval="True"
- MaxInvalidPasswordAttempts="5"
- MinRequiredNonAlphanumericCharacters="5"
- MinRequiredPasswordLength="5"
- PasswordAttemptWindow="5"
- PasswordStrengthRegularExpression=""
- RequiresQuestionAndAnswer="True"
- RequiresUniqueEmail="True"/>
- </module>
+ <module id="FormsAuthentication"
+ class="System.Web.Security.TFormsAuthenticationModule"
+ defaultProvider="MembershipProvider"/>
+
+ <module id="MembershipProvider"
+ class="System.Configuration.TProtectedConfiguration"
+ defaultProvider="SqlMembershipProvider" >
+ <provider
+ id="SqlMembershipProvider"
+ Description="Our SQL Membership provider"
+ class="System.Web.Security.TSqlMembershipProvider"
+ ConnectionStringName="SqlMembershipProvider"
+ Enabled="true"
+ EnablePasswordReset="True"
+ EnablePasswordRetrieval="True"
+ MaxInvalidPasswordAttempts="5"
+ MinRequiredNonAlphanumericCharacters="5"
+ MinRequiredPasswordLength="5"
+ PasswordAttemptWindow="5"
+ PasswordStrengthRegularExpression=""
+ RequiresQuestionAndAnswer="True"
+ RequiresUniqueEmail="True"/>
+ </module>
- <module id="RoleProvider"
- class="System.Configuration.TProtectedConfiguration"
- defaultProvider="SqlRoleProvider">
- <provider
- id="SqlRoleProvider"
- class="System.Web.Security.TSqlRoleProvider"
- ConnectionStringName="SqlRoleProvider"
- ApplicationName="SampleApplication"
- Enabled="true"
- CacheRolesInCookie="True"
- CookieName="PRADO"
- CookieTimeout="30"
- CookiePath="/"
- CookieRequireSSL="False"
- CookieSlidingExpiration="True"/>
- </module>
+ <module id="RoleProvider"
+ class="System.Configuration.TProtectedConfiguration"
+ defaultProvider="SqlRoleProvider">
+ <provider
+ id="SqlRoleProvider"
+ class="System.Web.Security.TSqlRoleProvider"
+ ConnectionStringName="SqlRoleProvider"
+ ApplicationName="SampleApplication"
+ Enabled="true"
+ CacheRolesInCookie="True"
+ CookieName="PRADO"
+ CookieTimeout="30"
+ CookiePath="/"
+ CookieRequireSSL="False"
+ CookieSlidingExpiration="True"/>
+ </module>
</modules>
</application> \ No newline at end of file