[英]Adding user authentication in java web app
I need to authenticate the users who visit my java based web app (Servlets and JSP) using different social media like facebook, twitter, google and yahoo. I need to authenticate the users who visit my java based web app (Servlets and JSP) using different social media like facebook, twitter, google and yahoo.
Is there any open source library which solves this problem?有没有解决这个问题的开源库? Instead of working on different API's an open source java library would be helpful.
与其使用不同的 API,开源 java 库会有所帮助。
The guys from SpringSource have a library doing what you ask for, called Spring Social . SpringSource 的人有一个库,可以满足您的要求,称为Spring Social 。 The linked blog article explains what it does with some nice examples.
链接的博客文章用一些很好的例子解释了它的作用。 But the project is still in beta (even though the quality of their deliverables has always been rock solid).
但该项目仍处于测试阶段(尽管其可交付成果的质量一直坚如磐石)。
Take a look at openid4java .看看openid4java 。
This library allows you to OpenID-enable your Java webapp.
该库允许您为您的 Java webapp 启用 OpenID。
You can use Open ID with openid4java .您可以将Open ID与openid4java一起使用。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.