yidao620c / comments

用来存储用户评论
MIT License
1 stars 0 forks source link

SpringBoot系列 - 集成JWT实现接口权限认证 | 飞污熊博客 #644

Open yidao620c opened 1 year ago

yidao620c commented 1 year ago

https://www.xncoding.com/java/springboot/sb-jwt.html

一般来讲,对于RESTful API都会有认证(Authentication)和授权(Authorization)过程,保证API的安全性。 Authentication指的是确定这个用户的身份,Authorization是确定该用户拥有什么操作权限。 认证方式一般有三种 Basic Authentication 这种方式是直接将用户名和密码放到Header中,使用Authorization: B