Java的OpenId提供者/服务器 [英] OpenId provider/server with Java

查看:109
本文介绍了Java的OpenId提供者/服务器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试使用OpenId服务增强现有的Java Web应用程序,以便登录的用户可以使用我的Web应用程序作为OpenId提供程序来登录另一个启用了OpenId的应用程序.

我的第一个尝试是使用 JOS 作为OpenId提供程序,而后者应依次使用我的应用程序的数据库以获取现有的用户名和密码.但是,当我尝试自定义JOS以使其适合我现有的应用程序时,我找不到任何有关JOS的文档(它甚至没有编译 Update:它仅使用Java 6编译.)

此刻,我正在寻找其他可能的解决方案,但是OpenId提供程序框架似乎很稀缺.

您会推荐什么?使用像JOS这样的成品服务器,还是应该考虑通过使用像openid4java这样的库编写自己的OpenId服务器来增强我的应用程序?

解决方案

我自己还没有尝试过,但是在研究了以下几个示例之后,我的团队开始着手开发JSF + OpenId集成应用程序:

这就是我所知道的全部,希望对您有所帮助.

I'm trying to enhance an existing Java web application with an OpenId service, so that a logged in user can log into another OpenId enabled app using my web application as an OpenId provider.

My first attempt was to use JOS as OpenId provider which should in turn use my app's database to get existing user names and passwords. Nevertheless I could not find any documentation for JOS, when I was trying to customize JOS to make it fit to my existing app (It did not even compileUpdate: It only compiles with Java 6).

At the moment I am searching for other possible solutions, but OpenId provider frameworks seem to be scarce.

What would you recommend? Using a finished server like JOS or should I consider to enhance my application by writing my own OpenId server with libraries like openid4java?

解决方案

I have not tried it myself, but my team started work on a JSF+OpenId integrated application after studying these few examples:

That's all I know about this, I hope it helps.

这篇关于Java的OpenId提供者/服务器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆