当我尝试SAML注销时,我收到以下错误
org.opensaml.saml2.metadata.provider.MetadataProviderException:IDP不包含任何SingleLogout端点 org.springframework.security.saml.util.SAMLUtil.getLogoutBinding(SAMLUtil.java:104) org.springframework.security.saml.websso.SingleLogoutProfileImpl.sendLogoutRequest(SingleLogoutProfileImpl.java:74) org.springframework.security.saml.SAMLLogoutFilter.processLogout(SAMLLogoutFilter.java:138) org.springframework.security.saml.SAMLLogoutFilter.doFilter(SAMLLogoutFilter.java:103) org.springframework.security.web.FilterChainProxy $ VirtualFilterChain.doFilter(FilterChainProxy.java:342)org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java
我正在使用Spring SAML集成
任何人都可以告诉我这个错误的原因。 saml过滤器在spring xml中设置
<bean id="samlLogoutFilter" class="org.springframework.security.saml.SAMLLogoutFilter">
和
<bean id="samlLogoutProcessingFilter" class="org.springframework.security.saml.SAMLLogoutProcessingFilter">
<constructor-arg ref="successLogoutHandler"/>
<constructor-arg ref="logoutHandler"/>
</bean>
已定义
答案 0 :(得分:2)
看起来你要连接的idp不支持单一注销。错误消息显示,idp的元数据并非宣传单一退出支持。