<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans"
       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
       xmlns:p="http://www.springframework.org/schema/p" xmlns:aop="http://www.springframework.org/schema/aop"
       xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.0.xsd http://www.springframework.org/schema/aop http://www.springframework.org/schema/aop/spring-aop-3.0.xsd">
    <description>
        Customizations to the CAS Server. The name starts with zzz to ensure it is the last file loaded to override other bean definitions.
    </description>

    <!-- Make requests synchronous. This ensures that Single Logout has completed before the Logout page renders. -->
    <bean id="httpClient" class="org.jasig.cas.util.HttpClient"
      p:readTimeout="5000"
      p:connectionTimeout="5000">
      <property name="executorService">
        <bean class="org.springframework.core.task.support.ExecutorServiceAdapter">
            <constructor-arg>
                <bean class="org.springframework.core.task.SyncTaskExecutor"/>
            </constructor-arg>
        </bean>
      </property>
    </bean>
</beans>