Added NtlmClient to authentication modules
[mono.git] / data / machine.config
1 <?xml version="1.0" encoding="utf-8"?>
2
3 <configuration>
4
5         <configSections>
6                 <section name="appSettings" type="System.Configuration.NameValueFileSectionHandler, System" />
7                 <section name="system.diagnostics" type="System.Diagnostics.DiagnosticsConfigurationHandler, System" />
8                 <section name="system.runtime.remoting" type="System.Configuration.IgnoreSectionHandler, System" allowLocation="false"/>
9                 <sectionGroup name="system.web">
10                         <section name="httpHandlers"
11                                  type="System.Web.Configuration.HttpHandlersSectionHandler, System.Web" />
12                         <section name="httpModules"
13                                  type="System.Web.Configuration.HttpModulesConfigurationHandler, System.Web" />
14                         <section name="machineKey"
15                                  type="System.Web.Configuration.MachineKeyConfigHandler, System.Web" />
16                         <section name="authentication"
17                                  type="System.Web.Configuration.AuthenticationConfigHandler, System.Web" />
18                         <section name="authorization"
19                                  type="System.Web.Configuration.AuthorizationConfigHandler, System.Web" />
20                         <section name="globalization"
21                                  type="System.Web.Configuration.GlobalizationConfigurationHandler, System.Web" />
22                         <section name="sessionState"
23                                  type="System.Web.SessionState.SessionStateSectionHandler, System.Web" />
24                         <section name="webServices"
25                                  type="System.Web.Services.Configuration.WebServicesConfigurationSectionHandler, System.Web.Services" />
26                         <section name="webControls"
27                                  type="System.Web.Configuration.WebControlsSectionHandler, System.Web" />
28                         <section name="compilation"
29                                  type="System.Web.Configuration.CompilationConfigurationHandler, System.Web" />
30                         <section name="httpRuntime"
31                                  type="System.Web.Configuration.HttpRuntimeConfigurationHandler, System.Web" />
32                 </sectionGroup>
33                 <sectionGroup name="system.net">
34                         <section name="settings"
35                                  type="System.Net.Configuration.NetConfigurationHandler, System" />
36                         <section name="connectionManagement"
37                                  type="System.Net.Configuration.ConnectionManagementHandler, System" />
38                         <section name="authenticationModules"
39                                  type="System.Net.Configuration.NetAuthenticationModuleHandler, System" />
40                         <section name="defaultProxy"
41                                  type="System.Net.Configuration.DefaultProxyHandler, System" />
42                         <section name="webRequestModules"
43                                  type="System.Net.Configuration.WebRequestModuleHandler, System" />
44                 </sectionGroup>
45                 <section name="system.drawing" type="System.Configuration.NameValueSectionHandler" />
46         </configSections>
47         <system.net>
48                 <connectionManagement>
49                         <add address="*" maxconnection="2" />
50                 </connectionManagement>
51                 <authenticationModules>
52                         <add type="System.Net.BasicClient" />
53                         <add type="System.Net.DigestClient" />
54                         <add type="System.Net.NtlmClient" />
55                 </authenticationModules>
56                 <defaultProxy>
57                         <proxy />
58                         <!-- bypassonlocal and proxyaddress are ok -->
59                         <!-- usessystemdefault is not supported -->
60                 </defaultProxy>
61                 <webRequestModules>
62                         <add prefix="http" type="System.Net.HttpRequestCreator, System" />
63                         <add prefix="https" type="System.Net.HttpRequestCreator, System" />
64                         <add prefix="file" type="System.Net.FileWebRequestCreator, System" />
65                 </webRequestModules>
66                 <settings>
67                         <ipv6 enabled="false"/>
68                 </settings>
69         </system.net>
70         <system.web>
71                 <httpHandlers>
72                         <add verb="*" path="*.aspx" type="System.Web.UI.PageHandlerFactory, System.Web" />
73                         <add verb="*" path="*.asmx" validate="false"
74                              type="System.Web.Services.Protocols.WebServiceHandlerFactory, System.Web.Services" />
75                         <add verb="*" path="*.ashx" type="System.Web.UI.SimpleHandlerFactory, System.Web" />
76                         <add verb="GET" path="WebResource.axd" type="System.Web.Handlers.AssemblyResourceLoader, System.Web" />
77                         <add verb="*" path="*.asax" type="System.Web.HttpForbiddenHandler, System.Web" />
78                         <add verb="*" path="*.ascx" type="System.Web.HttpForbiddenHandler, System.Web" />
79                         <add verb="*" path="*.config" type="System.Web.HttpForbiddenHandler, System.Web" />
80                         <add verb="*" path="*.cs" type="System.Web.HttpForbiddenHandler, System.Web" />
81                 <add verb="*" path="*.rem" type="System.Runtime.Remoting.Channels.Http.HttpRemotingHandlerFactory, System.Runtime.Remoting" validate="false" />
82                 <add verb="*" path="*.soap" type="System.Runtime.Remoting.Channels.Http.HttpRemotingHandlerFactory, System.Runtime.Remoting" validate="false" />
83                         <add verb="GET,HEAD" path="*" type="System.Web.StaticFileHandler, System.Web" />
84                         <add verb="*" path="*" type="System.Web.HttpMethodNotAllowedHandler, System.Web" />
85                 </httpHandlers>
86                 <httpModules>
87                         <add name="FormsAuthentication" type="System.Web.Security.FormsAuthenticationModule, System.Web" />
88                         <add name="UrlAuthorization" type="System.Web.Security.UrlAuthorizationModule, System.Web" />
89                         <add name="Session" type="System.Web.SessionState.SessionStateModule, System.Web" />
90                         <add name="OutputCache" type="System.Web.Caching.OutputCacheModule, System.Web" />
91                 </httpModules>
92                 <authentication mode="Forms">
93                         <forms name=".MONOAUTH" loginUrl="login.aspx" protection="All" timeout="30" path="/">
94                                 <credentials passwordFormat="Clear">
95                                         <!--<user name="gonzalo" password="gonz"/>-->
96                                 </credentials>
97                         </forms>
98                 </authentication>
99                 <machineKey validationKey="AutoGenerate" decryptionKey="AutoGenerate" validation="SHA1" />
100                 <globalization  requestEncoding="utf-8"
101                                 responseEncoding="utf-8"
102                                 fileEncoding="utf-8"/>
103                 <!--
104                                 culture="en-US"
105                                 uiculture="en-US" />
106                 -->
107                 <sessionState mode="InProc" />
108                 <webServices>
109                         <protocols>
110                                 <add name="HttpSoap"/>
111                                 <add name="HttpPost"/>
112                                 <add name="HttpGet"/>
113                                 <add name="Documentation"/>
114                         </protocols>
115                         <wsdlHelpGenerator href="DefaultWsdlHelpGenerator.aspx" />
116                 </webServices>
117                 <webControls clientScriptsLocation="/web_scripts" />
118                 <compilation debug="false" defaultLanguage="c#">
119                         <compilers>
120                         <compiler language="cs;c#;csharp" extension=".cs" warningLevel="1" compilerOptions=""
121                                   type="Microsoft.CSharp.CSharpCodeProvider, System" />
122                         <compiler language="vb;vbs;visualbasic;vbscript" extension=".vb"
123                                   warningLevel="1" compilerOptions=""
124                                   type="Microsoft.VisualBasic.VBCodeProvider, System" />
125                         </compilers>
126                         <assemblies>
127                                 <!--<add assembly="mscorlib" /> -->
128                                 <add assembly="System" />
129                                 <add assembly="System.Xml" />
130                                 <add assembly="System.Data" />
131                                 <add assembly="System.Web" />
132                                 <add assembly="System.Web.Services" />
133                                 <add assembly="System.Drawing" />
134                                 <add assembly="*" /> <!-- Add assemblies in bin directory -->
135                         </assemblies>
136                 </compilation>
137                 <httpRuntime executionTimeout="90"
138                              maxRequestLength="4096"
139                              useFullyQualifiedRedirectUrl="false"
140                              minFreeThreads="8"
141                              minLocalRequestFreeThreads="4"
142                              appRequestQueueLimit="100" />
143         </system.web>
144         
145         <system.runtime.remoting>
146                 <application>
147                         <channels>
148                                 <channel ref="http client" displayName="http client (delay loaded)" delayLoadAsClientChannel="true" />
149                                 <channel ref="tcp client" displayName="tcp client (delay loaded)" delayLoadAsClientChannel="true" />
150                         </channels>
151                 </application>
152                 <channels>
153                         <channel id="http" type="System.Runtime.Remoting.Channels.Http.HttpChannel, System.Runtime.Remoting" />
154                         <channel id="http client" type="System.Runtime.Remoting.Channels.Http.HttpClientChannel, System.Runtime.Remoting" />
155                         <channel id="http server" type="System.Runtime.Remoting.Channels.Http.HttpServerChannel, System.Runtime.Remoting" />
156                         <channel id="tcp" type="System.Runtime.Remoting.Channels.Tcp.TcpChannel, System.Runtime.Remoting" />
157                         <channel id="tcp client" type="System.Runtime.Remoting.Channels.Tcp.TcpClientChannel, System.Runtime.Remoting" />
158                         <channel id="tcp server" type="System.Runtime.Remoting.Channels.Tcp.TcpServerChannel, System.Runtime.Remoting" />
159                 </channels>
160                         <channelSinkProviders>
161                                 <clientProviders>
162                                         <formatter id="soap" type="System.Runtime.Remoting.Channels.SoapClientFormatterSinkProvider, System.Runtime.Remoting" />
163                                         <formatter id="binary" type="System.Runtime.Remoting.Channels.BinaryClientFormatterSinkProvider, System.Runtime.Remoting" />
164                                 </clientProviders>
165                                 <serverProviders>
166                                         <formatter id="soap" type="System.Runtime.Remoting.Channels.SoapServerFormatterSinkProvider, System.Runtime.Remoting" />
167                                         <formatter id="binary" type="System.Runtime.Remoting.Channels.BinaryServerFormatterSinkProvider, System.Runtime.Remoting" />
168                                         <provider id="wsdl" type="System.Runtime.Remoting.MetadataServices.SdlChannelSinkProvider, System.Runtime.Remoting" />
169                                 </serverProviders>
170                         </channelSinkProviders>
171         </system.runtime.remoting>
172         
173         <appSettings>
174         <!--<add key="yourkey" value="your value" /> -->
175         <!--<remove key="a key defined higher in the hierarchy" /> -->
176         <!--<clear/> Removes all defined settings -->
177         </appSettings>
178         <system.diagnostics>
179                 <trace autoflush="false" indentsize="4" />
180         </system.diagnostics>
181         <system.drawing>
182         </system.drawing>
183 </configuration>
184
185