How to use OpenID to sign on with Google account

近期,Google宣布支持OpenID,允许网站通过用户的Google账号进行登录,无需额外注册。针对此需求,一位开发者自行开发了一款名为JOpenID的轻量级Java库,该库体积小巧仅48KB,支持OpenID 2.0规范,并已通过Google账号进行了全面测试。

Recently Google announced its support for OpenID, called "Federated Login", to let any site enable their users to sign on by their Google accounts, without registrations.

This is really a good news, and for Java developers they can write some code to make the 3rd-part site to connect to Google. There are already lots of libaries that can be used in J2EE. However, after I do some evaluation of these libaries, I do not find a suitable libary. The well-known " OpenID4Java", is too large (46MB!), with dependencies on many other libaries. So I decided to write a small, but very lightweight libary to support OpenID 2.0 spec, called " JOpenID".
It is very small, with only48KBincluding both source & binary. You can download from http://code.google.com/p/jopenid/downloads/list.
It has been fully tested based on Google accounts. However, I think it also can support Yahoo! OpenID, but with little information provided by Yahoo! I do not test yet.
评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
红包 添加红包
表情包 插入表情
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值