CAS的大坑你跳过吗?
2018-08-30 10:59:05,415 WARN [org.jasig.cas.util.SimpleHttpClient] -
错误信息:2019-08-13 18:32:32,687 WARN [org.jasig.cas.util.SimpleHttpClient] -
Common connection failures of this kind are caused by firewall
2019-08-14 20:22:15,886 WARN [org.jasig.cas.util.SimpleHttpClient] -
2019-08-14 20:22:15,886 WARN [org.jasig.cas.util.SimpleHttpClient] -
2019-08-14 20:22:15,888 WARN [org.jasig.cas.util.SimpleHttpClient] -
2019-08-14 20:22:15,887 WARN [org.jasig.cas.util.SimpleHttpClient] -
最后看了cas源码,发现退出的时候cas在获取所有已经登录的客户端的地址,然后判断这些地址是否有效,如果登录的地址为域名的类型会直接跳过,所以我们在客户端配置cas的时候要把域名换成ip地址。就是比如在本地访问项目时localhost,但是在配置cas是不能写localhost,而要替换成127.0.0.1
原文:https://blog.csdn.net/qq_34332207/article/details/84194126
I suspect the reason is the CAS server couldn't send a sign-out message tolocalhost:8080becauselocalhostis resolved in theCASserver's context, so it doesn't actually talk to my local dev environment.
原文:
https://stackoverflow.com/questions/6125527/jasig-cas-single-sign-out-not-working
seller的用户密码从这里查询: