博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
使用spring security实现oauth安全认证
阅读量:2357 次
发布时间:2019-05-10

本文共 1817 字,大约阅读时间需要 6 分钟。

http://spring-security-oauth.codehaus.org/tutorial.html

针对oauth主要有两种类型的app:

oauth provider

oauth consumer

Introduction

There's a good getting started guide that illustrates OAuth by describing two different (but related) services. One is a photo-sharing application. The other is a photo-printing application. In OAuth terms, the photo sharing application is the OAuthprovider and the photo printing application is the OAuth consumer.
For this tutorial, we will see OAuth for Spring Security in action by deploying a photo-sharing application and a photo-printing application on our local machine. We'll name the photo-sharing application "Sparklr" and the photo-printing application "Tonr". A user named "Marissa" (who has an account at both Sparkr and Tonr) will use Tonr to access her photos on Sparklr without ever giving Tonr her credentials to Sparklr.

这里说的是:

  两个不同而相关的services,一个是相片分享应用

Sparklr,另外一个是相片打印应用Tonr 。

  在Oath词汇中,第一个是作为OAth provider, 第二个是作为Oauth consumer.

  一个用户Marissa在Sparklr和Tonr里面都有一个账户,将会使用Tonr去访问Sparklr中的相片,甚至不用把在Sparklr的账户密码信息告诉Tonr.(这句话有点疑问?)

Introduction
There's a good getting started guide that illustrates OAuth by describing two different (but related) services. One is a photo-sharing application. The other is a photo-printing application. In OAuth terms, the photo sharing application is the OAuthprovider and the photo printing application is the OAuth consumer.
For this tutorial, we will see OAuth for Spring Security in action by deploying a photo-sharing application and a photo-printing application on our local machine. We'll name the photo-sharing application "Sparklr" and the photo-printing application "Tonr". A user named "Marissa" (who has an account at both Sparkr and Tonr) will use Tonr to access her photos on Sparklr without ever giving Tonr her credentials to Sparklr.

转载地址:http://aajtb.baihongyu.com/

你可能感兴趣的文章
CSS实现居中的7种方法
查看>>
input /button链接方法
查看>>
项目管理学习笔记之八风险管理过程总结
查看>>
Fragment 增加高德地图的 com.amap.api.maps.SupportMapFragment
查看>>
《你的投资机会在哪里》
查看>>
Objective-C #pragma mark 详解
查看>>
Object-C 单例模式
查看>>
iOS Pch文件 详解
查看>>
Objective-C 获取控件 详解
查看>>
Objective-C 事件处理 详解
查看>>
IOS UIView 详解
查看>>
IOS 成员变量,属性变量,局部变量,实例变量,全局变量 详解
查看>>
Android ADB 详解
查看>>
GitHub 出现 POST git-receive-pack (chunked) 解决方案详解
查看>>
iOS SQLCipher SQLite加密 详解
查看>>
Android Studio Freeline插件详解
查看>>
SourceTree冲突解决详解
查看>>
iOS CocoaPods 详解
查看>>
Object-C Block详解
查看>>
iOS AFNetworking 以及 Cookie 详解
查看>>