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