<?xml version="1.0" encoding="utf-8"?>
<!--
如需如何設定 ASP.NET 應用程式的詳細資訊,請造訪
http://go.microsoft.com/fwlink/?LinkId=169433
-->
<configuration>
<connectionStrings>
<add name="AUTH_SERVICEConnectionString" connectionString="Data Source=au3epoweb1;Initial Catalog=AUTH_SERVICE;Persist Security Info=True;User ID=auth_ap;Password=auth_ap"
providerName="System.Data.SqlClient" />
</connectionStrings>
<system.web>
<compilation debug="true" targetFramework="4.0" />
<!--special for bistest-->
<httpHandlers>
<remove verb="*" path="*.asmx" />
<remove verb="POST,GET" path="ajax/*.ashx" />
</httpHandlers>
</system.web>
<system.serviceModel>
<bindings>
<ws2007HttpBinding>
<binding name="wsHttpEndpointBinding" closeTimeout="00:30:00"
openTimeout="00:30:00" receiveTimeout="00:30:00" sendTimeout="00:30:00"
bypassProxyOnLocal="false" hostNameComparisonMode="StrongWildcard"
maxBufferPoolSize="2147483647" maxReceivedMessageSize="2147483647"
messageEncoding="Text" textEncoding="utf-8" useDefaultWebProxy="true"
allowCookies="false">
<readerQuotas maxDepth="32" maxStringContentLength="2147483647"
maxArrayLength="2147483647" maxBytesPerRead="2147483647" maxNameTableCharCount="2147483647" />
<security mode="TransportWithMessageCredential">
<transport clientCredentialType="None" />
<message clientCredentialType="UserName" />
</security>
</binding>
</ws2007HttpBinding>
</bindings>
<services>
<service name="AuthService.WcfService1" behaviorConfiguration="ServiceBehavior">
<endpoint address="" binding="ws2007HttpBinding" bindingConfiguration="wsHttpEndpointBinding"
contract="AuthService.IWcfService1">
<identity>
<dns value="*.corpnet.auo.com"/>
</identity>
</endpoint>
<endpoint address="mex" binding="mexHttpsBinding" contract="IMetadataExchange" />
</service>
</services>
<behaviors>
<!--自己设定-->
<serviceBehaviors>
<behavior name="ServiceBehavior">
<serviceMetadata httpGetEnabled="true" httpsGetEnabled="true" />
<serviceDebug includeExceptionDetailInFaults="true" />
<serviceCredentials>
<userNameAuthentication userNamePasswordValidationMode="MembershipProvider" />
<serviceCertificate storeLocation="LocalMachine" storeName="My" findValue="*.corpnet.auo.com"
x509FindType="FindBySubjectName" />
</serviceCredentials>
</behavior>
</serviceBehaviors>
<!--自己设定 END-->
</behaviors>
<serviceHostingEnvironment multipleSiteBindingsEnabled="true" />
</system.serviceModel>
</configuration>