- Timestamp:
- 07/08/10 21:48:27 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HeuristicLab.Services.Authentication Prototype/UnitTests/app.config
r4002 r4020 1 1 <?xml version="1.0" encoding="utf-8" ?> 2 2 <configuration> 3 <system.serviceModel> 4 <bindings> 5 <basicHttpBinding> 6 <binding name="BasicHttpBinding_IAuthorizationManagementService" 7 closeTimeout="00:01:00" openTimeout="00:01:00" receiveTimeout="00:10:00" 8 sendTimeout="00:01:00" allowCookies="false" bypassProxyOnLocal="false" 9 hostNameComparisonMode="StrongWildcard" maxBufferSize="65536" 10 maxBufferPoolSize="524288" maxReceivedMessageSize="65536" 11 messageEncoding="Text" textEncoding="utf-8" transferMode="Buffered" 12 useDefaultWebProxy="true"> 13 <readerQuotas maxDepth="32" maxStringContentLength="8192" maxArrayLength="16384" 14 maxBytesPerRead="4096" maxNameTableCharCount="16384" /> 15 <security mode="None"> 16 <transport clientCredentialType="None" proxyCredentialType="None" 17 realm=""> 18 <extendedProtectionPolicy policyEnforcement="Never" /> 19 </transport> 20 <message clientCredentialType="UserName" algorithmSuite="Default" /> 21 </security> 22 </binding> 23 </basicHttpBinding> 24 </bindings> 25 <client> 26 <endpoint address="http://127.0.0.1:8888/AuthorizationManagementEndpoint" 27 binding="basicHttpBinding" bindingConfiguration="BasicHttpBinding_IAuthorizationManagementService" 28 contract="ServiceManagementRemote.IAuthorizationManagementService" 29 name="BasicHttpBinding_IAuthorizationManagementService" /> 30 </client> 31 32 33 34 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 <client> 17 <endpoint address="http://127.0.0.1:8888/AuthorizationManagementEndpoint" 18 binding="wsHttpBinding" bindingConfiguration="WSHttpBinding_IAuthorizationManagementService" 19 contract="AuthorizationManagementServiceRemote.IAuthorizationManagementService" 20 name="WSHttpBinding_IAuthorizationManagementService" behaviorConfiguration="myClientBehavior"> 21 <identity> 22 <certificate encodedValue="AwAAAAEAAAAUAAAAPQJndve7Q/IcQ7WtwQMm02KvlrsgAAAAAQAAALgBAAAwggG0MIIBYqADAgECAhDDg1lnKGezhkH5Ju3ecmECMAkGBSsOAwIdBQAwFjEUMBIGA1UEAxMLUm9vdCBBZ2VuY3kwHhcNMTAwNTI2MjE1NDExWhcNMzkxMjMxMjM1OTU5WjAXMRUwEwYDVQQDEwxNeVNlcnZlckNlcnQwgZ8wDQYJKoZIhvcNAQEBBQADgY0AMIGJAoGBANsuzLfWt1O+qHpnxGDkBZCthxB4MMIfx0QSFAbUaw2YTPQu4AaoxKoMo/TeHuFmJKtrRY0Z9UTVts+KCrn+3vozmSv67YgAGh+ney2X8WgoEowmYsfJlcCtJ8OX34OXASMLlu84Q7jFs5Y/VIxNA5pvlw7bCiHus6yDu7o+b86XAgMBAAGjSzBJMEcGA1UdAQRAMD6AEBLkCS0GHR1PAI1hIdwWZGOhGDAWMRQwEgYDVQQDEwtSb290IEFnZW5jeYIQBjdsAKoAZIoRz7jUqlw19DAJBgUrDgMCHQUAA0EADYxnIrj8jVWXvohKWb4N7dc2WQ//3hFdovHbsCiE4Pz7ozi8mR/GixdbLKhm/rCr1M5eoiaz8xNkoa5owMB/xQ==" /> 23 </identity> 24 </endpoint> 25 </client> 26 <bindings> 27 <wsHttpBinding> 28 <binding name="Binding"> 29 <security mode="Message"> 30 <transport> 31 <extendedProtectionPolicy policyEnforcement="Never" /> 32 </transport> 33 <message clientCredentialType="UserName" /> 34 </security> 35 </binding> 36 <binding name="WSHttpBinding_IAuthorizationManagementService" 37 closeTimeout="00:01:00" openTimeout="00:01:00" receiveTimeout="00:10:00" 38 sendTimeout="00:01:00" bypassProxyOnLocal="false" transactionFlow="false" 39 hostNameComparisonMode="StrongWildcard" maxBufferPoolSize="524288" 40 maxReceivedMessageSize="65536" messageEncoding="Text" textEncoding="utf-8" 41 useDefaultWebProxy="true" allowCookies="false"> 42 <readerQuotas maxDepth="32" maxStringContentLength="8192" maxArrayLength="16384" 43 maxBytesPerRead="4096" maxNameTableCharCount="16384" /> 44 <reliableSession ordered="true" inactivityTimeout="00:10:00" 45 enabled="false" /> 46 <security mode="Message"> 47 <transport clientCredentialType="Windows" proxyCredentialType="None" 48 realm=""> 49 <extendedProtectionPolicy policyEnforcement="Never" /> 50 </transport> 51 <message clientCredentialType="UserName" negotiateServiceCredential="true" 52 algorithmSuite="Default" establishSecurityContext="true" /> 53 </security> 54 </binding> 55 </wsHttpBinding> 56 </bindings> 57 <behaviors> 58 <endpointBehaviors> 59 <behavior name="myClientBehavior"> 60 <clientCredentials> 61 <serviceCertificate> 62 <authentication certificateValidationMode="Custom" customCertificateValidatorType=" UnitTests.service.MyX509Validator,UnitTests" /> 63 </serviceCertificate> 64 </clientCredentials> 65 </behavior> 66 </endpointBehaviors> 35 67 36 37 38 </system.serviceModel>39 <system.web>40 <compilation debug="true" />41 <membership defaultProvider="HeuristiclabMemberShipProvider" userIsOnlineTimeWindow="15">42 <providers>43 <clear/>44 <add45 name="HeuristiclabMemberShipProvider"46 type="Service.Provider.HeuristicLabMembershipProvider, Service"47 passwordFormat= "Hashed"/>48 </providers>49 </membership>50 </system.web>51 52 <system.serviceModel>53 <behaviors>54 68 <serviceBehaviors> 55 69 <behavior name="HttpServiceBehavior"> 70 <serviceCredentials> 71 72 <userNameAuthentication membershipProviderName="HeuristiclabMemberShipProvider" userNamePasswordValidationMode="Custom" customUserNamePasswordValidatorType="Service.Provider.HeuristicLabUsernamePasswordValidator, Service" /> 73 <serviceCertificate findValue="MyServerCert" x509FindType="FindBySubjectName" storeLocation="LocalMachine" storeName="My" /> 74 </serviceCredentials> 56 75 <serviceMetadata httpGetEnabled="true" httpGetUrl="http://127.0.0.1:8888/metadata" /> 57 76 <serviceDebug httpHelpPageUrl="http://127.0.0.1:8888/debug" /> … … 62 81 <service behaviorConfiguration="HttpServiceBehavior" name="Service.Services.Administration.AuthorizationManagementService"> 63 82 <endpoint address="http://127.0.0.1:8888/AuthorizationManagementEndpoint" 64 binding=" basicHttpBinding" bindingConfiguration="" contract="Service.Services.Administration.IAuthorizationManagementService" />83 binding="wsHttpBinding" bindingConfiguration="Binding" contract="Service.Services.Administration.IAuthorizationManagementService" /> 65 84 <host> 66 85 <baseAddresses> … … 70 89 </service> 71 90 </services> 91 92 93 72 94 </system.serviceModel> 73 95 </configuration>
Note: See TracChangeset
for help on using the changeset viewer.