Free cookie consent management tool by TermsFeed Policy Generator

source: branches/UserManagement/HeuristicLab.Services.Authentication/app.config @ 6496

Last change on this file since 6496 was 4962, checked in by mjesner, 14 years ago

#1196

File size: 3.2 KB
Line 
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    <compilation debug="true" />
10    <membership>
11      <providers>
12        <clear />
13        <add name="AspNetSqlMembershipProvider" type="System.Web.Security.SqlMembershipProvider" connectionStringName="HeuristicLab.Authentication"
14             enablePasswordRetrieval="false" enablePasswordReset="true" requiresQuestionAndAnswer="false" requiresUniqueEmail="false"
15             maxInvalidPasswordAttempts="5" minRequiredPasswordLength="6" minRequiredNonalphanumericCharacters="0" passwordAttemptWindow="10"
16             applicationName="HeuristicLab.Authentication" />
17      </providers>
18    </membership>
19    <roleManager enabled="true">
20      <providers>
21        <clear />
22        <add name="AspNetSqlRoleProvider" type="System.Web.Security.SqlRoleProvider" connectionStringName="HeuristicLab.Authentication"
23             applicationName="HeuristicLab.Authentication" />
24      </providers>
25    </roleManager>
26  </system.web>
27
28  <system.serviceModel>
29    <bindings>
30      <wsHttpBinding>
31        <binding name="DefaultWSHttpBinding">
32          <security mode="Message">
33            <message clientCredentialType="UserName" />
34          </security>
35        </binding>
36      </wsHttpBinding>
37
38      <mexHttpBinding>
39        <binding name="DefaultMexBinding" />
40      </mexHttpBinding>
41    </bindings>
42
43
44    <behaviors>
45      <serviceBehaviors>
46        <behavior name="DefaultBehavior">
47          <serviceMetadata httpGetEnabled="true" />
48          <serviceDebug includeExceptionDetailInFaults="true" />
49          <serviceAuthorization principalPermissionMode="UseAspNetRoles"
50            roleProviderName="AspNetSqlRoleProvider" />
51          <serviceCredentials>
52            <serviceCertificate findValue="localhost" x509FindType="FindBySubjectName" />
53            <userNameAuthentication userNamePasswordValidationMode="MembershipProvider"
54              membershipProviderName="AspNetSqlMembershipProvider" />
55          </serviceCredentials>
56        </behavior>
57      </serviceBehaviors>
58    </behaviors>
59
60    <services>
61      <service behaviorConfiguration="DefaultBehavior" name="HeuristicLab.Services.Authentication.AuthenticationService">
62        <endpoint binding="wsHttpBinding" bindingConfiguration="DefaultWSHttpBinding"
63          contract="HeuristicLab.Services.Authentication.IAuthenticationService" listenUriMode="Explicit">
64        </endpoint>
65       
66        <endpoint address="mex" binding="mexHttpBinding" bindingConfiguration="DefaultMexBinding"
67          contract="IMetadataExchange" listenUriMode="Explicit">
68        </endpoint>
69        <host>
70          <baseAddresses>
71            <add baseAddress="http://localhost:8732/Design_Time_Addresses/HeuristicLab.Services.Authentication/AuthenticationService" />
72          </baseAddresses>
73        </host>
74      </service>
75    </services>
76   
77  </system.serviceModel>
78
79  <startup>
80    <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.0" />
81  </startup>
82</configuration>
Note: See TracBrowser for help on using the repository browser.