From d82679c71f67b457f67e87bfd8081c539b4fff08 Mon Sep 17 00:00:00 2001 From: JEECG <445654970@qq.com> Date: Wed, 1 Jul 2026 20:50:30 +0800 Subject: [PATCH] =?UTF-8?q?--author:scott--date:20260701--for:=E5=8D=87?= =?UTF-8?q?=E7=BA=A7shiro.version=E5=88=B03.0.0=EF=BC=8Cshiro-redis?= =?UTF-8?q?=E5=88=87=E6=8D=A2=E5=88=B0io.github.weir2010:4.1.0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- jeecg-boot/jeecg-boot-base-core/pom.xml | 49 +++++-------------- .../org/jeecg/config/shiro/ShiroConfig.java | 3 +- jeecg-boot/pom.xml | 6 +-- 3 files changed, 16 insertions(+), 42 deletions(-) diff --git a/jeecg-boot/jeecg-boot-base-core/pom.xml b/jeecg-boot/jeecg-boot-base-core/pom.xml index 9db9ca493..7b4608d9e 100644 --- a/jeecg-boot/jeecg-boot-base-core/pom.xml +++ b/jeecg-boot/jeecg-boot-base-core/pom.xml @@ -192,64 +192,37 @@ ${java-jwt.version} - + org.apache.shiro shiro-spring-boot-starter - jakarta ${shiro.version} + - org.apache.shiro - shiro-spring + org.springframework.boot + spring-boot-starter-log4j2 org.apache.shiro shiro-spring - jakarta ${shiro.version} - - - - org.apache.shiro - shiro-core - - - org.apache.shiro - shiro-web - - - org.apache.shiro shiro-core - jakarta ${shiro.version} - - - commons-beanutils - commons-beanutils - - org.apache.shiro shiro-web - jakarta ${shiro.version} - - - org.apache.shiro - shiro-core - - - + - org.crazycake + io.github.weir2010 shiro-redis ${shiro-redis.version} @@ -257,12 +230,14 @@ org.apache.shiro shiro-core - - checkstyle - com.puppycrawl.tools - + + + redis.clients + jedis + ${jedis.version} + com.github.xiaoymin diff --git a/jeecg-boot/jeecg-boot-base-core/src/main/java/org/jeecg/config/shiro/ShiroConfig.java b/jeecg-boot/jeecg-boot-base-core/src/main/java/org/jeecg/config/shiro/ShiroConfig.java index 5443b9cdf..6f4d17890 100644 --- a/jeecg-boot/jeecg-boot-base-core/src/main/java/org/jeecg/config/shiro/ShiroConfig.java +++ b/jeecg-boot/jeecg-boot-base-core/src/main/java/org/jeecg/config/shiro/ShiroConfig.java @@ -11,7 +11,6 @@ import org.apache.shiro.mgt.SecurityManager; import org.apache.shiro.spring.LifecycleBeanPostProcessor; import org.apache.shiro.spring.security.interceptor.AuthorizationAttributeSourceAdvisor; import org.apache.shiro.spring.web.ShiroFilterFactoryBean; -import org.apache.shiro.spring.web.ShiroUrlPathHelper; import org.apache.shiro.web.mgt.DefaultWebSecurityManager; import org.crazycake.shiro.*; import org.jeecg.common.constant.CommonConstant; @@ -380,7 +379,7 @@ public class ShiroConfig { @Bean public RequestMappingHandlerMapping overridedRequestMappingHandlerMapping() { RequestMappingHandlerMapping mapping = new RequestMappingHandlerMapping(); - mapping.setUrlPathHelper(new ShiroUrlPathHelper()); + mapping.setUrlPathHelper(new org.springframework.web.util.UrlPathHelper()); return mapping; } diff --git a/jeecg-boot/pom.xml b/jeecg-boot/pom.xml index d2d686f7c..f2012a071 100644 --- a/jeecg-boot/pom.xml +++ b/jeecg-boot/pom.xml @@ -72,15 +72,15 @@ 3.17.3 3.1.407 - 2.0.5 - 3.2.3 + 3.0.0 + 4.1.0 4.5.0 1.5.6 8.5.7 1.4.0 1.6.1 7.4.0 - 3.8.0 + 7.1.0 4.16.19