简体   繁体   English

Spring-如何使用SAML 2.0实现单点登录

[英]Spring - How to implement Single Sign-On with SAML 2.0

How is SSO with SAML 2.0 typically implemented for a Spring MVC application? Spring MVC应用程序通常如何实现带有SAML 2.0的SSO?

My application is required to implement SSO so the users can log in without creating a new account with my application. 我的应用程序是实现SSO所必需的,因此用户无需使用我的应用程序创建新帐户即可登录。

My understanding is that, and correct me if I'm wrong, I need a Service Provider to communicate with the Identity Provider the third party uses in order to exchange the metadata. 我的理解是,如果我错了,请纠正我,我需要服务提供商与第三方使用的身份提供商进行通信以交换元数据。 But how do I go about to achieve this process? 但是我该如何实现这一过程呢?

Also, what is required on the Spring MVC application side? 另外,Spring MVC应用程序方面需要什么?

Thanks in advance :D 提前致谢

https://github.com/spring-projects/spring-security-saml implements the SAML SP and integrates into the web app via servlet filters. https://github.com/spring-projects/spring-security-saml实施SAML SP并通过servlet过滤器集成到Web应用程序中。 For SAMLv2 SSO overview look at http://www.oasis-open.org/committees/download.php/27819/sstc-saml-tech-overview-2.0-cd-02.pdf 有关SAMLv2 SSO概述, 请参见http://www.oasis-open.org/committees/download.php/27819/sstc-saml-tech-overview-2.0-cd-02.pdf

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM