`
izuoyan
  • 浏览: 8938955 次
  • 性别: Icon_minigender_1
  • 来自: 上海
社区版块
存档分类
最新评论

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 only48KBincluding both source & binary. You can download fromhttp://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.
分享到:
评论

相关推荐

    CakePHP 1.3 Application Development Cookbook.pdf

    Finally, the last recipe shows us how to integrate our application with OpenID. Chapter 2, Model Bindings: This chapter deals with one of the most important aspects of a CakePHP application: the ...

    Enterprise Application Architecture with .NET Core

    Enterprise Application ...Filled with examples and use cases, this guide takes a no-nonsense approach to show you the best tools and techniques required to become a successful software architect.

    DotNetOpenAuth

    Easy access to all the functionality so you can customize how OpenID will operate on your site, whether you use ASP.NET or not. Classic ASP support Full support for custom extensions. Plus built-in ...

    OpenID的Java客户端 JOpenID_OpenID_java_

    java OpenID 的 Java客户端 JOpenID.

    C#获取openid(详解)

    本代码作用于前后端分离获取微信openId,调用说明:在api中新建一个Default.aspx页面,复制文件中代码到页面中,修改appid,key,webAddr值。部署api;前端跳转url:api地址+“/efault.aspx?reurl="+前端页面地址;如果...

    openID sample server

    sample openID

    PHP获取微信公众号用户的Openid

    PHP如何获得Openid,微信公众号通过appid和appsecret获取Openid,该类实现了从微信公众平台获取code、通过code获取openid和access_token、

    3scale-security-oidc-demo:使用3scale API管理和Red Hat Single Sign On通过OpenID Connect保护API

    使用3scale API管理和Red Hat Single Sign On演示使用OpenID Connect保护API的安全性是一个多产品演示,展示了如何使用Red Hat 3scale API Management和Red Hat Single Sign On来发展API的安全性。 产品与项目 ...

    java微信获取OpenId

    微信开发获取openId

    实现对OPENID的支持

    现在openid正在兴起,这个可以让你的网站也支持openid

    drupal 6.12

    For detailed information on how to configure a test server environment using a variety of operating systems and web servers, see "Local server setup" (http://drupal.org/node/157602) in the Drupal ...

    微信获取用户openid

    微信获取用户openid,微信获取code,直接载入类,跳转后就可获取到用户的openid

    OpenID简介及与struts2_spring_hibernate框架集成

    OpenID 是一个以用户为中心的数字身份识别框架,它具有开放、分散、自由等特性。 OpenID 的创建基于这样一个概念:我们可以通过 URI (又叫 URL 或网站地址)来认证一个网站的唯一身份,同理,我们也可以通过这种...

    php-微信公众号联合登录&微信小程序获取openid&头条获取openid

    php-微信公众号联合登录&微信小程序获取openid&头条获取openid,遇到问题可以@我

    openid:Opauth的OpenID策略

    Opauth-OpenID OpenID的策略。 Opauth是用于PHP的多提供商身份验证框架。入门安装Opauth-OpenID: cd path_to_opauth/Strategygit clone git://github.com/opauth/openid.git OpenID 或者 composer require opauth/...

    php-openid-2.1.3

    OpenID是帮助你使用相同的用户名和口令登录不同的网站的一种解决方案。如果你对OpenID不熟悉的话,你可以到这里看看:http://openid.net.cn/

    openid资料大全

    openid资料大全,自己学习openid用到的资料,基本上都在这

    OpenId与OAuth协议详解

    OpenID是一个开放式标准,它主要描述了在用户在分布式系统的认证方式以及提供了一套额外的服务系统允许用户方便使用特定的数字身份。 OAuth协议最初的出现是为了解决不同网站和其他互联网服务商访问受保护的资源这个...

    微信公众号获取openid

    两种方式获取微信用户openid,有图文介绍,代码是全的,可以直接拿来用

Global site tag (gtag.js) - Google Analytics