自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

我就是我的博客

温故而知新

  • 博客(5)
  • 收藏
  • 关注

原创 SpringSecurity学习笔记三

基于用户名、密码的"记住我"功能SpringBoot 2.2.0.RELEASE <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-security</art...

2019-10-25 23:08:05 550

原创 SpringSecurity学习笔记二

SpringSecurity认证成功、失败处理器原理分析首先需要知道的是,SpringSecurity默认的成功、失败处理器是SavedRequestAwareAuthenticationSuccessHandler和SimpleUrlAuthenticationFailureHandler;正常情况下,请求一个资源,在进入到SpringSecurity的认证中,认证成功才会跳转到待请求的资源...

2019-10-25 17:34:46 554

原创 SpringSecurity学习笔记一

基于SpringSecurity实现基于用户名、密码登录及原理分析SpringSecurity以一系列的过滤器链来进行权限的管理,可以自定义新的filter。Demo实现定义一个用户,只有该用户成功登陆 才能访问接口,否则自动跳转到登录页面@Componentpublic class MyUserDetailsService implements UserDetailsService...

2019-10-25 15:07:42 252

原创 使用springboot发送邮件

springboot版本:2.1.6前置条件:引入mail的依赖<dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-mail</artifactId> &l...

2019-10-09 16:12:10 422

原创 HandlerMapping源码学习

spring framework 5.1.8####问题一:HandlerMapping是什么?objects that define a mapping between requests and handler objects.从HandlerMapping接口的注释来看,它是一个关联请求与处理器的对象。它的作用是根据request找到相应的处理器Handler和Intercepto...

2019-10-09 14:02:01 197

空空如也

空空如也

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

TA关注的人

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