summaryrefslogtreecommitdiff
path: root/demos/providers/protected/application.xml
blob: d92589347e2b3bdc1074b01193dc657800a096c0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
<?xml version="1.0" encoding="utf-8"?>

<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="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>