【发布时间】:2020-12-27 09:24:30
【问题描述】:
我正在使用 Spring Boot v2.3.3。
我正在尝试通过使用 v5.2 中添加到 spring 的 saml 支持向我的应用程序添加 SSO 支持:(https://docs.spring.io/spring-security/site/docs/5.2.1.RELEASE/reference/htmlsingle/#saml2)
我对 Spring 和 SAML 还很陌生,虽然该参考页面提到当前功能集“支持加密的 NameId 元素”,但我不确定如何配置应用程序以添加名称 ID 格式,或者如何发送身份提供者的名称 ID。
我在此处复制了 Spring Boot 示例应用程序 (https://github.com/spring-projects/spring-security/tree/5.3.x/samples/boot/saml2login),但我的 IDP 说他们也需要 nameID。
任何帮助理解我需要添加的内容将不胜感激。
【问题讨论】:
标签: spring spring-boot spring-security saml-2.0 spring-saml