Spring-Boot-Shiro icon indicating copy to clipboard operation
Spring-Boot-Shiro copied to clipboard

Shiro基于SpringBoot +JWT搭建简单的restful服务

Results 7 Spring-Boot-Shiro issues
Sort by recently updated
recently updated
newest added

Bumps [spring-boot-starter-web](https://github.com/spring-projects/spring-boot) from 1.5.8.RELEASE to 2.5.12. Release notes Sourced from spring-boot-starter-web's releases. v2.5.12 :lady_beetle: Bug Fixes MustacheAutoConfiguration in a Servlet web application fails with a ClassNotFoundException when Spring MVC is...

dependencies

Bumps shiro-spring from 1.3.2 to 1.7.1. [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=org.apache.shiro:shiro-spring&package-manager=maven&previous-version=1.3.2&new-version=1.7.1)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a...

dependencies

我是去了Udemy看了別人課程security+jwt 再來這邊造訪 因為剛好再需要整合多一層 shiro 也很感謝大大願意分享你的編寫思路 並略為修改了大大的JWTUtil部份 將 jwtSecret 取代為密碼 並保存在 Spring resources application 並再加入多一次驗證 username是否與token內的username一樣 而jwtExpirationInMs 也是保存在Spring resources application 方便後續修改 public static boolean verify(String token, String username) { try {...

Hi, In **Spring-Boot-Shiro**,there is a dependency **org.apache.shiro:shiro-web:1.3.2** that calls the risk method. [CVE-2020-11989](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-11989) The scope of this CVE affected version is **[,1.6.0)** After further analysis, in this project, the main...

1.何时给前端返回新的token,如果五分钟未交互就要重新登陆,用户体验会不会有点瘸 2.生成新的token或者用户注销登录以后,旧的未过期的token怎么办,虽然想不到有什么隐患,但总感觉不安稳

通过URL方式配置,敏感资源如果没有携带TOKEN,是不是就能访问了呢? 因为isAccessAllowed方法没有携带则直接通过了 或者说,这种方式只适用于注解的形式?URL配置只是为了拦截并转发到JWTFilter处理。

更换后的 shiro 依赖树 ``` xml org.apache.shiro shiro-core jakarta org.apache.shiro shiro-web jakarta org.apache.shiro shiro-spring-boot-web-starter jakarta org.apache.shiro shiro-spring-boot-starter jakarta org.apache.shiro shiro-spring jakarta org.apache.shiro shiro-bom 2.0.0 import pom ``` shiro 的官方通告 [Ongoing work...