【发布时间】:2015-07-03 04:09:48
【问题描述】:
是否可以在 Spring SAML 中更改目标端点?默认值为 /saml/SSO
我需要将其更改为 /sso。 我已经编辑了
<bean id="samlFilter" class="org.springframework.security.web.FilterChainProxy">
<security:filter-chain pattern="/sso" filters="samlWebSSOProcessingFilter"/>
但它不起作用。 URL*/sso* 被视为需要身份验证的 URL,而不是应该接收 SAML 断言的 URL。
我正在使用身份提供程序初始化的 SSO,因此该 URL 是接收 base64 编码的 XML 文档(HTTP 发布请求)的那个。
如果没有其他选择,我会从 /sso 到 saml/SSO 进行服务器端重定向,但最好有自定义的能力Spring Saml 配置中的 URL。
【问题讨论】:
标签: java spring saml-2.0 spring-saml