8 Star 148 Fork 51

knightdreams6 / springboot-shiro-jwt

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
README.md 2.33 KB
一键复制 编辑 原始数据 按行查看 历史
knightdreams6 提交于 2024-03-26 23:30 . :memo:update README.md

springboot-shiro-jwt

介绍

基于Springboot,shiro,mybatis-plus等开源框架构建的单体架构项目

接口文档地址:http://localhost:8888/doc.html

新版的shiro默认使用Argon2密码哈希算法

Argon2描述详见:https://argon2-cffi.readthedocs.io/en/stable/argon2.html

项目用到的框架/工具简介与其仓库地址

其它项目

认证流程

flowchart TD
    Subject.login --> SecurityManager.login
    SecurityManager.login --> Authenticator.authenticate
    Authenticator.authenticate --> CustomModularRealmAuthenticator.doMultiRealmAuthentication
    CustomModularRealmAuthenticator.doMultiRealmAuthentication -- 根据AuthenticationToken匹配Realm --> ModularRealmAuthenticator.doSingleRealmAuthentication
    ModularRealmAuthenticator.doSingleRealmAuthentication -- 执行匹配到的realm --> Realm.getAuthenticationInfo
    Realm.getAuthenticationInfo -- 返回AuthenticationInfo --> AuthenticationInfo
    AuthenticationInfo --> DefaultSecurityManager.createSubject
    DefaultSecurityManager.createSubject -- 返回subject --> Subject

使用说明

使用遇到问题可以加QQ群: 加入QQ群

欢迎您进群进行技术交流

如果此项目帮到您的话,欢迎star,您的star就是对我最大的鼓励

可以关注一下我的博客,不定期更新技术文章 https://knightdreams6.github.io/

Java
1
https://gitee.com/knightdreams/springboot-shiro-jwt.git
git@gitee.com:knightdreams/springboot-shiro-jwt.git
knightdreams
springboot-shiro-jwt
springboot-shiro-jwt
master

搜索帮助