1. 程式人生 > >【cas、spring-security】The error indicates the the CAS server is trying to post the single sign out re

【cas、spring-security】The error indicates the the CAS server is trying to post the single sign out re

場景:

配置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.