1 | <?xml version="1.0"?>
|
---|
2 | <configuration>
|
---|
3 | <connectionStrings>
|
---|
4 | <add name="HeuristicLab.Authentication"
|
---|
5 | connectionString="Data Source=.;Initial Catalog=HeuristicLab.Authentication;Integrated Security=True"
|
---|
6 | providerName="System.Data.SqlClient"/>
|
---|
7 | </connectionStrings>
|
---|
8 | <system.web>
|
---|
9 | <membership defaultProvider="AspNetSqlMembershipProvider" userIsOnlineTimeWindow="20">
|
---|
10 | <providers>
|
---|
11 | <clear />
|
---|
12 | <add name="AspNetSqlMemberShipProvider"
|
---|
13 | type="System.Web.Security.SqlMembershipProvider"
|
---|
14 | connectionStringName="HeuristicLab.Authentication"
|
---|
15 | enablePasswordRetrieval="false"
|
---|
16 | enablePasswordReset="true"
|
---|
17 | requiresQuestionAndAnswer="false"
|
---|
18 | passwordFormat="Hashed"
|
---|
19 | applicationName="HeuristicLab.Authentication" />
|
---|
20 | </providers>
|
---|
21 | </membership>
|
---|
22 | <authentication mode="Windows" />
|
---|
23 | <roleManager enabled="true" defaultProvider="AspNetSqlRoleProvider">
|
---|
24 | <providers>
|
---|
25 | <clear />
|
---|
26 | <add name="AspNetSqlRoleProvider" type="System.Web.Security.SqlRoleProvider, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"
|
---|
27 | connectionStringName="HeuristicLab.Authentication" applicationName="HeuristicLab.Authentication" />
|
---|
28 | </providers>
|
---|
29 | </roleManager>
|
---|
30 | </system.web>
|
---|
31 |
|
---|
32 | <!-- When deploying the service library project, the content of the config file must be added to the host's
|
---|
33 | app.config file. System.Configuration does not support config files for libraries. -->
|
---|
34 | <system.serviceModel>
|
---|
35 | <bindings>
|
---|
36 | <wsHttpBinding>
|
---|
37 | <binding name="DefaultWsHttpBinding" maxBufferPoolSize="10000000" maxReceivedMessageSize="200000000">
|
---|
38 | <readerQuotas maxDepth="1000" maxStringContentLength="16000" maxArrayLength="200000000" maxBytesPerRead="200000000" maxNameTableCharCount="16000" />
|
---|
39 | <security mode="Message">
|
---|
40 | <message clientCredentialType="UserName" />
|
---|
41 | </security>
|
---|
42 | </binding>
|
---|
43 | </wsHttpBinding>
|
---|
44 | <mexHttpBinding>
|
---|
45 | <binding name="DefaultMexHttpBinding" />
|
---|
46 | </mexHttpBinding>
|
---|
47 | </bindings>
|
---|
48 |
|
---|
49 | <diagnostics performanceCounters="Default">
|
---|
50 | <!--<messageLogging logMalformedMessages="false" logMessagesAtTransportLevel="false" />-->
|
---|
51 | </diagnostics>
|
---|
52 |
|
---|
53 | <behaviors>
|
---|
54 | <endpointBehaviors>
|
---|
55 | <behavior name="DefaultEndpointBehavior">
|
---|
56 | <dataContractSerializer maxItemsInObjectGraph="1000000" />
|
---|
57 | </behavior>
|
---|
58 | </endpointBehaviors>
|
---|
59 |
|
---|
60 | <serviceBehaviors>
|
---|
61 | <behavior name="DefaultServiceBehavior">
|
---|
62 | <serviceMetadata httpGetEnabled="true" />
|
---|
63 | <serviceDebug includeExceptionDetailInFaults="true" />
|
---|
64 | <serviceCredentials>
|
---|
65 | <serviceCertificate findValue="localhost" storeLocation="LocalMachine"
|
---|
66 | storeName="My" x509FindType="FindBySubjectName" />
|
---|
67 | <userNameAuthentication userNamePasswordValidationMode="MembershipProvider"
|
---|
68 | membershipProviderName="AspNetSqlMembershipProvider" />
|
---|
69 | </serviceCredentials>
|
---|
70 | <serviceAuthorization principalPermissionMode="UseAspNetRoles"
|
---|
71 | roleProviderName="AspNetSqlRoleProvider" />
|
---|
72 | </behavior>
|
---|
73 | </serviceBehaviors>
|
---|
74 | </behaviors>
|
---|
75 |
|
---|
76 | <services>
|
---|
77 | <service name="HeuristicLab.Services.Access.AccessService" behaviorConfiguration="DefaultServiceBehavior">
|
---|
78 | <endpoint address="mex" binding="mexHttpBinding" bindingConfiguration="DefaultMexHttpBinding" contract="IMetadataExchange" />
|
---|
79 | <endpoint behaviorConfiguration="DefaultEndpointBehavior" binding="wsHttpBinding" bindingConfiguration="DefaultWsHttpBinding"
|
---|
80 | contract="HeuristicLab.Services.Access.IAccessService" />
|
---|
81 | <host>
|
---|
82 | <baseAddresses>
|
---|
83 | <add baseAddress="http://localhost/AccessService" />
|
---|
84 | </baseAddresses>
|
---|
85 | </host>
|
---|
86 | </service>
|
---|
87 | </services>
|
---|
88 | </system.serviceModel>
|
---|
89 | </configuration> |
---|