码迷,mamicode.com
首页 >  
搜索关键字:oauth2    ( 810个结果
OAuth2.0学习(1-13)OAuth2.0的投票机制和投票器
转载自:https://my.oschina.net/bigyuan/blog/352204 1、三种投票器,默认是 一票制 配置方式 decisionVoters属性 在我们不声明AccessDecisionManager时,decisionVoters属性是自动配置的。 默认的AccessDec ...
分类:其他好文   时间:2017-06-21 16:48:11    阅读次数:150
OAuth2.0学习(4-15)使用token访问业务
http://localhost:8080/spring-oauth-server/m/dashboard?access_token=8194a1d7-2784-4a9e-a71b-25bebfc9ba0e 成功场景!!! 失败场景!!! ...
分类:其他好文   时间:2017-06-21 13:55:44    阅读次数:145
OAuth2.0学习(4-12)spring-oauth-server分析 - 授权码模式验证过程
1、发起授权码请求 2、服务端登录 3、服务端验证client_id,返回authorization_code 4、客户端接收authorization_code后,转发给了 /oauth/token 4、显示access_token和refresh_token ...
分类:编程语言   时间:2017-06-20 09:49:09    阅读次数:234
OAuth2.0学习(4-11)spring-oauth-server分析 - http元素使用的是何种AuthenticationManager?
1、在加载配置文件定义时,判断使用哪个AuthenticationManager 在配置文件Security.xml加载时,首先创建一个ProviderManager,然后 如果配置了默认AuthenauthManager(http的属性authentication-manager-ref),就用默 ...
分类:编程语言   时间:2017-06-20 09:41:37    阅读次数:134
OAuth2.0学习(4-4)关于系统中有多少个 authenticationManager
首先是http的配置,authentication-manager-ref="authenticationManager"指定了默认的authentication-manager<http auto-config="true" authentication-manager-ref="authenti ...
分类:其他好文   时间:2017-06-19 15:13:58    阅读次数:204
spring security oauth2 jwt 认证和资源分离的配置文件(java类配置版)
最近再学习spring security oauth2。下载了官方的例子sparklr2和tonr2进行学习。但是例子里包含的东西太多,不知道最简单最主要的配置有哪些。所以决定自己尝试搭建简单版本的例子。学习的过程中搭建了认证和资源在一个工程的例子,将token存储在数据库的例子等等 。最后做了这个 ...
分类:编程语言   时间:2017-06-18 23:31:40    阅读次数:880
OAuth2.0学习(4-99)Spring Security OAuth2.0 开发指南
1、org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter org.springframework.security.oauth2.provider.client.ClientCre ...
分类:编程语言   时间:2017-06-17 22:35:43    阅读次数:236
OAuth2.0学习(4-1)Spring Security OAuth2.0 - 代码分析
1、org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter org.springframework.security.oauth2.provider.client.ClientCre ...
分类:编程语言   时间:2017-06-17 19:43:00    阅读次数:251
新浪API登录实例
步骤一:添加网站 进入新浪微博开放平台,http://open.weibo.com/apps 进入“管理中心“,点击”创建应用”,选择“网页应用”,填写相应的信息后提交。 步骤二:Oauth2.0授权设置 应用创建完后可以在“管理中心”-“我的应用”中查看信息,在“应用信息”--“高级信息”中可以设 ...
分类:Windows程序   时间:2017-06-17 19:38:56    阅读次数:270
OAuth2.0学习(5-4)新浪开放平台-微博API-使用OAuth2.0调用API
使用OAuth2.0调用API 使用OAuth2.0调用API接口有两种方式: 使用OAuth2.0调用API接口有两种方式: 1、 直接使用参数,传递参数名为 access_token 1、 直接使用参数,传递参数名为 access_token URL 1 https://api.weibo.co ...
分类:Windows程序   时间:2017-06-16 23:14:37    阅读次数:1110
810条   上一页 1 ... 42 43 44 45 46 ... 81 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!