Просмотр исходного кода

[springboot][升级]:spring boot 升级到 2.1.4

release
Stormeye Wu 7 лет назад
Родитель
Сommit
0895ec1a36
3 измененных файлов: 5 добавлений и 10 удалений
  1. +2
    -0
      mlWechatOpen/pom.xml
  2. +2
    -2
      mlWechatOpen/src/main/java/com/iformall/config/ShiroConfig.java
  3. +1
    -8
      pom.xml

+ 2
- 0
mlWechatOpen/pom.xml Просмотреть файл

@@ -71,6 +71,7 @@
com.squareup.okio,
com.sun,
com.sun.mail,
com.sun.xml.messaging.saaj,
com.thoughtworks.xstream,
com.zaxxer,
commons-beanutils,
@@ -112,6 +113,7 @@
org.checkerframework,
org.crazycake,
org.dom4j,
org.glassfish,
org.flowable,
org.hibernate.validator,
org.jasypt,


+ 2
- 2
mlWechatOpen/src/main/java/com/iformall/config/ShiroConfig.java Просмотреть файл

@@ -154,7 +154,7 @@ public class ShiroConfig {
}

@Bean
public SecurityManager securityManager(@Qualifier("myRetryLimitCredentialsMatcher") MyRetryLimitCredentialsMatcher matcher) {
public SecurityManager securityManager(@Qualifier("retryLimitCredentialsMatcher") MyRetryLimitCredentialsMatcher matcher) {
DefaultWebSecurityManager securityManager = new DefaultWebSecurityManager();
//设置realm.
securityManager.setRealm(myShiroRealm(matcher));
@@ -181,7 +181,7 @@ public class ShiroConfig {
*
* @return
*/
@Bean(name = "myRetryLimitCredentialsMatcher")
@Bean(name = "retryLimitCredentialsMatcher")
public MyRetryLimitCredentialsMatcher hashedCredentialsMatcher() {
MyRetryLimitCredentialsMatcher hashedCredentialsMatcher = new MyRetryLimitCredentialsMatcher();



+ 1
- 8
pom.xml Просмотреть файл

@@ -18,7 +18,7 @@
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>2.0.7.RELEASE</version>
<version>2.1.4.RELEASE</version>
<relativePath/>
</parent>

@@ -266,13 +266,6 @@
<version>2.6</version>
</dependency>

<!--easypoi-->
<dependency>
<groupId>cn.afterturn</groupId>
<artifactId>easypoi-spring-boot-starter</artifactId>
<version>4.0.0</version>
</dependency>

<!-- https://mvnrepository.com/artifact/com.squareup.okhttp3/okhttp -->
<dependency>
<groupId>com.squareup.okhttp3</groupId>


Загрузка…
Отмена
Сохранить