You are viewing a plain text version of this content. The canonical link for it is here.
Posted to stonehenge-commits@incubator.apache.org by be...@apache.org on 2010/02/11 02:22:10 UTC

svn commit: r908802 - in /incubator/stonehenge/trunk/stocktrader/dotnet/trader_client/Trade: Web.NET.config Web.WSIS.config

Author: bendewey
Date: Thu Feb 11 02:22:10 2010
New Revision: 908802

URL: http://svn.apache.org/viewvc?rev=908802&view=rev
Log:
Added multiple web.config files for .NET Trader Client.

Added:
    incubator/stonehenge/trunk/stocktrader/dotnet/trader_client/Trade/Web.NET.config
    incubator/stonehenge/trunk/stocktrader/dotnet/trader_client/Trade/Web.WSIS.config

Added: incubator/stonehenge/trunk/stocktrader/dotnet/trader_client/Trade/Web.NET.config
URL: http://svn.apache.org/viewvc/incubator/stonehenge/trunk/stocktrader/dotnet/trader_client/Trade/Web.NET.config?rev=908802&view=auto
==============================================================================
--- incubator/stonehenge/trunk/stocktrader/dotnet/trader_client/Trade/Web.NET.config (added)
+++ incubator/stonehenge/trunk/stocktrader/dotnet/trader_client/Trade/Web.NET.config Thu Feb 11 02:22:10 2010
@@ -0,0 +1,285 @@
+<?xml version="1.0"?>
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements.  See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License.  You may obtain a copy of the License at
+ 
+       http://www.apache.org/licenses/LICENSE-2.0
+ 
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+ -->
+<!--  
+    Note: As an alternative to hand editing this file you can use the 
+    web admin tool to configure settings for your application. Use
+    the Website->Asp.Net Configuration option in Visual Studio.
+    A full list of settings and comments can be found in 
+    machine.config.comments usually located in 
+    \Windows\Microsoft.Net\Framework\v2.x\Config 
+-->
+<configuration>
+  <configSections>
+    <section name="microsoft.identityModel" type="Microsoft.IdentityModel.Configuration.MicrosoftIdentityModelSection, Microsoft.IdentityModel, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
+  </configSections>
+  <appSettings>
+    <!--Possible values for logger mode: CONSOLE, EVENT_VIEWER-->
+    <add key="LOGGER_MODE" value="CONSOLE"/>
+    <add key="EVENT_LOG" value="Trade Web App"/>
+    <add key="LOGGING_ENABLED" value="ON"/>
+    <add key="MAX_DISPLAY_ORDERS" value="20"/>
+    <add key="MAX_DISPLAY_TOP_ORDERS" value="5"/>
+    <add key="DISPLAY_DUPLICATE_KEY_EXCEPTIONS" value="true"/>
+    <add key="CHECK_ORDER_ALERT_EVERY_REQUEST" value="true"/>
+    <add key="ORDER_ALERT_CHECK_FREQUENCY" value="30"/>
+    <add key="CS_DOTNET_ENDPOINT_CONFIG_HTTP" value="ConfigClient_BasicHttpBinding"/>
+    <add key="BSL_USERID" value="uid:0"/>
+    <add key="BSL_PASSWORD" value="xxx"/>
+    <add key="CLIENT_LABEL" value="DOTNET_CLIENT"/>
+    <add key="BS_LABEL" value="DOTNET_BS"/>
+    <add key="OPS_LABEL" value="DOTNET_OPS"/>
+
+    <!--Endpoint mappings-->
+    <add key="DOTNET_BS" value="BsClient_FederatedBinding"/>
+    <add key="METRO_BS" value="BsClient_FederatedBinding"/>
+    
+  </appSettings>
+  <runtime>
+    <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
+    </assemblyBinding>
+  </runtime>
+  <!-- system.service model: New configuration section added with the release 
+       of .NET 3.0 and Windows Communication Foundation. This section defines the:
+ 
+       a) WCF Web Services, if any, hosted by this application.  
+       b) WCF clients and their endpoints.
+       c) The bindings used by the services and clients: bindings are transports and
+          encoding standards, such as HTTP/Text-XML; TCP/Binary; MSMQ, etc.
+   -->
+  <system.serviceModel>
+    <!--This enables the WCF ServiceModel performance counters for this application.-->
+    <diagnostics>
+      <messageLogging logMalformedMessages="true" logMessagesAtTransportLevel="true" logEntireMessage="true"  logMessagesAtServiceLevel="true"/>
+    </diagnostics>
+    <!--********************************************************
+        
+    Config Service BS Clients
+    
+    *********************************************************-->
+    <client>
+      <!-- DotNet Config Endpoints -->
+      <endpoint address="http://localhost:7000/tradeconfigservice" contract="Trade.ConfigServiceContract.IConfigService" binding="basicHttpBinding" name="ConfigClient_BasicHttpBinding"/>
+
+      <!-- DotNet Clients  -->
+      <endpoint address="http://localhost:9000/tradebusinessservice"
+                contract="Trade.BusinessServiceContract.ITradeServices"
+                binding="customBinding"
+                bindingConfiguration="BsClient_FederatedBinding"
+                behaviorConfiguration="BsClient_FederatedBehavior"
+                name="BsClient_FederatedBinding">
+        <identity>
+          <dns value="OPS.Com"/>
+        </identity>
+      </endpoint>
+    </client>
+
+    <!--********************************************************
+        
+    Config Service BINDINGS
+    
+    *********************************************************-->
+    <bindings>
+      <customBinding>
+        <binding name="BsClient_FederatedBinding">
+          <security authenticationMode="IssuedTokenForCertificate"
+                    messageSecurityVersion="WSSecurity11WSTrust13WSSecureConversation13WSSecurityPolicy12BasicSecurityProfile10"
+                    >
+            <issuedTokenParameters keyType="SymmetricKey" tokenType="http://docs.oasis-open.org/wss/oasis-wss-saml-token-profile-1.1#SAMLV1.1">
+              <issuer address="http://localhost:9001/tradeactivests" binding="customBinding" bindingConfiguration="stsBinding">
+                <identity>
+
+                  <dns value="OPS.Com"/>
+                </identity>
+              </issuer>
+              <issuerMetadata address="http://localhost:9001/tradeactivests/mex"/>
+            </issuedTokenParameters>
+          </security>
+          <textMessageEncoding messageVersion="Soap12WSAddressing10"/>
+          <httpTransport/>
+        </binding>
+        <binding name="stsBinding">
+          <security authenticationMode="UserNameForCertificate" requireDerivedKeys="false" defaultAlgorithmSuite="Basic128" messageSecurityVersion="WSSecurity11WSTrust13WSSecureConversation13WSSecurityPolicy12BasicSecurityProfile10"/>
+          <textMessageEncoding messageVersion="Soap12WSAddressing10"/>
+          <httpTransport/>
+        </binding>
+      </customBinding>
+    </bindings>
+    <!--Service Behaviors are applied (at the service level) to services that specify them, hence apply to ALL ENDPOINTS FOR A SERVICE HOST/VHOST -->
+    <behaviors>
+      <!--Endpint Behaviors are applied at the individual endpoint level.-->
+      <endpointBehaviors>
+        <behavior name="BsClient_FederatedBehavior">
+          <clientCredentials>
+            <serviceCertificate>
+              <defaultCertificate findValue="CN=OPS.Com" storeLocation="LocalMachine" storeName="TrustedPeople" x509FindType="FindBySubjectDistinguishedName"/>
+              <authentication revocationMode="NoCheck" certificateValidationMode="None"></authentication>
+            </serviceCertificate>
+          </clientCredentials>
+        </behavior>
+      </endpointBehaviors>
+    </behaviors>
+    <!--END CONFIG SERVICE TEMPLATE BEHAVIORS-->
+  </system.serviceModel>
+
+  <!-- Set identity impersonate to false to make sure ASP.NET runs as its 
+       preferred ASP.NET Machine Account. Note this is also required for the 
+       application by default to run in a Windows Vista/ASP.NET worker process 
+      using the new "integrated pipeline" mode introduced with IIS 7.0, 
+      which is the web server within Vista (and upcoming Windows "Longhorn" Server
+      release.-->
+  <system.web>
+    <identity impersonate="false"/>
+    <trace enabled="false" pageOutput="false"/>
+    <!--A setting for ASMX Web Service Only-->
+    <webServices>
+      <protocols>
+        <add name="AnyHttpSoap"/>
+      </protocols>
+    </webServices>
+    <!-- 
+            Set compilation debug="true" to insert debugging 
+            symbols into the compiled page. Because this 
+            affects performance, set this value to true only 
+            during development.
+        -->
+    <customErrors mode="Off"></customErrors>
+    <pages buffer="true" enableSessionState="true" enableViewState="false" enableViewStateMac="false" smartNavigation="false">
+      <controls>
+        <add tagPrefix="asp" namespace="System.Web.UI" assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
+        <add tagPrefix="asp" namespace="System.Web.UI.WebControls" assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
+      </controls>
+    </pages>
+    <compilation defaultLanguage="c#" debug="true">
+      <assemblies>
+        <add assembly="System.Core, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
+        <add assembly="System.Data.DataSetExtensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
+        <add assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
+        <add assembly="System.Data.Linq, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
+        <add assembly="Microsoft.IdentityModel, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
+      </assemblies>
+    </compilation>
+    <authentication mode="None"/>
+    <sessionState mode="InProc" cookieless="false" stateConnectionString="" timeout="15"/>
+    <httpModules>
+      <add name="WSFederationAuthenticationModule" type="Microsoft.IdentityModel.Web.WSFederationAuthenticationModule, Microsoft.IdentityModel, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
+      <add name="SessionAuthenticationModule" type="Microsoft.IdentityModel.Web.SessionAuthenticationModule, Microsoft.IdentityModel, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
+    </httpModules>
+  </system.web>
+  <system.codedom>
+    <compilers>
+      <compiler language="c#;cs;csharp" extension=".cs" warningLevel="4" type="Microsoft.CSharp.CSharpCodeProvider, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
+        <providerOption name="CompilerVersion" value="v3.5"/>
+        <providerOption name="WarnAsError" value="false"/>
+      </compiler>
+    </compilers>
+  </system.codedom>
+  <!--These are the restricted pages based on ASP.NET authentication; and require
+      user login before access is granted-->
+  <location path="Account.aspx">
+    <system.web>
+      <authorization>
+        <deny users="?"/>
+      </authorization>
+    </system.web>
+  </location>
+  <location path="TradeHome.aspx">
+    <system.web>
+      <authorization>
+        <deny users="?"/>
+      </authorization>
+    </system.web>
+  </location>
+  <location path="Portfolio.aspx">
+    <system.web>
+      <authorization>
+        <deny users="?"/>
+      </authorization>
+    </system.web>
+  </location>
+  <location path="Order.aspx">
+    <system.web>
+      <authorization>
+        <deny users="?"/>
+      </authorization>
+    </system.web>
+  </location>
+  <location path="Quotes.aspx">
+    <system.web>
+      <authorization>
+        <deny users="?"/>
+      </authorization>
+    </system.web>
+  </location>
+  <location path="StockTrade.aspx">
+    <system.web>
+      <authorization>
+        <deny users="?"/>
+      </authorization>
+    </system.web>
+  </location>
+  <system.webServer>
+    <validation validateIntegratedModeConfiguration="false"/>
+    <modules>
+      <add name="WSFederationAuthenticationModule" type="Microsoft.IdentityModel.Web.WSFederationAuthenticationModule, Microsoft.IdentityModel, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" preCondition="managedHandler"/>
+      <add name="SessionAuthenticationModule" type="Microsoft.IdentityModel.Web.SessionAuthenticationModule, Microsoft.IdentityModel, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" preCondition="managedHandler"/>
+    </modules>
+  </system.webServer>
+  <microsoft.identityModel>
+    <service saveBootstrapTokens="true">
+      <audienceUris mode="Never">
+        <add value="http://localhost/trade/"/>
+      </audienceUris>
+      <federatedAuthentication>
+        <wsFederation passiveRedirectEnabled="true" issuer="http://localhost/trade_identity" realm="http://localhost/trade/Default.aspx" requireHttps="false"/>
+        <cookieHandler requireSsl="false"/>
+      </federatedAuthentication>
+      <issuerNameRegistry type="Microsoft.IdentityModel.Tokens.ConfigurationBasedIssuerNameRegistry, Microsoft.IdentityModel, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35">
+        <trustedIssuers>
+          <add thumbprint="59D185EAE27B5D89DF9A90927353206CC89B8A1B" name="CN=BSL.Com" />
+        </trustedIssuers>
+      </issuerNameRegistry>
+    </service>
+  </microsoft.identityModel>
+
+  <!--<system.diagnostics>
+    <sources>
+      <source name="System.ServiceModel.MessageLogging" switchValue="All, ActivityTracing">
+        <listeners>
+          <add name="messaging"></add>
+        </listeners>
+      </source>
+      <source name="System.ServiceModel" switchValue="Warning, ActivityTracing"
+        propagateActivity="true">
+        <listeners>
+          <add name="serviceModel"></add>
+        </listeners>
+      </source>
+    </sources>
+    <sharedListeners>
+      <add initializeData="app_messages.svclog"
+        type="System.Diagnostics.XmlWriterTraceListener, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"
+        name="serviceModel" traceOutputOptions="Timestamp">
+      </add>
+      <add initializeData="app_tracelog.svclog"
+        type="System.Diagnostics.XmlWriterTraceListener, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"
+        name="messaging" traceOutputOptions="Timestamp">
+      </add>
+    </sharedListeners>
+    <trace autoflush="true"></trace>
+  </system.diagnostics>-->
+</configuration>

Added: incubator/stonehenge/trunk/stocktrader/dotnet/trader_client/Trade/Web.WSIS.config
URL: http://svn.apache.org/viewvc/incubator/stonehenge/trunk/stocktrader/dotnet/trader_client/Trade/Web.WSIS.config?rev=908802&view=auto
==============================================================================
--- incubator/stonehenge/trunk/stocktrader/dotnet/trader_client/Trade/Web.WSIS.config (added)
+++ incubator/stonehenge/trunk/stocktrader/dotnet/trader_client/Trade/Web.WSIS.config Thu Feb 11 02:22:10 2010
@@ -0,0 +1,285 @@
+<?xml version="1.0"?>
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements.  See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License.  You may obtain a copy of the License at
+ 
+       http://www.apache.org/licenses/LICENSE-2.0
+ 
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+ -->
+<!--  
+    Note: As an alternative to hand editing this file you can use the 
+    web admin tool to configure settings for your application. Use
+    the Website->Asp.Net Configuration option in Visual Studio.
+    A full list of settings and comments can be found in 
+    machine.config.comments usually located in 
+    \Windows\Microsoft.Net\Framework\v2.x\Config 
+-->
+<configuration>
+  <configSections>
+    <section name="microsoft.identityModel" type="Microsoft.IdentityModel.Configuration.MicrosoftIdentityModelSection, Microsoft.IdentityModel, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
+  </configSections>
+  <appSettings>
+    <!--Possible values for logger mode: CONSOLE, EVENT_VIEWER-->
+    <add key="LOGGER_MODE" value="CONSOLE"/>
+    <add key="EVENT_LOG" value="Trade Web App"/>
+    <add key="LOGGING_ENABLED" value="ON"/>
+    <add key="MAX_DISPLAY_ORDERS" value="20"/>
+    <add key="MAX_DISPLAY_TOP_ORDERS" value="5"/>
+    <add key="DISPLAY_DUPLICATE_KEY_EXCEPTIONS" value="true"/>
+    <add key="CHECK_ORDER_ALERT_EVERY_REQUEST" value="true"/>
+    <add key="ORDER_ALERT_CHECK_FREQUENCY" value="30"/>
+    <add key="CS_DOTNET_ENDPOINT_CONFIG_HTTP" value="ConfigClient_BasicHttpBinding"/>
+    <add key="BSL_USERID" value="uid:0"/>
+    <add key="BSL_PASSWORD" value="xxx"/>
+    <add key="CLIENT_LABEL" value="DOTNET_CLIENT"/>
+    <add key="BS_LABEL" value="DOTNET_BS"/>
+    <add key="OPS_LABEL" value="DOTNET_OPS"/>
+
+    <!--Endpoint mappings-->
+    <add key="DOTNET_BS" value="BsClient_FederatedBinding"/>
+    <add key="METRO_BS" value="BsClient_FederatedBinding"/>
+    
+  </appSettings>
+  <runtime>
+    <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
+    </assemblyBinding>
+  </runtime>
+  <!-- system.service model: New configuration section added with the release 
+       of .NET 3.0 and Windows Communication Foundation. This section defines the:
+ 
+       a) WCF Web Services, if any, hosted by this application.  
+       b) WCF clients and their endpoints.
+       c) The bindings used by the services and clients: bindings are transports and
+          encoding standards, such as HTTP/Text-XML; TCP/Binary; MSMQ, etc.
+   -->
+  <system.serviceModel>
+    <!--This enables the WCF ServiceModel performance counters for this application.-->
+    <diagnostics>
+      <messageLogging logMalformedMessages="true" logMessagesAtTransportLevel="true" logEntireMessage="true"  logMessagesAtServiceLevel="true"/>
+    </diagnostics>
+    <!--********************************************************
+        
+    Config Service BS Clients
+    
+    *********************************************************-->
+    <client>
+      <!-- DotNet Config Endpoints -->
+      <endpoint address="http://localhost:7000/tradeconfigservice" contract="Trade.ConfigServiceContract.IConfigService" binding="basicHttpBinding" name="ConfigClient_BasicHttpBinding"/>
+
+      <!-- DotNet Clients  -->
+      <endpoint address="http://localhost:9000/tradebusinessservice"
+                contract="Trade.BusinessServiceContract.ITradeServices"
+                binding="customBinding"
+                bindingConfiguration="BsClient_FederatedBinding"
+                behaviorConfiguration="BsClient_FederatedBehavior"
+                name="BsClient_FederatedBinding">
+        <identity>
+          <dns value="OPS.Com"/>
+        </identity>
+      </endpoint>
+    </client>
+
+    <!--********************************************************
+        
+    Config Service BINDINGS
+    
+    *********************************************************-->
+    <bindings>
+      <customBinding>
+        <binding name="BsClient_FederatedBinding">
+          <security authenticationMode="IssuedTokenForCertificate"
+                    messageSecurityVersion="WSSecurity11WSTrust13WSSecureConversation13WSSecurityPolicy12BasicSecurityProfile10"
+                    requireSignatureConfirmation="false">
+            <issuedTokenParameters keyType="SymmetricKey" tokenType="http://docs.oasis-open.org/wss/oasis-wss-saml-token-profile-1.1#SAMLV1.1">
+              <issuer address="http://localhost:9001/tradeactivests" binding="customBinding" bindingConfiguration="stsBinding">
+                <identity>
+
+                  <dns value="OPS.Com"/>
+                </identity>
+              </issuer>
+              <issuerMetadata address="http://localhost:9001/tradeactivests/mex"/>
+            </issuedTokenParameters>
+          </security>
+          <textMessageEncoding messageVersion="Soap11WSAddressing10"/>
+          <httpTransport/>
+        </binding>
+        <binding name="stsBinding">
+          <security authenticationMode="UserNameForCertificate" requireDerivedKeys="false" defaultAlgorithmSuite="Basic128" messageSecurityVersion="WSSecurity11WSTrust13WSSecureConversation13WSSecurityPolicy12BasicSecurityProfile10"/>
+          <textMessageEncoding messageVersion="Soap12WSAddressing10"/>
+          <httpTransport/>
+        </binding>
+      </customBinding>
+    </bindings>
+    <!--Service Behaviors are applied (at the service level) to services that specify them, hence apply to ALL ENDPOINTS FOR A SERVICE HOST/VHOST -->
+    <behaviors>
+      <!--Endpint Behaviors are applied at the individual endpoint level.-->
+      <endpointBehaviors>
+        <behavior name="BsClient_FederatedBehavior">
+          <clientCredentials>
+            <serviceCertificate>
+              <defaultCertificate findValue="CN=OPS.Com" storeLocation="LocalMachine" storeName="TrustedPeople" x509FindType="FindBySubjectDistinguishedName"/>
+              <authentication revocationMode="NoCheck" certificateValidationMode="None"></authentication>
+            </serviceCertificate>
+          </clientCredentials>
+        </behavior>
+      </endpointBehaviors>
+    </behaviors>
+    <!--END CONFIG SERVICE TEMPLATE BEHAVIORS-->
+  </system.serviceModel>
+
+  <!-- Set identity impersonate to false to make sure ASP.NET runs as its 
+       preferred ASP.NET Machine Account. Note this is also required for the 
+       application by default to run in a Windows Vista/ASP.NET worker process 
+      using the new "integrated pipeline" mode introduced with IIS 7.0, 
+      which is the web server within Vista (and upcoming Windows "Longhorn" Server
+      release.-->
+  <system.web>
+    <identity impersonate="false"/>
+    <trace enabled="false" pageOutput="false"/>
+    <!--A setting for ASMX Web Service Only-->
+    <webServices>
+      <protocols>
+        <add name="AnyHttpSoap"/>
+      </protocols>
+    </webServices>
+    <!-- 
+            Set compilation debug="true" to insert debugging 
+            symbols into the compiled page. Because this 
+            affects performance, set this value to true only 
+            during development.
+        -->
+    <customErrors mode="Off"></customErrors>
+    <pages buffer="true" enableSessionState="true" enableViewState="false" enableViewStateMac="false" smartNavigation="false">
+      <controls>
+        <add tagPrefix="asp" namespace="System.Web.UI" assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
+        <add tagPrefix="asp" namespace="System.Web.UI.WebControls" assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
+      </controls>
+    </pages>
+    <compilation defaultLanguage="c#" debug="true">
+      <assemblies>
+        <add assembly="System.Core, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
+        <add assembly="System.Data.DataSetExtensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
+        <add assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
+        <add assembly="System.Data.Linq, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
+        <add assembly="Microsoft.IdentityModel, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
+      </assemblies>
+    </compilation>
+    <authentication mode="None"/>
+    <sessionState mode="InProc" cookieless="false" stateConnectionString="" timeout="15"/>
+    <httpModules>
+      <add name="WSFederationAuthenticationModule" type="Microsoft.IdentityModel.Web.WSFederationAuthenticationModule, Microsoft.IdentityModel, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
+      <add name="SessionAuthenticationModule" type="Microsoft.IdentityModel.Web.SessionAuthenticationModule, Microsoft.IdentityModel, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
+    </httpModules>
+  </system.web>
+  <system.codedom>
+    <compilers>
+      <compiler language="c#;cs;csharp" extension=".cs" warningLevel="4" type="Microsoft.CSharp.CSharpCodeProvider, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
+        <providerOption name="CompilerVersion" value="v3.5"/>
+        <providerOption name="WarnAsError" value="false"/>
+      </compiler>
+    </compilers>
+  </system.codedom>
+  <!--These are the restricted pages based on ASP.NET authentication; and require
+      user login before access is granted-->
+  <location path="Account.aspx">
+    <system.web>
+      <authorization>
+        <deny users="?"/>
+      </authorization>
+    </system.web>
+  </location>
+  <location path="TradeHome.aspx">
+    <system.web>
+      <authorization>
+        <deny users="?"/>
+      </authorization>
+    </system.web>
+  </location>
+  <location path="Portfolio.aspx">
+    <system.web>
+      <authorization>
+        <deny users="?"/>
+      </authorization>
+    </system.web>
+  </location>
+  <location path="Order.aspx">
+    <system.web>
+      <authorization>
+        <deny users="?"/>
+      </authorization>
+    </system.web>
+  </location>
+  <location path="Quotes.aspx">
+    <system.web>
+      <authorization>
+        <deny users="?"/>
+      </authorization>
+    </system.web>
+  </location>
+  <location path="StockTrade.aspx">
+    <system.web>
+      <authorization>
+        <deny users="?"/>
+      </authorization>
+    </system.web>
+  </location>
+  <system.webServer>
+    <validation validateIntegratedModeConfiguration="false"/>
+    <modules>
+      <add name="WSFederationAuthenticationModule" type="Microsoft.IdentityModel.Web.WSFederationAuthenticationModule, Microsoft.IdentityModel, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" preCondition="managedHandler"/>
+      <add name="SessionAuthenticationModule" type="Microsoft.IdentityModel.Web.SessionAuthenticationModule, Microsoft.IdentityModel, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" preCondition="managedHandler"/>
+    </modules>
+  </system.webServer>
+  <microsoft.identityModel>
+    <service>
+      <audienceUris mode="Never">
+        <add value="http://localhost/trade/"/>
+      </audienceUris>
+      <federatedAuthentication>
+        <wsFederation passiveRedirectEnabled="true" issuer="https://localhost:9443/passivests" realm="http://localhost/Trade/" requireHttps="false"/>
+        <cookieHandler requireSsl="false"/>
+      </federatedAuthentication>
+      <issuerNameRegistry type="Microsoft.IdentityModel.Tokens.ConfigurationBasedIssuerNameRegistry, Microsoft.IdentityModel, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35">
+        <trustedIssuers>
+          <add thumbprint="79af6b15468e02ef01e0d7e320a071e23d6e3ac2" name="CN=localhost" />
+        </trustedIssuers>
+      </issuerNameRegistry>
+    </service>
+  </microsoft.identityModel>
+
+  <!--<system.diagnostics>
+    <sources>
+      <source name="System.ServiceModel.MessageLogging" switchValue="All, ActivityTracing">
+        <listeners>
+          <add name="messaging"></add>
+        </listeners>
+      </source>
+      <source name="System.ServiceModel" switchValue="Warning, ActivityTracing"
+        propagateActivity="true">
+        <listeners>
+          <add name="serviceModel"></add>
+        </listeners>
+      </source>
+    </sources>
+    <sharedListeners>
+      <add initializeData="app_messages.svclog"
+        type="System.Diagnostics.XmlWriterTraceListener, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"
+        name="serviceModel" traceOutputOptions="Timestamp">
+      </add>
+      <add initializeData="app_tracelog.svclog"
+        type="System.Diagnostics.XmlWriterTraceListener, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"
+        name="messaging" traceOutputOptions="Timestamp">
+      </add>
+    </sharedListeners>
+    <trace autoflush="true"></trace>
+  </system.diagnostics>-->
+</configuration>