how to implement sso in my spring application using saml?

廉价感情. 提交于 2019-12-13 04:15:18

问题


I am looking for saml integration with spring application. I have read some of documents but mostly all are based on spring boot application. Can someone help me to integrate saml in spring application for sso Or suggest the good document guide for the same.

Thanks in advance.


回答1:


You should be able to take advantage of the Spring Security SAML project:

https://github.com/spring-projects/spring-security-saml

There is a sample project in the repository that demonstrates how one may be able to use the library. It's located here:

https://github.com/spring-projects/spring-security-saml/tree/master/sample

Note that the current official release of this extension builds against OpenSAML v2, and there is a develop branch that is in the process of updating to OpenSAML v3. You are welcome to try and see how that might work for you.

There is also the pac4j project which likewise, allows you build SAML2 SP support into your app and integrate with an identity provider:

http://www.pac4j.org/3.6.x/docs/clients/saml.html



来源:https://stackoverflow.com/questions/54899598/how-to-implement-sso-in-my-spring-application-using-saml

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!