GITZYY před 1 dnem
rodič
revize
01843af264

+ 4 - 0
egress-gateway-service-domain/pom.xml

@@ -77,5 +77,9 @@
             <groupId>commons-codec</groupId>
             <artifactId>commons-codec</artifactId>
         </dependency>
+        <dependency>
+            <groupId>org.apache.commons</groupId>
+            <artifactId>commons-io</artifactId>
+        </dependency>
     </dependencies>
 </project>

+ 1 - 0
egress-gateway-service-domain/src/main/java/com/hrsk/cloud/eg/domain/common/RSAUtils.java

@@ -1,6 +1,7 @@
 package com.hrsk.cloud.eg.domain.common;
 
 import org.apache.commons.codec.binary.Base64;
+import org.apache.commons.io.IOUtils;
 import sun.misc.BASE64Decoder;
 
 import javax.crypto.BadPaddingException;

+ 6 - 0
pom.xml

@@ -28,6 +28,7 @@
         <commons-codec.version>1.15</commons-codec.version>
         <fast2-json>2.0.25</fast2-json>
         <redis.version>2.7.1</redis.version>
+        <commons-io.version>1.3.2</commons-io.version>
     </properties>
 
     <dependencies>
@@ -151,6 +152,11 @@
                 <artifactId>spring-boot-starter-data-redis</artifactId>
                 <version>${redis.version}</version>
             </dependency>
+            <dependency>
+                <groupId>org.apache.commons</groupId>
+                <artifactId>commons-io</artifactId>
+                <version>${commons-io.version}</version>
+            </dependency>
         </dependencies>
     </dependencyManagement>