1 | <?xml version="1.0"?>
|
---|
2 | <configuration>
|
---|
3 | <connectionStrings>
|
---|
4 | <add name="HeuristicLab.Authentication"
|
---|
5 | connectionString="data source=.\SQLEXPRESS;Integrated Security=SSPI;Initial Catalog=HeuristicLab.Authentication"/>
|
---|
6 | </connectionStrings>
|
---|
7 |
|
---|
8 | <system.web>
|
---|
9 | <authentication mode="Forms" />
|
---|
10 | <compilation debug="true" targetFramework="4.0" />
|
---|
11 |
|
---|
12 | <membership>
|
---|
13 | <providers>
|
---|
14 | <clear/>
|
---|
15 | <add name="AspNetSqlMembershipProvider" type="System.Web.Security.SqlMembershipProvider" connectionStringName="HeuristicLab.Authentication"
|
---|
16 | enablePasswordRetrieval="false" enablePasswordReset="true" requiresQuestionAndAnswer="false" requiresUniqueEmail="false"
|
---|
17 | maxInvalidPasswordAttempts="5" minRequiredPasswordLength="6" minRequiredNonalphanumericCharacters="0" passwordAttemptWindow="10"
|
---|
18 | applicationName="HeuristicLab.Authentication" />
|
---|
19 | </providers>
|
---|
20 | </membership>
|
---|
21 |
|
---|
22 | <roleManager enabled="true">
|
---|
23 | <providers>
|
---|
24 | <clear/>
|
---|
25 | <add name="AspNetSqlRoleProvider" type="System.Web.Security.SqlRoleProvider" connectionStringName="HeuristicLab.Authentication" applicationName="HeuristicLab.Authentication" />
|
---|
26 | </providers>
|
---|
27 | </roleManager>
|
---|
28 | </system.web>
|
---|
29 |
|
---|
30 | <system.serviceModel>
|
---|
31 | <bindings>
|
---|
32 | <wsHttpBinding>
|
---|
33 | <binding name="DefaultWSHttpBinding">
|
---|
34 | <security mode="Message">
|
---|
35 | <message clientCredentialType="UserName" />
|
---|
36 | </security>
|
---|
37 | </binding>
|
---|
38 | </wsHttpBinding>
|
---|
39 |
|
---|
40 | <mexHttpBinding>
|
---|
41 | <binding name="DefaultMexBinding" />
|
---|
42 | </mexHttpBinding>
|
---|
43 | </bindings>
|
---|
44 |
|
---|
45 | <services>
|
---|
46 | <service behaviorConfiguration="DefaultBehavior" name="HeuristicLab.Services.DemoService.Service">
|
---|
47 | <clear />
|
---|
48 | <endpoint binding="wsHttpBinding" bindingConfiguration="DefaultWSHttpBinding"
|
---|
49 | contract="HeuristicLab.Services.DemoService.IService" listenUriMode="Explicit">
|
---|
50 | </endpoint>
|
---|
51 |
|
---|
52 | <endpoint address="mex" binding="mexHttpBinding" bindingConfiguration="DefaultMexBinding"
|
---|
53 | contract="IMetadataExchange" listenUriMode="Explicit">
|
---|
54 | </endpoint>
|
---|
55 | </service>
|
---|
56 | </services>
|
---|
57 |
|
---|
58 | <behaviors>
|
---|
59 | <serviceBehaviors>
|
---|
60 | <behavior name="DefaultBehavior">
|
---|
61 | <serviceMetadata httpGetEnabled="true" />
|
---|
62 | <serviceDebug includeExceptionDetailInFaults="true" />
|
---|
63 | <serviceAuthorization principalPermissionMode="UseAspNetRoles"
|
---|
64 | roleProviderName="AspNetSqlRoleProvider" />
|
---|
65 | <serviceCredentials>
|
---|
66 | <serviceCertificate findValue="localhost" x509FindType="FindBySubjectName" />
|
---|
67 | <userNameAuthentication userNamePasswordValidationMode="MembershipProvider"
|
---|
68 | membershipProviderName="AspNetSqlMembershipProvider" />
|
---|
69 | </serviceCredentials>
|
---|
70 | </behavior>
|
---|
71 | </serviceBehaviors>
|
---|
72 | </behaviors>
|
---|
73 | <serviceHostingEnvironment multipleSiteBindingsEnabled="true" />
|
---|
74 | </system.serviceModel>
|
---|
75 |
|
---|
76 | <system.webServer>
|
---|
77 | <modules runAllManagedModulesForAllRequests="true"/>
|
---|
78 | </system.webServer>
|
---|
79 | </configuration>
|
---|