Browse Source

升级Shiro版本,解决安全漏洞提示 #3498

pull/3525/head
zhangdaiscott 3 years ago
parent
commit
9de7f261bb
  1. 2
      jeecg-boot/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/config/shiro/ShiroConfig.java
  2. 2
      jeecg-boot/pom.xml

2
jeecg-boot/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/config/shiro/ShiroConfig.java

@ -59,7 +59,7 @@ public class ShiroConfig {
* 2当设置多个过滤器时全部验证通过才视为通过 * 2当设置多个过滤器时全部验证通过才视为通过
* 3部分过滤器可指定参数如permsroles * 3部分过滤器可指定参数如permsroles
*/ */
@Bean("shiroFilter") @Bean("shiroFilterFactoryBean")
public ShiroFilterFactoryBean shiroFilter(SecurityManager securityManager) { public ShiroFilterFactoryBean shiroFilter(SecurityManager securityManager) {
CustomShiroFilterFactoryBean shiroFilterFactoryBean = new CustomShiroFilterFactoryBean(); CustomShiroFilterFactoryBean shiroFilterFactoryBean = new CustomShiroFilterFactoryBean();
shiroFilterFactoryBean.setSecurityManager(securityManager); shiroFilterFactoryBean.setSecurityManager(securityManager);

2
jeecg-boot/pom.xml

@ -38,7 +38,7 @@
<commons.version>2.6</commons.version> <commons.version>2.6</commons.version>
<aliyun-java-sdk-dysmsapi.version>2.1.0</aliyun-java-sdk-dysmsapi.version> <aliyun-java-sdk-dysmsapi.version>2.1.0</aliyun-java-sdk-dysmsapi.version>
<aliyun.oss.version>3.11.2</aliyun.oss.version> <aliyun.oss.version>3.11.2</aliyun.oss.version>
<shiro.version>1.7.1</shiro.version> <shiro.version>1.8.0</shiro.version>
<java-jwt.version>3.11.0</java-jwt.version> <java-jwt.version>3.11.0</java-jwt.version>
<shiro-redis.version>3.1.0</shiro-redis.version> <shiro-redis.version>3.1.0</shiro-redis.version>
<codegenerate.version>1.3.7</codegenerate.version> <codegenerate.version>1.3.7</codegenerate.version>

Loading…
Cancel
Save