说明:默认情况下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 class="org.jasig.cas.authentication.handler.support.HttpBasedServiceCredentialsAuthenticationHandler" p:httpClient-ref="httpClient" p:requireSecure="false" />

相关文章:

  • 2022-12-23
  • 2021-10-06
  • 2022-12-23
  • 2021-09-04
  • 2021-11-23
  • 2021-04-16
  • 2022-12-23
  • 2022-01-21
猜你喜欢
  • 2022-12-23
  • 2021-11-01
  • 2021-10-23
  • 2021-08-27
  • 2022-12-23
  • 2022-12-23
  • 2021-10-19
相关资源
相似解决方案