Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
08/24/10 02:37:56 (14 years ago)
Author:
swagner
Message:

Worked on OKB user authentication (#1167)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Services.OKB.Server/3.3/app.config

    r4280 r4298  
    11<?xml version="1.0"?>
    22<configuration>
     3  <connectionStrings>
     4    <add name="HeuristicLab.Authentication"
     5         connectionString="data source=localhost;Integrated Security=SSPI;Initial Catalog=HeuristicLab.Authentication"/>
     6    <add name="HeuristicLab.Services.OKB.DataAccess.Properties.Settings.OKBConnectionString"
     7         connectionString="Data Source=localhost;Initial Catalog=HeuristicLab.OKB;Integrated Security=SSPI"
     8         providerName="System.Data.SqlClient" />
     9  </connectionStrings>
     10
     11  <system.web>
     12    <authentication mode="Forms" />
     13    <compilation debug="true" targetFramework="4.0" />
     14
     15    <membership>
     16      <providers>
     17        <clear/>
     18        <add name="AspNetSqlMembershipProvider" type="System.Web.Security.SqlMembershipProvider" connectionStringName="HeuristicLab.Authentication"
     19             enablePasswordRetrieval="false" enablePasswordReset="true" requiresQuestionAndAnswer="false" requiresUniqueEmail="false"
     20             maxInvalidPasswordAttempts="5" minRequiredPasswordLength="6" minRequiredNonalphanumericCharacters="0" passwordAttemptWindow="10"
     21             applicationName="HeuristicLab.Authentication" />
     22      </providers>
     23    </membership>
     24
     25    <roleManager enabled="true">
     26      <providers>
     27        <clear/>
     28        <add name="AspNetSqlRoleProvider" type="System.Web.Security.SqlRoleProvider" connectionStringName="HeuristicLab.Authentication" applicationName="HeuristicLab.Authentication" />
     29      </providers>
     30    </roleManager>
     31  </system.web>
     32
    333  <system.serviceModel>
    434    <bindings>
    535      <netTcpBinding>
    636        <binding name="LargeMessages" openTimeout="00:00:30" receiveTimeout="00:00:30" sendTimeout="00:00:30" maxBufferSize="2147483647" maxReceivedMessageSize="2147483647">
    7           <security mode="Transport">
    8             <transport clientCredentialType="Certificate" protectionLevel="EncryptAndSign"/>           
     37          <security mode="Message">
     38            <message clientCredentialType="UserName"/>
    939          </security>
    1040          <readerQuotas maxArrayLength="2147483647"/>
     
    1343      </netTcpBinding>
    1444    </bindings>
     45
    1546    <client/>
     47
    1648    <behaviors>
    1749      <serviceBehaviors>
     
    1951          <serviceMetadata httpGetEnabled="false"/>
    2052          <serviceDebug includeExceptionDetailInFaults="true"/>
     53          <serviceAuthorization principalPermissionMode="UseAspNetRoles"
     54                                roleProviderName="AspNetSqlRoleProvider" />
     55          <serviceCredentials>
     56            <serviceCertificate findValue="localhost" x509FindType="FindBySubjectName" />
     57            <userNameAuthentication userNamePasswordValidationMode="MembershipProvider"
     58                                    membershipProviderName="AspNetSqlMembershipProvider"/>
     59          </serviceCredentials>
    2160        </behavior>
    2261      </serviceBehaviors>
    2362    </behaviors>
     63
    2464    <services>
    25       <service behaviorConfiguration="OKBServiceBehaviour" name="HeuristicLab.OKB.RunnerService">
     65      <service behaviorConfiguration="OKBServiceBehaviour" name="HeuristicLab.Services.OKB.RunnerService">
    2666        <endpoint address="net.tcp://localhost:8001/OKB/Runner.svc/mex" binding="mexTcpBinding" contract="IMetadataExchange"/>
    27         <endpoint address="net.tcp://localhost:8001/OKB/Runner.svc" binding="netTcpBinding" bindingConfiguration="LargeMessages" contract="HeuristicLab.OKB.IRunnerService">
    28           <identity>
    29             <dns value="HEAL"/>
    30           </identity>
    31         </endpoint>
     67        <endpoint address="net.tcp://localhost:8001/OKB/Runner.svc" binding="netTcpBinding" bindingConfiguration="LargeMessages" contract="HeuristicLab.Services.OKB.IRunnerService"/>
    3268      </service>
    33       <service behaviorConfiguration="OKBServiceBehaviour" name="HeuristicLab.OKB.AdminService">
     69      <service behaviorConfiguration="OKBServiceBehaviour" name="HeuristicLab.Services.OKB.AdminService">
    3470        <endpoint address="net.tcp://localhost:8001/OKB/Admin.svc/mex" binding="mexTcpBinding" contract="IMetadataExchange"/>
    35         <endpoint address="net.tcp://localhost:8001/OKB/Admin.svc" binding="netTcpBinding" bindingConfiguration="LargeMessages" contract="HeuristicLab.OKB.IAdminService"/>
     71        <endpoint address="net.tcp://localhost:8001/OKB/Admin.svc" binding="netTcpBinding" bindingConfiguration="LargeMessages" contract="HeuristicLab.Services.OKB.IAdminService"/>
    3672      </service>
    37       <service behaviorConfiguration="OKBServiceBehaviour" name="HeuristicLab.OKB.TableService">
     73      <service behaviorConfiguration="OKBServiceBehaviour" name="HeuristicLab.Services.OKB.TableService">
    3874        <endpoint address="net.tcp://localhost:8001/OKB/Table.svc/mex" binding="mexTcpBinding" contract="IMetadataExchange"/>
    39         <endpoint address="net.tcp://localhost:8001/OKB/Table.svc" binding="netTcpBinding" bindingConfiguration="LargeMessages" contract="HeuristicLab.OKB.ITableService">
    40           <identity>
    41             <dns value="HEAL"/>
    42           </identity>
    43         </endpoint>
     75        <endpoint address="net.tcp://localhost:8001/OKB/Table.svc" binding="netTcpBinding" bindingConfiguration="LargeMessages" contract="HeuristicLab.Services.OKB.ITableService"/>
    4476      </service>
    45       <service behaviorConfiguration="OKBServiceBehaviour" name="HeuristicLab.OKB.QueryService">
     77      <service behaviorConfiguration="OKBServiceBehaviour" name="HeuristicLab.Services.OKB.QueryService">
    4678        <endpoint address="net.tcp://localhost:8001/OKB/Query.svc/mex" binding="mexTcpBinding" contract="IMetadataExchange"/>
    47         <endpoint address="net.tcp://localhost:8001/OKB/Query.svc" binding="netTcpBinding" bindingConfiguration="LargeMessages" contract="HeuristicLab.OKB.IQueryService">
    48           <identity>
    49             <dns value="HEAL"/>
    50           </identity>
    51         </endpoint>
     79        <endpoint address="net.tcp://localhost:8001/OKB/Query.svc" binding="netTcpBinding" bindingConfiguration="LargeMessages" contract="HeuristicLab.Services.OKB.IQueryService"/>
    5280      </service>
    53       <service behaviorConfiguration="OKBServiceBehaviour" name="HeuristicLab.OKB.DataService">
     81      <service behaviorConfiguration="OKBServiceBehaviour" name="HeuristicLab.Services.OKB.DataService">
    5482        <endpoint address="net.tcp://localhost:8001/OKB/Data.svc/mex" binding="mexTcpBinding" contract="IMetadataExchange"/>
    55         <endpoint address="net.tcp://localhost:8001/OKB/Data.svc" binding="netTcpBinding" bindingConfiguration="LargeMessages" contract="HeuristicLab.OKB.IDataService">
    56           <identity>
    57             <dns value="HEAL"/>
    58           </identity>
    59         </endpoint>
     83        <endpoint address="net.tcp://localhost:8001/OKB/Data.svc" binding="netTcpBinding" bindingConfiguration="LargeMessages" contract="HeuristicLab.Services.OKB.IDataService"/>
    6084      </service>
    6185    </services>
Note: See TracChangeset for help on using the changeset viewer.