aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorguochuyicmri <guochuyi@chinamobile.com>2019-05-07 15:46:16 +0800
committerguochuyicmri <guochuyi@chinamobile.com>2019-05-07 15:46:18 +0800
commit60ec9d5a8f590221e31f380fcc4d6a9fc4e290f7 (patch)
tree5cb7dfcb62502e07d95d06a9bd089d0105183bcd
parent3c4e356d1d5a560c61a3aa20cd056fc198059d35 (diff)
Fix usecase-ui-server security risk issues
Change-Id: Iacfc4e56bb143274b0482f37d1d8dcfe5e6a4ab4 Issue-ID: USECASEUI-258 Signed-off-by: guochuyicmri <guochuyi@chinamobile.com>
-rw-r--r--server/pom.xml16
1 files changed, 13 insertions, 3 deletions
diff --git a/server/pom.xml b/server/pom.xml
index 4914b09b..b057bc0f 100644
--- a/server/pom.xml
+++ b/server/pom.xml
@@ -62,6 +62,12 @@
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-data-jpa</artifactId>
+ <exclusions>
+ <exclusion>
+ <groupId>org.apache.tomcat</groupId>
+ <artifactId>tomcat-jdbc</artifactId>
+ </exclusion>
+ </exclusions>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
@@ -160,12 +166,16 @@
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-tomcat</artifactId>
</exclusion>
+ <exclusion>
+ <groupId>org.apache.tomcat.embed</groupId>
+ <artifactId>tomcat-embed-core</artifactId>
+ </exclusion>
</exclusions>
</dependency>
<dependency>
- <groupId>org.springframework.boot</groupId>
- <artifactId>spring-boot-starter-tomcat</artifactId>
- <scope>provided</scope>
+ <groupId>org.apache.tomcat.embed</groupId>
+ <artifactId>tomcat-embed-websocket</artifactId>
+ <version>8.5.34</version>
</dependency>
<dependency>
<groupId>ch.qos.logback</groupId>