CAS3.4.12取消HTTPS配置

阅读更多
1、修改/WEB-INF/deployerConfigContext.xml配置文件:
p:httpClient-ref="httpClient"/>,
改为:
p:httpClient-ref="httpClient" p:requireSecure="false" />

2、修改/WEB-INF/spring-configuration/ticketGrantingTicketCookieGenerator.xml配置文件:
p:cookieSecure="true"
p:cookieMaxAge="-1"
p:cookieName="CASTGC"
p:cookiePath="/cas" />
改为:
p:cookieSecure="false"
p:cookieMaxAge="-1"
p:cookieName="CASTGC"
p:cookiePath="/cas" />

3、修改/WEB-INF/spring-configuration/warnCookieGenerator.xml配置文件:
p:cookieSecure="true"
p:cookieMaxAge="-1"
p:cookieName="CASPRIVACY"
p:cookiePath="/cas" />
改为:
p:cookieSecure="false"
p:cookieMaxAge="-1"
p:cookieName="CASPRIVACY"
p:cookiePath="/cas" />

你可能感兴趣的:(cas,java)