面向java web应用程序的openid-------外文翻译.doc

约31页DOC格式手机打开展开

面向java web应用程序的openid-------外文翻译,openid for java web applicationssummary:openid is a decentralized authentication protocol that makes it easier for users to access resources in your java™...
编号:10-256500大小:143.00K
分类: 论文>外文翻译

内容介绍

此文档由会员 wanli1988go 发布

OpenID for Java Web applications
Summary: OpenID is a decentralized authentication protocol that makes it easier for users to access resources in your Java™ Web applications. In this first half of a two-part article, you'll learn about the OpenID Authentication Specification and walk through the steps of incorporating it into a sample Java application. Rather than implement the OpenID Authentication specification by hand, author J. Steven Perry uses the openid4java library and a popular OpenID provider, myOpenID, to create a safe and reliable registration process for a Java application written in Wicket.

Tags for this article: authentication, java, openid, openid4java, sign-on, single, steve_perry, webs
OpenID is a decentralized authentication mechanism. Using OpenID, I can prove I own a URI such as http://openid.jstevenperry.com/steve, and I can use that identity to authenticate myself with any site that supports OpenID — such as Google, Slashdot, or Wordpress. Clearly, Open ID is great for end users. But using it got me to thinking: "What about using OpenID to create a standard, reliable authentication system for the Java-based Web applications I write for my customers?"
In this two-part article I will show you how to use the openid4java library and a well-known OpenID provider, myOpenID, to create an authentication system for a Java-based Web application. I'll also show you how to receive user information with an OpenID Simple Registration Extension (SReg).


面向Java Web应用程序的OpenID
简介:OpenID 是一个分散式身份识别协议,能使用户更易于访问 Java™ Web 应用程序中的资源。 在由两部分组成的文章的第 1 部分中,您将了解 OpenID 验证规范 以及在 Java 示例应用程序中加入该规范的步骤。作者 J. Steven Perry 没有手动实现 OpenID 验证规范,而是使用 openid4java 库和一个流行的 OpenID 提供者 myOpenID,为 Wicket 中编写的 Java 应用程序创建安全可靠的注册过程。

关键字:鉴定,Java,openid,openid4java, 雇佣,单一的,steve_perry,网络
OpenID 是一套分散式身份验证系统。通过 OpenID 我可以证明自己拥有类似 http://openid.jstevenperry.com/steve 这样的 URL,而且可以使用经验证的身份登录任何支持 OpenID 的站点 — 比如 Google、Slashdot 或 Wordpress。OpenID 对终端用户来说无疑是个不错的工具。但是对 OpenID 的使用引发我产生这样的想法:“如果使用 OpenID 为我给客户编写的基于 Java 的 Web 应用程序创建标准可靠的身份识别系统,会怎么样呢?”
在这个由两部分组成的文章中,我将向您展示如何使用 openid4java 库和知名的 OpenID 提供者 myOpenID 为基于 Java 的 Web 应用程序创建身份验证系统。还将向您展示如何使用一个 OpenID 简单注册扩展(Simple Registration Extension)(SReg)接收用户信息。
首先我将解释什么是 OpenID 并说明如何获得自己的 OpenID。接下来,简短地介绍 OpenID 身份验证的运作方式。最后,概述使用 openid4java 执行 OpenID 身份验证所需的步骤。在本文第 2 部分,您将了解如何创建自己的 OpenID 提供者。