SMTP Internal classes added to make SmtpMail.Send work
[mono.git] / data / machine.config
index c4250ba2f5172ff64cffa9891a38951b51dea1dc..16e6f0198e8eb8552e9abeef97e221b97c2fb4a9 100644 (file)
@@ -5,22 +5,50 @@
        <configSections>
                <section name="appSettings" type="System.Configuration.NameValueFileSectionHandler, System" />
 
+               <section name="system.diagnostics" type="System.Diagnostics.DiagnosticsConfigurationHandler, System" />
                <sectionGroup name="system.web">
-                       <section name="httpHandlers" type="System.Web.Configuration.HttpHandlersSectionHandler, System.Web" />
-                       <section name="httpModules" type="System.Web.Configuration.HttpModulesConfigurationHandler, System.Web" />
+                       <section name="httpHandlers"
+                                type="System.Web.Configuration.HttpHandlersSectionHandler, System.Web" />
+                       <section name="httpModules"
+                                type="System.Web.Configuration.HttpModulesConfigurationHandler, System.Web" />
+                       <section name="machineKey"
+                                type="System.Web.Configuration.MachineKeyConfigHandler, System.Web" />
+                       <section name="authentication"
+                                type="System.Web.Configuration.AuthenticationConfigHandler, System.Web" />
+                       <section name="authorization"
+                                type="System.Web.Configuration.AuthorizationConfigHandler, System.Web" />
+                       <section name="globalization"
+                                type="System.Web.Configuration.GlobalizationConfigurationHandler, System.Web" />
                </sectionGroup>
        </configSections>
        <system.web>
                <httpHandlers>
-                       <add verb="*" path="*.aspx" type="System.Web.UI.PageHandlerFactory" />
-                       <add verb="*" path="*.asax" type="System.Web.HttpForbiddenHandler" />
-                       <add verb="*" path="*.ascx" type="System.Web.HttpForbiddenHandler" />
-                       <add verb="*" path="*.config" type="System.Web.HttpForbiddenHandler" />
-                       <add verb="GET,HEAD" path="*" type="System.Web.StaticFileHandler" />
-                       <add verb="*" path="*" type="System.Web.HttpMethodNotAllowedHandler" />
+                       <add verb="*" path="*.aspx" type="System.Web.UI.PageHandlerFactory, System.Web" />
+                       <add verb="*" path="*.asax" type="System.Web.HttpForbiddenHandler, System.Web" />
+                       <add verb="*" path="*.ascx" type="System.Web.HttpForbiddenHandler, System.Web" />
+                       <add verb="*" path="*.config" type="System.Web.HttpForbiddenHandler, System.Web" />
+                       <add verb="GET,HEAD" path="*" type="System.Web.StaticFileHandler, System.Web" />
+                       <add verb="*" path="*" type="System.Web.HttpMethodNotAllowedHandler, System.Web" />
                </httpHandlers>
                <httpModules>
+                       <add name="FormsAuthentication" type="System.Web.Security.FormsAuthenticationModule, System.Web" />
+                       <add name="UrlAuthorization" type="System.Web.Security.UrlAuthorizationModule, System.Web" />
                </httpModules>
+               <authentication mode="Forms">
+                       <forms name=".MONOAUTH" loginUrl="login.aspx" protection="All" timeout="30" path="/">
+                               <credentials passwordFormat="Clear">
+                                       <!--<user name="gonzalo" password="gonz"/>-->
+                               </credentials>
+                       </forms>
+               </authentication>
+               <machineKey validationKey="AutoGenerate" decryptionKey="AutoGenerate" validation="SHA1" />
+               <!-- Sample globalization settings
+               <globalization  requestEncoding="iso-8859-1"
+                               responseEncoding="iso-8859-1"
+                               fileEncoding="iso-8859-1" 
+                               culture="en-US"
+                               uiculture="en-US" />
+               -->
        </system.web>
        
        <appSettings>
@@ -28,5 +56,8 @@
        <!--<remove key="a key defined higher in the hierarchy" /> -->
        <!--<clear/> Removes all defined settings -->
        </appSettings>
+       <system.diagnostics>
+               <trace autoflush="false" indentsize="4" />
+       </system.diagnostics>
 </configuration>