diff --git a/application/src/main/java/org/thingsboard/server/service/security/auth/rest/RestAuthenticationDetails.java b/application/src/main/java/org/thingsboard/server/service/security/auth/rest/RestAuthenticationDetails.java
index bc80a22e1b..1eafe66c8f 100644
--- a/application/src/main/java/org/thingsboard/server/service/security/auth/rest/RestAuthenticationDetails.java
+++ b/application/src/main/java/org/thingsboard/server/service/security/auth/rest/RestAuthenticationDetails.java
@@ -20,7 +20,6 @@ import ua_parser.Client;
import ua_parser.Parser;
import javax.servlet.http.HttpServletRequest;
-import java.io.IOException;
import java.io.Serializable;
@Data
@@ -43,11 +42,7 @@ public class RestAuthenticationDetails implements Serializable {
}
private static Client getUserAgent(HttpServletRequest request) {
- try {
- Parser uaParser = new Parser();
- return uaParser.parse(request.getHeader("User-Agent"));
- } catch (IOException e) {
- return new Client(null, null, null);
- }
+ Parser uaParser = new Parser();
+ return uaParser.parse(request.getHeader("User-Agent"));
}
}
diff --git a/common/data/pom.xml b/common/data/pom.xml
index e50ccd9dd2..d81203cd4d 100644
--- a/common/data/pom.xml
+++ b/common/data/pom.xml
@@ -100,6 +100,10 @@
org.apache.commons
commons-lang3
+
+ commons-codec
+ commons-codec
+
io.swagger
swagger-annotations
diff --git a/pom.xml b/pom.xml
index c6d56119d0..a554db9586 100755
--- a/pom.xml
+++ b/pom.xml
@@ -39,12 +39,12 @@
1.3.2
2.3.2
2.3.2
- 2.7.0
- 2.7.0
- 5.3.20
- 5.5.12
- 5.7.5
- 2.7.0
+ 2.7.10
+ 2.7.10
+ 5.3.26
+ 5.5.17
+ 5.7.7
+ 2.7.10
3.7.1
0.7.0
1.7.32
@@ -75,14 +75,14 @@
2.3.30
1.6.2
4.2.0
- 3.5.5
+ 3.8.1
3.21.9
1.42.1
1.0.6
1.18.18
1.2.4
1.2.5
- 4.1.75.Final
+ 4.1.91.Final
2.0.51.Final
1.7.0
4.8.0
@@ -107,13 +107,13 @@
4.1.1
2.57
2.7.7
- 1.27
+ 2.0
1.11.747
1.105.0
2.1.0
3.2.0
1.5.0
- 1.4.3
+ 1.5.4
1.9.4
3.2.2
1.9.0
@@ -123,7 +123,7 @@
6.0.20.Final
3.0.0
2.0.1.Final
- 1.6.8
+ 1.7.2
2.8.5
4.1.0