Free cookie consent management tool by TermsFeed Policy Generator

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

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

#1196

File size: 3.2 KB
RevLine 
[4926]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>
[4962]31        <binding name="DefaultWSHttpBinding">
[4926]32          <security mode="Message">
33            <message clientCredentialType="UserName" />
34          </security>
35        </binding>
36      </wsHttpBinding>
[4962]37
[4926]38      <mexHttpBinding>
[4962]39        <binding name="DefaultMexBinding" />
[4926]40      </mexHttpBinding>
41    </bindings>
42
[4962]43
[4926]44    <behaviors>
45      <serviceBehaviors>
[4962]46        <behavior name="DefaultBehavior">
[4926]47          <serviceMetadata httpGetEnabled="true" />
48          <serviceDebug includeExceptionDetailInFaults="true" />
[4962]49          <serviceAuthorization principalPermissionMode="UseAspNetRoles"
50            roleProviderName="AspNetSqlRoleProvider" />
[4926]51          <serviceCredentials>
52            <serviceCertificate findValue="localhost" x509FindType="FindBySubjectName" />
[4962]53            <userNameAuthentication userNamePasswordValidationMode="MembershipProvider"
54              membershipProviderName="AspNetSqlMembershipProvider" />
[4926]55          </serviceCredentials>
56        </behavior>
57      </serviceBehaviors>
58    </behaviors>
59
60    <services>
[4962]61      <service behaviorConfiguration="DefaultBehavior" name="HeuristicLab.Services.Authentication.AuthenticationService">
62        <endpoint binding="wsHttpBinding" bindingConfiguration="DefaultWSHttpBinding"
63          contract="HeuristicLab.Services.Authentication.IAuthenticationService" listenUriMode="Explicit">
[4926]64        </endpoint>
[4962]65       
66        <endpoint address="mex" binding="mexHttpBinding" bindingConfiguration="DefaultMexBinding"
67          contract="IMetadataExchange" listenUriMode="Explicit">
[4926]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>
[4962]76   
[4926]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.