1、修改WEB-INF\deployerConfigContext.xml,加入
2、修改WEB-INF\spring-configuration\ticketGrantingTicketCookieGenerator.xml,修改p:cookieSecure="false"
<
bean
id
=
"ticketGrantingTicketCookieGenerator"
class
=
"org.jasig.cas.web.support.CookieRetrievingCookieGenerator"
- p:cookieSecure="false"
- p:cookieMaxAge="-1"
- p:cookieName="CASTGC"
- p:cookiePath="/cas" />
3、修改修改WEB-INF\spring-configuration\warnCookieGenerator.xml,修改p:cookieSecure="false"
<
bean
id
=
"warnCookieGenerator"
class
=
"org.jasig.cas.web.support.CookieRetrievingCookieGenerator"
- p:cookieSecure="false"
- p:cookieMaxAge="-1"
- p:cookieName="CASPRIVACY"
- p:cookiePath="/cas" />
4.修改/src/main/resources/services/HTTPSandIMAPS-10000001.json
"serviceId" : "^(https|http|imaps)://.*", 此处加入 http