springsecurity+cas整合后登出问题。

iechenyb_ 2018-08-30 10:59:31
cas服务器通知单点登录客户端系统时,登出的地址无法回调,因为在客户端系统里边有权限控制。
...全文
877 2 打赏 收藏 转发到动态 举报
AI 作业
写回复
用AI写文章
2 条回复
切换为时间正序
请发表友善的回复…
发表回复
iechenyb_ 2018-08-30
  • 打赏
  • 举报
回复
客户端接收到登出请求处理结果:
DEBUG 2018-08-30 11:01:16,971 com.cyb.security.FilterSecurityInterceptor.http-nio-8088-exec-9 Public object - authentication not attempted
服务端通知登出执行结果:
2018-08-30 10:59:05,415 WARN [org.jasig.cas.util.SimpleHttpClient] - <Error Sending message to url endpoint [http://localhost:8088/springsecurity3/welcome.html]. Error is [http://localhost:8088/springsecurity3/welcome.html]>
iechenyb_ 2018-08-30
  • 打赏
  • 举报
回复
已经解决
原因:casserver 部署在了108.224上 ,springsecurity3应用部署在了16.211上并且启动时是用localhost启动的,所以casserver在调用登出地址的时候写的是http://localhost:8088/springsecurity3/welcome.html肯定是不行的,因为springsecuriy3没有在108.224上,请求无法到达,不是因为springsecurity的访问权限限制导致的。

5,657

社区成员

发帖
与我相关
我的任务
社区描述
Web开发应用服务器相关讨论专区
社区管理员
  • 应用服务器社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧