Free cookie consent management tool by TermsFeed Policy Generator

source: branches/HeuristicLab.Services.Authentication Prototype/Service/App.config @ 4020

Last change on this file since 4020 was 4020, checked in by bfarka, 14 years ago

implemented first working authorization test!
(#1046)

File size: 2.2 KB
Line 
1<?xml version="1.0" encoding="utf-8" ?>
2<configuration>
3  <system.web>
4    <compilation debug="true" />
5      <membership defaultProvider="HeuristiclabMemberShipProvider" userIsOnlineTimeWindow="15">
6        <providers>
7          <clear/>
8          <add
9            name="HeuristiclabMemberShipProvider"
10            type="Service.Provider.HeuristicLabMembershipProvider, Service"
11            passwordFormat= "Hashed"/>
12        </providers>
13      </membership>
14  </system.web>
15  <system.serviceModel>
16    <bindings>
17    <wsHttpBinding>
18      <binding name="Binding">
19        <security mode="Message">
20          <message
21                clientCredentialType="UserName"/>
22        </security>
23      </binding>
24   </wsHttpBinding>
25    </bindings>
26    <behaviors>
27      <serviceBehaviors>
28        <behavior name="HttpServiceBehavior">
29          <serviceCredentials>
30           
31            <userNameAuthentication membershipProviderName="HeuristiclabMemberShipProvider" userNamePasswordValidationMode="Custom" customUserNamePasswordValidatorType="Service.Provider.HeuristicLabUsernamePasswordValidator, Service" />
32            <!-- the name and store of the certificate has to be customized for each server to run-->
33            <serviceCertificate findValue="MyServerCert" x509FindType="FindBySubjectName" storeLocation="LocalMachine" storeName="My" />
34          </serviceCredentials>
35          <serviceMetadata httpGetEnabled="true" httpGetUrl="http://127.0.0.1:8888/metadata" />
36          <serviceDebug httpHelpPageUrl="http://127.0.0.1:8888/debug" />
37        </behavior>
38      </serviceBehaviors>
39    </behaviors>
40    <services>
41      <service behaviorConfiguration="HttpServiceBehavior" name="Service.Services.Administration.AuthorizationManagementService">
42        <endpoint address="http://127.0.0.1:8888/AuthorizationManagementEndpoint"
43          binding="wsHttpBinding" bindingConfiguration="Binding" contract="Service.Services.Administration.IAuthorizationManagementService" />
44        <host>
45          <baseAddresses>
46            <add baseAddress="http://localhost:8080/AuthorizationManagement"/>
47          </baseAddresses>
48        </host>
49      </service>
50    </services>
51 </system.serviceModel>
52</configuration>
Note: See TracBrowser for help on using the repository browser.