cas4.2以下取消https
2024-08-29 19:54:01
deployerConfigContext.xml增加参数p:requireSecure="false"
<bean class="org.jasig.cas.authentication.handler.support.HttpBasedServiceCredentialsAuthenticationHandler"
p:httpClient-ref="httpClient" p:requireSecure="false"/>
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" />
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" />
casLoginView.jsp
<jsp:directive.include file="includes/top.jsp" /> <%--<c:if test="${not pageContext.request.secure}">
<div id="msg" class="errors">
<h2><spring:message code="screen.nonsecure.title" /></h2>
<p><spring:message code="screen.nonsecure.message" /></p>
</div>
</c:if>--%>
最新文章
- windows10和ubuntu16.04双系统下时间不对的问题 ZT
- AngularJs $sce 和 $sceDelegate 上下文转义
- CF 405B Domino Effect(想法题)
- Kali Linux Web 渗透测试视频教程—第十课 w3af
- HDOJ 1075
- 欧拉工程第52题:Permuted multiples
- ObsoleteAttribute 可适用于除程序集、模块、参数或返回值以外的所有程序元素。 将元素标记为过时可以通知用户:该元素在产品的未来版本中将被移除。
- HDU 4957 Poor Mitsui
- const 那点事儿
- STM32/GD32芯片信息
- freemarker写select组件(二)
- 通过Excel生成PowerDesigner表结构设计
- 前端jquery 获取select多选的值
- Python的 is 和 == 弄懂了吗?
- 学习笔记---json和xml区别
- MySql cmd下的学习笔记 —— 引擎和事务(engine,transaction)
- find: paths must precede expression问题及解决
- WebDriver高级应用实例(9)
- PAT甲题题解-1076. Forwards on Weibo (30)-BFS
- ElasticSearch 5.6.1 安装 Kibana、X-Pack和head