郑州做网站的,谷歌seo网站推广,国内知名网站建设企业,商业图片素材网站如何去掉HTTPS认证#xff1f; 说明#xff1a;默认情况下HTTP也是可以访问CAS SERVER的#xff0c;但认证#xff0c;登陆#xff0c;退出等操作均没有任何的效果。所以必须作出下面的修改 1、进入WEB-INF\spring-configuration目录 打开warnCookieGenerator.xml文件 …如何去掉HTTPS认证 说明默认情况下HTTP也是可以访问CAS SERVER的但认证登陆退出等操作均没有任何的效果。所以必须作出下面的修改 1、进入WEB-INF\spring-configuration目录 打开warnCookieGenerator.xml文件 修改p:cookieSecure的值为false 2、打开ticketGrantingTicketCookieGenerator.xml文件 同样修改p:cookieSecure的值为false 3、打开WEB-INF\deployerConfigContext.xml文件 查找org.jasig.cas.authentication.handler.support.HttpBasedServiceCredentialsAuthenticationHandler 把这代码块修改为如下 bean classorg.jasig.cas.authentication.handler.support.HttpBasedServiceCredentialsAuthenticationHandlerp:httpClient-refhttpClient p:requireSecurefalse / p:requireSecurefalse为新添加的 4、客户端filter 所有https://localhost:8443/cas 更改为 http://localhost:8080/cas转载于:https://www.cnblogs.com/cxyj/p/3884746.html