Free cookie consent management tool by TermsFeed Policy Generator

source: branches/3.3-HiveMigration/sources/HeuristicLab.Hive/HeuristicLab.Hive.Server.Core/3.3/app.config @ 4305

Last change on this file since 4305 was 4305, checked in by cneumuel, 14 years ago

added streamedHttpEndpoit binding (without message-security (for now)) (#1168)

File size: 5.3 KB
Line 
1<?xml version="1.0" encoding="utf-8" ?>
2<configuration>
3  <connectionStrings>
4    <add name="HeuristicLab.Authentication"
5         connectionString="data source=localhost;Integrated Security=SSPI;Initial Catalog=HeuristicLab.Authentication"/>
6  </connectionStrings>
7
8  <system.web>
9    <membership>
10      <providers>
11        <clear/>
12        <add name="AspNetSqlMembershipProvider" type="System.Web.Security.SqlMembershipProvider" connectionStringName="HeuristicLab.Authentication"
13             enablePasswordRetrieval="false" enablePasswordReset="true" requiresQuestionAndAnswer="false" requiresUniqueEmail="false"
14             maxInvalidPasswordAttempts="5" minRequiredPasswordLength="6" minRequiredNonalphanumericCharacters="0" passwordAttemptWindow="10"
15             applicationName="HeuristicLab.Authentication" />
16      </providers>
17    </membership>
18
19    <roleManager enabled="true">
20      <providers>
21        <clear/>
22        <add name="AspNetSqlRoleProvider" type="System.Web.Security.SqlRoleProvider" connectionStringName="HeuristicLab.Authentication" applicationName="HeuristicLab.Authentication" />
23      </providers>
24    </roleManager>
25  </system.web>
26
27  <system.serviceModel>
28   
29    <bindings>
30      <basicHttpBinding>
31        <binding name="StreamedHttpBinding" sendTimeout="00:10:00" maxBufferSize="104857600"
32          maxBufferPoolSize="104857600" maxReceivedMessageSize="104857600"
33          transferMode="Streamed">
34          <readerQuotas maxStringContentLength="104857600" maxArrayLength="104857600" />
35          <security>
36            <transport>
37              <extendedProtectionPolicy policyEnforcement="Never" />
38            </transport>
39          </security>
40        </binding>
41      </basicHttpBinding>
42      <wsHttpBinding>
43        <binding name="HttpBinding">
44          <security>
45            <transport>
46              <extendedProtectionPolicy policyEnforcement="Never" />
47            </transport>
48            <message clientCredentialType="UserName" />
49          </security>
50        </binding>
51      </wsHttpBinding>
52    </bindings>
53    <behaviors>
54      <serviceBehaviors>
55        <behavior name="ServiceBehaviour">
56          <serviceMetadata httpGetEnabled="true" />
57          <serviceDebug includeExceptionDetailInFaults="true" />
58          <serviceAuthorization principalPermissionMode="UseAspNetRoles"
59            roleProviderName="AspNetSqlRoleProvider" />
60          <serviceCredentials>
61            <serviceCertificate findValue="localhost" x509FindType="FindBySubjectName" />
62            <userNameAuthentication userNamePasswordValidationMode="MembershipProvider"
63              membershipProviderName="AspNetSqlMembershipProvider" />
64          </serviceCredentials>
65          <serviceSecurityAudit auditLogLocation="Application" suppressAuditFailure="false"
66            messageAuthenticationAuditLevel="SuccessOrFailure" />
67        </behavior>
68      </serviceBehaviors>
69    </behaviors>
70    <services>
71      <service behaviorConfiguration="ServiceBehaviour" name="HeuristicLab.Hive.Server.Core.SlaveFacade">
72        <endpoint address="http://localhost:9000/SlaveService" binding="wsHttpBinding"
73          bindingConfiguration="HttpBinding" name="SlaveHttpEndpoint"
74          contract="HeuristicLab.Hive.Contracts.Interfaces.ISlaveFacade" />
75        <endpoint address="mex" binding="mexHttpBinding" name="SlaveMexEndpoint"
76          contract="HeuristicLab.Hive.Contracts.Interfaces.ISlaveFacade" />
77        <host>
78          <baseAddresses>
79            <add baseAddress="http://localhost:9000/SlaveService" />
80          </baseAddresses>
81        </host>
82      </service>
83      <service behaviorConfiguration="ServiceBehaviour" name="HeuristicLab.Hive.Server.Core.ServerConsoleFacade">
84        <endpoint address="http://localhost:9000/ServerConsoleService"
85          binding="wsHttpBinding" bindingConfiguration="HttpBinding" name="ServerConsoleHttpEndpoint"
86          contract="HeuristicLab.Hive.Contracts.Interfaces.IServerConsoleFacade" />
87        <endpoint address="mex" binding="mexHttpBinding" name="ServerConsoleMexEndpoint"
88          contract="HeuristicLab.Hive.Contracts.Interfaces.IServerConsoleFacade" />
89        <host>
90          <baseAddresses>
91            <add baseAddress="http://localhost:9000/ServerConsoleService" />
92          </baseAddresses>
93        </host>
94      </service>
95      <service behaviorConfiguration="ServiceBehaviour" name="HeuristicLab.Hive.Server.Core.ClientFacade">
96        <endpoint address="http://localhost:9000/ClientService" binding="wsHttpBinding"
97          bindingConfiguration="HttpBinding" name="ClientHttpEndpoint"
98          contract="HeuristicLab.Hive.Contracts.Interfaces.IClientFacade" />
99        <endpoint address="mex" binding="mexHttpBinding" name="ClientMexEndpoint"
100          contract="HeuristicLab.Hive.Contracts.Interfaces.IClientFacade" />
101        <endpoint address="http://localhost:9000/ClientServiceStreamed"
102          binding="basicHttpBinding" bindingConfiguration="StreamedHttpBinding"
103          name="ClientStreamedHttpEndpoint" contract="HeuristicLab.Hive.Contracts.Interfaces.IClientFacade" />
104        <host>
105          <baseAddresses>
106            <add baseAddress="http://localhost:9000/ClientService" />
107          </baseAddresses>
108        </host>
109      </service>
110    </services>
111   
112  </system.serviceModel>
113 
114</configuration>
Note: See TracBrowser for help on using the repository browser.