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 @ 4285

Last change on this file since 4285 was 4285, checked in by cneumuel, 14 years ago
  • changed Hive.Server WCF services to be configurable in app.config
  • changed endpoints to wsHttpBinding
  • changed project type of Hive.Server.Core to WCF Service Library, so that it can be started directly to be able to test the service (and update references) (#1159)
File size: 3.7 KB
Line 
1<?xml version="1.0" encoding="utf-8" ?>
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    <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    <bindings>
29      <wsHttpBinding>
30        <binding name="HttpBinding">
31          <security>
32            <message clientCredentialType="UserName" />
33          </security>
34        </binding>
35      </wsHttpBinding>
36    </bindings>
37    <behaviors>
38      <serviceBehaviors>
39        <behavior name="ServiceBehaviour">
40          <serviceMetadata httpGetEnabled="true" />
41          <serviceDebug includeExceptionDetailInFaults="true" />
42          <serviceAuthorization principalPermissionMode="UseAspNetRoles"
43            roleProviderName="AspNetSqlRoleProvider" />
44          <serviceCredentials>
45            <serviceCertificate findValue="localhost" x509FindType="FindBySubjectName" />
46            <userNameAuthentication userNamePasswordValidationMode="MembershipProvider"
47              membershipProviderName="AspNetSqlMembershipProvider" />
48          </serviceCredentials>
49        </behavior>
50      </serviceBehaviors>
51    </behaviors>
52    <services>
53      <service behaviorConfiguration="ServiceBehaviour" name="HeuristicLab.Hive.Server.Core.SlaveFacade">
54        <endpoint address="http://localhost:9000/HiveServer/" binding="wsHttpBinding"
55          bindingConfiguration="HttpBinding" name="HiveServerHttpEndpoint"
56          contract="HeuristicLab.Hive.Contracts.Interfaces.ISlaveFacade" />
57        <endpoint address="mex" binding="mexHttpBinding" contract="HeuristicLab.Hive.Contracts.Interfaces.ISlaveFacade" />
58      </service>
59      <service behaviorConfiguration="ServiceBehaviour" name="HeuristicLab.Hive.Server.Core.ServerConsoleFacade">
60        <endpoint address="http://localhost:9000/HiveServerConsole/"
61          binding="wsHttpBinding" bindingConfiguration="HttpBinding" name="ServerConsoleHttpEndpoint"
62          contract="HeuristicLab.Hive.Contracts.Interfaces.IServerConsoleFacade" />
63        <endpoint address="mex" binding="mexHttpBinding" contract="HeuristicLab.Hive.Contracts.Interfaces.IServerConsoleFacade" />
64      </service>
65      <service behaviorConfiguration="ServiceBehaviour" name="HeuristicLab.Hive.Server.Core.ExecutionEngineFacade">
66        <endpoint address="http://localhost:9000/ExecutionEngine/" binding="wsHttpBinding"
67          bindingConfiguration="HttpBinding" name="ExecutionEngineHttpEndpoint"
68          contract="HeuristicLab.Hive.Contracts.Interfaces.IExecutionEngineFacade" />
69        <endpoint address="mex" binding="mexHttpBinding" contract="HeuristicLab.Hive.Contracts.Interfaces.IExecutionEngineFacade" />
70      </service>
71    </services>
72  </system.serviceModel>
73 
74</configuration>
Note: See TracBrowser for help on using the repository browser.