CAS单点登出不起作用
我在Apache Tomcat上安装了CAS服务器(v3.5.2),在JBOSS上安装了2个客户端。 除非单点退出,否则一切正常。
我想我所做的一切都很好,但仍然存在这个问题。
我的配置服务器端:在WEB-INF \ deployerConfigContext.xml中:
客户端配置:在web.xml中:
CAS Single Sign Out Filter org.jasig.cas.client.session.SingleSignOutFilter artifactParameterName SAMLart CAS Single Sign Out Filter /* REQUEST FORWARD org.jasig.cas.client.session.SingleSignOutHttpSessionListener CAS Authentication Filter org.jasig.cas.client.authentication.AuthenticationFilter casServerLoginUrl http://localhost:8888/cas-server-webapp-3.5.2/login service http://localhost:8080/firstCasClient CAS Validation Filter org.jasig.cas.client.validation.Saml11TicketValidationFilter casServerUrlPrefix http://localhost:8888/cas-server-webapp-3.5.2 service http://localhost:8080/firstCasClient CAS HttpServletRequest Wrapper Filter org.jasig.cas.client.util.HttpServletRequestWrapperFilter CAS Assertion Thread Local Filter org.jasig.cas.client.util.AssertionThreadLocalFilter CAS Authentication Filter /* REQUEST FORWARD CAS HttpServletRequest Wrapper Filter /* REQUEST FORWARD CAS Validation Filter /* REQUEST FORWARD CAS Assertion Thread Local Filter /* REQUEST FORWARD
无论如何,我希望有人会发现什么是错的
在argumentExtractorsConfiguration.xml文件中确保casArgumentExtractor bean将disableSingleSignOut属性设置为false。 如果您看到以下内容:
查看cas.properties并确保slo.callbacks.disabled未设置为true。 ${slo.callbacks.disabled:false}
表示查找该属性,如果未找到,则将其默认为false。