Free cookie consent management tool by TermsFeed Policy Generator

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

Last change on this file since 4957 was 4926, checked in by mjesner, 14 years ago

#1196

File size: 5.3 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      <netTcpBinding>
31        <binding name="DefaultNetTcpBinding" openTimeout="00:00:30" receiveTimeout="00:00:30"
32          sendTimeout="00:00:30" maxBufferSize="2147483647" maxReceivedMessageSize="2147483647">
33          <readerQuotas maxArrayLength="2147483647" />
34          <reliableSession inactivityTimeout="00:00:30" enabled="false" />
35          <security mode="Message">
36            <message clientCredentialType="UserName" />
37          </security>
38        </binding>
39      </netTcpBinding>
40      <wsHttpBinding>
41        <binding name="DefaultWsHttpBinding" maxReceivedMessageSize="200000000">
42          <readerQuotas maxArrayLength="200000000" maxBytesPerRead="200000000" />
43          <security mode="Message">
44            <message clientCredentialType="UserName" />
45          </security>
46        </binding>
47      </wsHttpBinding>
48      <mexHttpBinding>
49        <binding name="DefaultMexHttpBinding" />
50      </mexHttpBinding>
51    </bindings>
52
53   
54    <behaviors>
55      <serviceBehaviors>
56        <behavior name="DefaultServiceBehavior">
57          <serviceMetadata httpGetEnabled="true" />
58          <serviceDebug includeExceptionDetailInFaults="true" />
59          <serviceAuthorization principalPermissionMode="UseAspNetRoles" roleProviderName="AspNetSqlRoleProvider" />
60          <serviceCredentials>
61            <serviceCertificate findValue="localhost" x509FindType="FindBySubjectName" />
62            <userNameAuthentication  userNamePasswordValidationMode="Windows" />
63          </serviceCredentials>
64        </behavior>
65      </serviceBehaviors>
66    </behaviors>
67
68    <services>
69      <service behaviorConfiguration="DefaultServiceBehavior" name="HeuristicLab.Services.Authentication.AuthenticationService">
70        <endpoint address="mex" binding="mexHttpBinding" bindingConfiguration="DefaultMexHttpBinding"
71          name="mexHttpBinding" contract="IMetadataExchange">
72          <identity>
73            <certificate encodedValue="AwAAAAEAAAAUAAAAD/AlkYJw/OUhl6D/9w8mjJBh39kgAAAAAQAAAPIBAAAwggHuMIIBW6ADAgECAhAdEzTisaf2sEZxrqYZfYtCMAkGBSsOAwIdBQAwFDESMBAGA1UEAxMJbG9jYWxob3N0MB4XDTEwMDgyMDIyMzIwOFoXDTM5MTIzMTIzNTk1OVowFDESMBAGA1UEAxMJbG9jYWxob3N0MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDPkfCSLRX8/4F+Z4ys43yZ4MMzjB44cMakPz4Nri+mEB5n2z/0GFatCYzkI2f/nniWqVrBYjHkjsZy2EZioHu4wa99c1XEGJnFNDuNn6ESkfEyhyF4+OqKGnpK9HNrw7OWMuqn2oOh0iFd9fl6FTAm+Y0p3LP+38BuYzpCniqqdwIDAQABo0kwRzBFBgNVHQEEPjA8gBDvi8Rgio9v+mr58TiAvqF5oRYwFDESMBAGA1UEAxMJbG9jYWxob3N0ghAdEzTisaf2sEZxrqYZfYtCMAkGBSsOAwIdBQADgYEANdGlvHKeUptfNu9I0wgA5qjmVB+JDldOAkrfM0R+4IcVQ06y5K7P07uxQAV7+rhnDLgLyFJunUHgzbfjsjFy7vjwtoieXA5j0AYlm4AHR7dHt4HVgkIMYt8XOCqMw5jjFX91xJ89tC7mM9zYR48N9T5QSeMGo+f+JzybeLWxnNs=" />
74          </identity>
75        </endpoint>
76        <endpoint binding="wsHttpBinding" bindingConfiguration="DefaultWsHttpBinding"
77          name="wsHttpBinding" contract="HeuristicLab.Services.Authentication.IAuthenticationService">
78          <identity>
79            <certificate encodedValue="AwAAAAEAAAAUAAAAD/AlkYJw/OUhl6D/9w8mjJBh39kgAAAAAQAAAPIBAAAwggHuMIIBW6ADAgECAhAdEzTisaf2sEZxrqYZfYtCMAkGBSsOAwIdBQAwFDESMBAGA1UEAxMJbG9jYWxob3N0MB4XDTEwMDgyMDIyMzIwOFoXDTM5MTIzMTIzNTk1OVowFDESMBAGA1UEAxMJbG9jYWxob3N0MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDPkfCSLRX8/4F+Z4ys43yZ4MMzjB44cMakPz4Nri+mEB5n2z/0GFatCYzkI2f/nniWqVrBYjHkjsZy2EZioHu4wa99c1XEGJnFNDuNn6ESkfEyhyF4+OqKGnpK9HNrw7OWMuqn2oOh0iFd9fl6FTAm+Y0p3LP+38BuYzpCniqqdwIDAQABo0kwRzBFBgNVHQEEPjA8gBDvi8Rgio9v+mr58TiAvqF5oRYwFDESMBAGA1UEAxMJbG9jYWxob3N0ghAdEzTisaf2sEZxrqYZfYtCMAkGBSsOAwIdBQADgYEANdGlvHKeUptfNu9I0wgA5qjmVB+JDldOAkrfM0R+4IcVQ06y5K7P07uxQAV7+rhnDLgLyFJunUHgzbfjsjFy7vjwtoieXA5j0AYlm4AHR7dHt4HVgkIMYt8XOCqMw5jjFX91xJ89tC7mM9zYR48N9T5QSeMGo+f+JzybeLWxnNs=" />
80          </identity>
81        </endpoint>
82        <host>
83          <baseAddresses>
84            <add baseAddress="http://localhost:8732/Design_Time_Addresses/HeuristicLab.Services.Authentication/AuthenticationService" />
85          </baseAddresses>
86        </host>
87      </service>
88    </services>
89  </system.serviceModel>
90
91  <startup>
92    <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.0" />
93  </startup>
94</configuration>
Note: See TracBrowser for help on using the repository browser.