zzzhttpClientCustomization.xml 1.2 KB

12345678910111213141516171819202122
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <beans xmlns="http://www.springframework.org/schema/beans"
  3. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  4. xmlns:p="http://www.springframework.org/schema/p" xmlns:aop="http://www.springframework.org/schema/aop"
  5. 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">
  6. <description>
  7. Customizations to the CAS Server. The name starts with zzz to ensure it is the last file loaded to override other bean definitions.
  8. </description>
  9. <!-- Make requests synchronous. This ensures that Single Logout has completed before the Logout page renders. -->
  10. <bean id="httpClient" class="org.jasig.cas.util.HttpClient"
  11. p:readTimeout="5000"
  12. p:connectionTimeout="5000">
  13. <property name="executorService">
  14. <bean class="org.springframework.core.task.support.ExecutorServiceAdapter">
  15. <constructor-arg>
  16. <bean class="org.springframework.core.task.SyncTaskExecutor"/>
  17. </constructor-arg>
  18. </bean>
  19. </property>
  20. </bean>
  21. </beans>