<?xml version="1.0" encoding="utf-8" ?>
<configuration>
  <runtime>
    <gcServer enabled="true" />
    <generatePublisherEvidence enabled="false"/>
  </runtime>
  <system.net>
    <connectionManagement>
      <add address="*" maxconnection="40"/>
    </connectionManagement>
    <defaultProxy>
      <proxy usesystemdefault="true" bypassonlocal="true" />
      <bypasslist>
        <add address=".*" />
      </bypasslist>
    </defaultProxy>
  </system.net>
  <system.serviceModel>
    <bindings>
      <netNamedPipeBinding>
        <binding name="SecureBinding" maxConnections="100000">
          <security mode="Transport">
            <transport protectionLevel="EncryptAndSign" />
          </security>
        </binding>
      </netNamedPipeBinding>
    </bindings>
    <services>
      <service name="Microsoft.Exchange.Security.Authentication.FederatedAuthService.AuthService" behaviorConfiguration="AuthServiceBehavior">
        <endpoint address="net.pipe://localhost/Microsoft.Exchange.Security.Authentication.FederatedAuthService"
          binding="netNamedPipeBinding" bindingConfiguration="SecureBinding"
          contract="Microsoft.Exchange.Security.Authentication.FederatedAuthService.IAuthService" />
      </service>
    </services>
    <behaviors>
      <serviceBehaviors>
        <behavior name="AuthServiceBehavior">
          <serviceThrottling maxConcurrentCalls="1000" maxConcurrentSessions="100" />
        </behavior>
      </serviceBehaviors>
    </behaviors>
  </system.serviceModel>
  <appSettings>
    <add key="MinimumIOPortThreads" value="40" />
  </appSettings>
</configuration>
