hblolj

个人博客

[Security] 自定义手机号/短信登录

距离上一次更新,不知不觉已经过去了半个月了,人真的是不能放松,一放松就肆意妄为了。希望这个月内可以把 SpringSecurity 系列更新完毕吧,加油!。( 这里是将我之前在其他博客上的文章搬运到自建的博客上,所以时间上会有点差异,具体时间以代码上时间为准。) OK,言归正传上一章我们利用 SpringSecurity 提供的一些可选配置,实现了自定义表单登录。但是在我们的日常需求中,仅仅......

[Security] 自定义表单登录

在上一篇文章的结尾,我们列入了默认使用 SpringSecurity 一些待优化和解决的问题,我们再来回顾一下 用户登录不可能以这种弹框形式去登录,一般网页都有自己的登录页面(自定义登录页面) 用户名、密码应该是从数据库中读取,而不是默认和随机的(自定义认证逻辑) 并不是对所有的资源或接口都需要认证(设置资源白名单) 认证成功或者失败的处理,比如登录成功可以做一些记录,失败做一些处理 本......

[Security] 快速入门

Spring 官网对 SpringSecurity 的简介 Spring Security is a powerful and highly customizable authentication and access-control framework. It is the de-facto standard for securing Spring-based applications.......

[Security] OAuth2

官方资料置顶,本篇文章主要结合官方资料与自己的使用经验对 OAuth2 协议做一个简单的记录。 部分翻译解释可能存在问题,如果发现了,欢迎及时在评论区向博主反馈。 官网 OAuth2 协议官方 pdf What is OAuth2 ? An open protocol to allow secure authorization in a simple and standard method ......

[Hexo] Theme BeanTech

This is hexo theme Demo.

Ported Theme of Hux Blog, Thank Huxpro for designing such a flawless theme. This BeanTech theme created by YuHsuan modified from the original Porter Kaijun Live Demo Usage I publish the whole ......