场景:
配置jasig cas和spring security的,注销功能。tomcat报如下错误
The error indicates the the CAS server is trying to post the single sign out request to itself, localhost, rather than to the service.
原因:
注销的请求要重定向到cas serve,而不是本地application
解决:
配置SignalLogoutFilter,让注销重定向到cas server.