自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(19)
  • 资源 (2)
  • 收藏
  • 关注

转载 springsecurity学习整理

本文转载于:https://blog.csdn.net/qq_37771475/article/details/86153799,以下为自己的理解整理springsecurity中有三个重要的配置类需要我们自己去继承实现:一、WebSecurityConfigurerAdapter:1、在这个类中,void configure(HttpSecurity http)方法,我们可以配置web资源的访问规则(比如放行路径、需认证路径、包括角色访问权限配置、修改登录退出页面等功能),可配置如何通过拦截器保..

2020-05-28 19:57:11 140

原创 springsecurity+oauth2.0基础知识学习

https://blog.csdn.net/qq_37771475/article/details/86153799 springsecurity基础知识https://www.cnblogs.com/linianhui/p/oauth2-authorization.html#auto-id-0 oauth2.0基础知识

2020-05-28 19:15:17 209

原创 oauth2.0授权码模式原理图文理解

https://www.jmsite.cn/blog-685.html 文字描述并且附带参数。

2020-05-28 09:16:29 411

转载 springsecurity+oauth2实现demo

https://www.cnblogs.com/hellxz/p/oauth2_oauthcode_pattern.html https://www.cnblogs.com/tqlin/p/11358470.html

2020-05-26 17:22:34 247

原创 oauth2认证模式原理梳理

授权码模式:https://blog.csdn.net/qq_33542154/article/details/89851150?utm_medium=distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-2.nonecase&depth_1-utm_source=distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-2.none

2020-05-26 16:20:47 283

原创 springsecurity+oauth2安全管理

https://www.cnblogs.com/tqlin/p/11358470.html Spring Boot Security Oauth2之客户端模式及密码模式实现

2020-05-26 09:12:21 126

原创 外部SDK-API接口设计开发

https://blog.csdn.net/hewei_bj/article/details/80626889

2020-05-23 16:43:55 615

原创 @RefreshScope与@ConfigurationProperties

@RefreshScope注解https://www.jianshu.com/p/188013dd3d02@RefreshScope(org.springframework.cloud.context.scope.refresh)是spring cloud提供的一种特殊的scope实现,用来实现配置、实例热加载。@ConfigurationPropertieshttps://www.jianshu.com/p/7f75936b573b根据 Spring Boot 宽松的绑定规则,类的属.

2020-05-21 18:04:42 2228

转载 Spring Boot缓存注解@Cacheable、@CacheEvict、@CachePut使用

https://blog.csdn.net/dreamhai/article/details/80642010

2020-05-21 17:30:07 277

原创 动态代理AOP

https://blog.csdn.net/qq_32532321/article/details/81874990 java动态代理 :JDK与CGLIB两种代理方式https://blog.csdn.net/flyfeifei66/article/details/81481222?utm_medium=distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-1.nonecase&depth...

2020-05-21 17:14:24 74

转载 Oauth支持的5类 grant_type

Oauth支持的5类 grant_type 及说明authorization_code — 授权码模式(即先登录获取code,再获取token)password — 密码模式(将用户名,密码传过去,直接获取token)client_credentials — 客户端模式(无用户,用户向客户端注册,然后客户端以自己的名义向’服务端’获取资源)implicit — 简化模式(在redirect_uri 的Hash传递token; Auth客户端运行在浏览器中,如JS,Flash)refresh_tok

2020-05-19 18:53:57 2716

原创 访问令牌与刷新令牌

没有刷新令牌使用访问令牌发送API请求 如果访问令牌无效,则失败并要求用户重新进行身份验证使用刷新令牌使用访问令牌发送API请求 如果访问令牌无效,请尝试使用刷新令牌更新它 如果刷新请求通过,则更新访问令牌并重新发送初始API请求 如果刷新请求失败,请要求用户重新进行身份验证令牌被攻击后客户端缓存用户名和密码,容易受到黑客攻击,如果使用了token机制,就算黑客盗取了用户的access_token与refresh_token,只需重新登录,就可令原来的token失效。 如果访问令牌

2020-05-19 18:47:36 2662

原创 Bearer Token 了解

一种令牌类型。Oauth2.0的官网有说明(OAuth 2.0 Bearer Token Usage)RFC6749RFC6750Bearer Type Access Token:BEARER类型的token是在RFC6750中定义的一种token类型,OAuth2.0协议RFC6749对其也有所提及,算是对RFC6749的一个补充。BEARER类型token是建立在HTTP/1.1版本之上的token类型,需要TLS(Transport Layer Security)提供...

2020-05-19 18:23:09 9754

原创 blade调研

nacoshttp://127.0.0.1:8848/nacos/index.html#/serviceManagement?serverId=center&group=&dataId=&namespace=&appName=https://nacos.io/zh-cn/docs/quick-start.htmlhttps://github.com/alibaba/spring-cloud-alibaba/wiki/%E7%89%88%E6%9C%AC%E8%AF%B4

2020-05-18 18:14:08 131

原创 springbladex调研

https://www.kancloud.cn/smallchill/blade/913213 指导手册https://www.jianshu.com/p/d1d3053c53b4 springcloud整合nacos、sentinal、springcloud-gateway,springboot security、oauth2总结

2020-05-15 17:36:40 1799

原创 spring gateway实现服务认证转发搭建部署

一、spring-cloud父项目与spring-cloud-eureka子项目的简单部署与搭建https://blog.csdn.net/baidu_37832943/article/details/96134113二、spring-gateway的部署与搭建

2020-05-13 16:30:19 996

原创 spring gateway

https://blog.csdn.net/github_35976996/article/details/95170542 Spring Cloud Gateway + JWT 实现统一的认证授权https://blog.csdn.net/qq_15273441/article/details/97939084https://www.v2ex.com/t/651876https://www.cnblogs.com/wgslucky/p/11962884.htmlhttps://blo...

2020-05-09 14:00:58 163

转载 为什么使用token?session与token的区别;cookies/session/token介绍

https://blog.csdn.net/sinat_34191046/article/details/88740880

2020-05-07 17:46:47 229

转载 使用SpringBoot的@Async实现异步调用方法,以及自己开启新线程异步调用;线程池学习

https://blog.csdn.net/zzzgd_666/article/details/82658832

2020-05-07 10:50:30 488

Java编码规范.docx

java编码规范

2019-07-29

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除