用户操作
[留言]  [发消息]  [加为好友] 
订阅我的博客
XML聚合    FeedSky
订阅到鲜果
订阅到Google
订阅到抓虾
asklxf的公告
<br/> <div style='font-size:1.1em'> 我的博客已正式迁至:<br> <a href="http://www.liaoxuefeng.com">www.liaoxuefeng.com</a><br> 请访问新地址并从首页添加订阅,谢谢!<br> CSDN博客不保证实时更新。<br>&nbsp;<br> </div> <script language="javascript" src="http://www.shi-ci.com/embeded.do"></script> <hr size='1' width='100%'> <br/> <font size='+1'>新书上市:《<a href='http://www.livebookstore.net' target='_blank'><b>Spring 2.0核心技术与最佳实践</b></a>》!<br> 查看<a href='http://www.livebookstore.net/table.html' target='_blank'><b>目录</b></a><br>访问<a href='http://www.javaeedev.com/' target='_blank'><b>JavaEE开发网</b></a></font> <a href='http://www.livebookstore.net/' target='_blank'><img src='http://p.blog.csdn.net/images/p_blog_csdn_net/asklxf/15633/o_hot2.gif' border='0' width='160' height='263'></a> <hr size='1' width='100%'> <br/> <hr size='1' width='100%'> <b>自我介绍</b><br> <a href="mailto:asklxf@163.com">Xuefeng</a>,<a href="http://www.bupt.edu.cn" target="_blank">北京邮电大学</a>本科毕业,精通J2EE/J2ME,<a href="http://www.javasprite.com/" target="_blank">欢迎交流</a>!<br><br> <script type="text/javascript"><!-- google_ad_client = "pub-6727358730461554"; google_alternate_ad_url = "http://www.crackj2ee.com/ad_banner/banner.htm"; google_ad_width = 120; google_ad_height = 240; google_ad_format = "120x240_as"; google_ad_type = "text_image"; google_ad_channel =""; //--></script> <script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"> </script> <script src="http://www.google-analytics.com/urchin.js" type="text/javascript"> </script> <script type="text/javascript"> _uacct = "UA-251595-2"; urchinTracker(); </script>
文章分类
Java站点
JavaEE开发网(RSS)
Live在线书店
中华诗词
存档

原创  How to use OpenID to sign on with Google account 收藏

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 only 48KB including 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.

发表于 @ 2009年02月19日 10:11:00 | 评论( loading... ) | 编辑| 举报| 收藏

旧一篇:经济危机时代,如何管理好自己的财富? | 新一篇:还需要编写DAO代码吗?SQL+接口就足够了!(Part 1)

  • 发表评论
  • 评论内容:
  •  
Copyright © asklxf
Powered by CSDN Blog