소스 검색

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

release
Stormeye Wu 7 년 전
부모
커밋
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.squareup.okio,
com.sun, com.sun,
com.sun.mail, com.sun.mail,
com.sun.xml.messaging.saaj,
com.thoughtworks.xstream, com.thoughtworks.xstream,
com.zaxxer, com.zaxxer,
commons-beanutils, commons-beanutils,
@@ -112,6 +113,7 @@
org.checkerframework, org.checkerframework,
org.crazycake, org.crazycake,
org.dom4j, org.dom4j,
org.glassfish,
org.flowable, org.flowable,
org.hibernate.validator, org.hibernate.validator,
org.jasypt, org.jasypt,


+ 2
- 2
mlWechatOpen/src/main/java/com/iformall/config/ShiroConfig.java 파일 보기

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


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




+ 1
- 8
pom.xml 파일 보기

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


@@ -266,13 +266,6 @@
<version>2.6</version> <version>2.6</version>
</dependency> </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 --> <!-- https://mvnrepository.com/artifact/com.squareup.okhttp3/okhttp -->
<dependency> <dependency>
<groupId>com.squareup.okhttp3</groupId> <groupId>com.squareup.okhttp3</groupId>


불러오는 중...
취소
저장