Advertisement
Guest User

Untitled

a guest
Sep 5th, 2017
439
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 8.01 KB | None | 0 0
  1. <?xml version="1.0"?>
  2. <!--
  3.     Note: As an alternative to hand editing this file you can use the
  4.     web admin tool to configure settings for your application. Use
  5.     the Website->Asp.Net Configuration option in Visual Studio.
  6.     A full list of settings and comments can be found in
  7.     machine.config.comments usually located in
  8.     \Windows\Microsoft.Net\Framework\v2.x\Config
  9. -->
  10. <configuration>
  11.     <configSections>
  12.         <section name="securityProviderSets" type="Credibul.Core.Security.Configuration.SecurityProviderSetSettings, Credibul.Core.Security"/>
  13.         <section name="cachingConfiguration" type="Microsoft.Practices.EnterpriseLibrary.Caching.Configuration.CacheManagerSettings, Microsoft.Practices.EnterpriseLibrary.Caching, Version=2.0.0.0, Culture=neutral, PublicKeyToken=null"/>
  14.         <section name="authentication" type="Credibul.Core.Security.Configuration.AuthenticationSettings, Credibul.Core.Security"/>
  15.         <sectionGroup name="reporting" type="Credibul.Core.Web.Reporting.Configuration.ReportingSettingsGroup, Credibul.Core.Web">
  16.             <section name="credentials" type="Credibul.Core.Web.Reporting.Configuration.CredentialSettings, Credibul.Core.Web"/>
  17.             <section name="servers" type="Credibul.Core.Web.Reporting.Configuration.ServerSettings, Credibul.Core.Web"/>
  18.             <section name="reports" type="Credibul.Core.Web.Reporting.Configuration.ReportSettings, Credibul.Core.Web"/>
  19.         </sectionGroup>
  20.     </configSections>
  21.     <appSettings>
  22.         <add key="CslaAuthentication" value="Csla"/>
  23.         <add key="CslaDataPortalProxy" value="Csla.DataPortalClient.RemotingProxy, Csla"/>
  24.         <add key="CslaDataPortalUrl" value="http://localhost/ProductionServer/RemotingPortal.rem"/>
  25.         <!--<add key="OnUnhandledExceptionSendMailTo" value="bug.report@credibul.bg;" />-->
  26.     </appSettings>
  27.     <authentication passwordExpiryPeriod="60"/>
  28.     <cachingConfiguration defaultCacheManager="Default Cache Manager">
  29.         <backingStores>
  30.             <add name="inMemory" type="Microsoft.Practices.EnterpriseLibrary.Caching.BackingStoreImplementations.NullBackingStore, Microsoft.Practices.EnterpriseLibrary.Caching"/>
  31.         </backingStores>
  32.         <cacheManagers>
  33.             <add name="Default Cache Manager" expirationPollFrequencyInSeconds="60" maximumElementsInCacheBeforeScavenging="1000" numberToRemoveWhenScavenging="10" backingStoreName="inMemory"/>
  34.         </cacheManagers>
  35.     </cachingConfiguration>
  36.     <connectionStrings/>
  37.     <reporting>
  38.         <credentials>
  39.             <add userName="WebReportBrowser_Dev" password="654321" domain="sof" name="DefaultCredentials"/>
  40.             <add userName="WebReportBrowser" password="webreportbrowser@credibul.bg" domain="sof" name="ProdCredentials"/>
  41.         </credentials>
  42.         <servers>
  43.             <!--<add name="DefaultReportServer" credentials="ProdCredentials" url="http://cbrep002/reportserver_prod/"/>-->
  44.             <!--<add name="DefaultReportServer" credentials="ProdCredentials" url="http://cbrep002/reportserver_prod_MC/"/>-->
  45.             <!--<add name="DefaultReportServer" credentials="DefaultCredentials" url="http://cbrep002/reportserver_training/"/>-->
  46.             <add name="DefaultReportServer" credentials="DefaultCredentials" url="http://cbds005/reportserver_dev/"/>
  47.         </servers>
  48.         <reports configSource="Reports.config"/>
  49.     </reporting>
  50.     <system.net>
  51.         <mailSettings>
  52.             <smtp from="CrediSoft - credit offer web service&lt;noreply@credibul.bg&gt;">
  53.                 <network host="CBEX001.sof.credibul.bg" password="" userName=""/>
  54.             </smtp>
  55.         </mailSettings>
  56.     </system.net>
  57.     <system.web>
  58.         <webServices>
  59.             <protocols>
  60.                 <add name="HttpGet"/>
  61.                 <add name="HttpPost"/>
  62.             </protocols>
  63.         </webServices>
  64.         <!--
  65.             Set compilation debug="true" to insert debugging
  66.             symbols into the compiled page. Because this
  67.             affects performance, set this value to true only
  68.             during development.
  69.         -->
  70.         <compilation debug="true">
  71.             <assemblies>
  72.                 <add assembly="System.Design, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/>
  73.                 <add assembly="System.Security, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/>
  74.                 <add assembly="System.Configuration.Install, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/>
  75.                 <add assembly="System.Data.OracleClient, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
  76.                 <add assembly="System.Management, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/>
  77.                 <add assembly="System.Messaging, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/>
  78.                 <add assembly="System.Transactions, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
  79.                 <add assembly="System.Runtime.Remoting, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
  80.                 <add assembly="System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
  81.                 <add assembly="Microsoft.ReportViewer.Common, Version=8.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/>
  82.                 <add assembly="System.Web.Extensions.Design, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
  83.                 <add assembly="System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
  84.                 <add assembly="Microsoft.Build.Framework, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/>
  85.                 <add assembly="Microsoft.ReportViewer.ProcessingObjectModel, Version=8.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/>
  86.                 <add assembly="ADODB, Version=7.0.3300.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/>
  87.                 <add assembly="Microsoft.Build.Utilities, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/></assemblies>
  88.         </compilation>
  89.         <!--
  90.             The <authentication> section enables configuration
  91.             of the security authentication mode used by
  92.             ASP.NET to identify an incoming user.
  93.         -->
  94.         <httpModules>
  95.             <!--Credibul athentication-->
  96.             <add name="CBAuthentication" type="Credibul.Core.Security.APIAuthenticationModule, Credibul.Core.Security"/>
  97.         </httpModules>
  98.         <authorization>
  99.             <allow users="*"/>
  100.         </authorization>
  101.         <authentication mode="None"/>
  102.         <membership defaultProvider="APIKeyMembershipProvider">
  103.             <providers>
  104.                 <clear/>
  105.                 <add name="APIKeyMembershipProvider" type="Credibul.Core.Security.APIKeyMembershipProvider, Credibul.Core.Security" applicationName="CrediNet"/>
  106.             </providers>
  107.         </membership>
  108.         <profile defaultProvider="APIKeyProfileProvider" inherits="Credibul.Core.Security.ProfileBase, Credibul.Core.Security">
  109.             <providers>
  110.                 <clear/>
  111.                 <add name="APIKeyProfileProvider" type="Credibul.Core.Security.APIKeyProfileProvider, Credibul.Core.Security" applicationName="CrediNet"/>
  112.             </providers>
  113.         </profile>
  114.         <roleManager defaultProvider="APIKeyRoleProvider" enabled="true" cacheRolesInCookie="true" cookieName=".CBROLES" cookieTimeout="30" cookiePath="/" cookieRequireSSL="false" cookieSlidingExpiration="true" cookieProtection="All">
  115.             <providers>
  116.                 <clear/>
  117.                 <add name="APIKeyRoleProvider" type="Credibul.Core.Security.APIKeyRoleProvider, Credibul.Core.Security" applicationName="CrediNet"/>
  118.             </providers>
  119.         </roleManager>
  120.         <!--
  121.             The <customErrors> section enables configuration
  122.             of what to do if/when an unhandled error occurs
  123.             during the execution of a request. Specifically,
  124.             it enables developers to configure html error pages
  125.             to be displayed in place of a error stack trace.
  126.  
  127.         <customErrors mode="RemoteOnly" defaultRedirect="GenericErrorPage.htm">
  128.             <error statusCode="403" redirect="NoAccess.htm" />
  129.             <error statusCode="404" redirect="FileNotFound.htm" />
  130.         </customErrors>
  131.         -->
  132.     </system.web>
  133.     <system.webServer>
  134.         <validation validateIntegratedModeConfiguration="false"/>
  135.         <modules>
  136.             <add name="CBAuthentication" type="Credibul.Core.Security.APIAuthenticationModule, Credibul.Core.Security" preCondition="managedHandler"/>
  137.         </modules>
  138.         <handlers accessPolicy="Read, Script">
  139.             <remove name="WebServiceHandlerFactory-ISAPI-2.0"/>
  140.             <add name="*.rpt.axd_*" path="*.rpt.axd" verb="*" type="Credibul.Core.Web.Reporting.ReportHandler" preCondition="integratedMode,runtimeVersionv2.0"/>
  141.         </handlers>
  142.     </system.webServer>
  143. </configuration>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement