diff --git a/elink-online-common b/elink-online-common index 51db6c8..8b72299 160000 --- a/elink-online-common +++ b/elink-online-common @@ -1 +1 @@ -Subproject commit 51db6c88cfc2d827f90141ceeef0d798b7d2abf3 +Subproject commit 8b722996895ead9ec42b445f1652fb08c98fe132 diff --git a/elink-online-core b/elink-online-core index 75e3d34..8c886f9 160000 --- a/elink-online-core +++ b/elink-online-core @@ -1 +1 @@ -Subproject commit 75e3d3451c0965ad7bbf88a469211afb75f3dc5f +Subproject commit 8c886f92fb48f9a5a0aa4cc80636016156b28295 diff --git a/elink-online-emsclient b/elink-online-emsclient index 7cd000f..728ca86 160000 --- a/elink-online-emsclient +++ b/elink-online-emsclient @@ -1 +1 @@ -Subproject commit 7cd000f6927095a87d622c921ffe944a3802f3d7 +Subproject commit 728ca86c3766945d97046855b4ba3da4121a9409 diff --git a/elink-online-transformer b/elink-online-transformer index dd68924..947d1f2 160000 --- a/elink-online-transformer +++ b/elink-online-transformer @@ -1 +1 @@ -Subproject commit dd68924d78c70c0baf37970dd658e7accc72e260 +Subproject commit 947d1f223ca9ca265d14a8e7195958873e867faf diff --git a/src/main/java/com/eactive/eai/MessageKeyTest.java b/src/main/java/com/eactive/eai/MessageKeyTest.java index f4e3e30..c7f2a12 100644 --- a/src/main/java/com/eactive/eai/MessageKeyTest.java +++ b/src/main/java/com/eactive/eai/MessageKeyTest.java @@ -178,7 +178,7 @@ public class MessageKeyTest { } private static void testXml() { - System.out.println("\n=== XML 테스트 ==="); + // System.out.println("\n=== XML 테스트 ==="); // 단순 경로 테스트 String xml1 = "SUCCESS"; @@ -227,7 +227,7 @@ public class MessageKeyTest { } private static void testJson() { - System.out.println("\n=== JSON 테스트 ==="); + // System.out.println("\n=== JSON 테스트 ==="); // 단순 경로 테스트 String json1 = "{\"status\":\"success\"}"; @@ -282,7 +282,7 @@ public class MessageKeyTest { } private static void testReservedWords() { - System.out.println("\n=== 예약어 테스트 ==="); + // System.out.println("\n=== 예약어 테스트 ==="); // 1. 기본 비교 테스트 test("예약어 - eq", @@ -375,14 +375,6 @@ public class MessageKeyTest { private static void test(String testName, String type, String message, String path, String expected) { TestResult result = isSuccessMessageTest(type, message, path, expected); - System.out.println(String.format( - "테스트: %s\n결과: %s\n메시지: %s\n경로: %s\n기대값: %s\n추출된 값: [%s]\n", - testName, - result.success ? "성공" : "실패", - message, - path, - expected, - result.extractedValue - )); + // System.out.println(String.format( "테스트: %s\n결과: %s\n메시지: %s\n경로: %s\n기대값: %s\n추출된 값: [%s]\n",testName, result.success ? "성공" : "실패",message,path,expected,result.extractedValue )); } } \ No newline at end of file diff --git a/src/main/java/com/eactive/eai/authserver/custom/KjbMGOAuth2Controller.java b/src/main/java/com/eactive/eai/authserver/custom/KjbMGOAuth2Controller.java index 0731c52..5899759 100644 --- a/src/main/java/com/eactive/eai/authserver/custom/KjbMGOAuth2Controller.java +++ b/src/main/java/com/eactive/eai/authserver/custom/KjbMGOAuth2Controller.java @@ -327,21 +327,19 @@ public class KjbMGOAuth2Controller { Signature privateSignature = Signature.getInstance("SHA256withRSA"); privateSignature.initSign(pair.getPrivate()); privateSignature.update(message.getBytes(StandardCharsets.UTF_8)); - System.out.println( - "private key=" + Base64.getEncoder().encodeToString(pair.getPrivate().getEncoded())); - + // System.out.println("private key=" + Base64.getEncoder().encodeToString(pair.getPrivate().getEncoded())); byte[] signature = privateSignature.sign(); //System.out.println("signature=" + new String(signature, StandardCharsets.UTF_8)); - System.out.println("signature=" + Base64.getEncoder().encodeToString(signature)); + // System.out.println("signature=" + Base64.getEncoder().encodeToString(signature)); // Let's check the signature Signature publicSignature = Signature.getInstance("SHA256withRSA"); publicSignature.initVerify(pair.getPublic()); publicSignature.update(message.getBytes(StandardCharsets.UTF_8)); boolean isCorrect = publicSignature.verify(signature); - System.out.println("public key=" + Base64.getEncoder().encodeToString(pair.getPublic().getEncoded())); + // System.out.println("public key=" + Base64.getEncoder().encodeToString(pair.getPublic().getEncoded())); - System.out.println("Signature correct: " + isCorrect); + // System.out.println("Signature correct: " + isCorrect); // The public key can be used to encrypt a message, the private key can be used // to decrypt it. @@ -357,6 +355,6 @@ public class KjbMGOAuth2Controller { String decipheredMessage = new String(decriptCipher.doFinal(cipherText), StandardCharsets.UTF_8); - System.out.println(decipheredMessage); + // System.out.println(decipheredMessage); } } diff --git a/src/main/java/com/eactive/eai/custom/adapter/http/dynamic/filter/SnapHmacSha512VerifyFilter.java b/src/main/java/com/eactive/eai/custom/adapter/http/dynamic/filter/SnapHmacSha512VerifyFilter.java index 79ed101..970d564 100644 --- a/src/main/java/com/eactive/eai/custom/adapter/http/dynamic/filter/SnapHmacSha512VerifyFilter.java +++ b/src/main/java/com/eactive/eai/custom/adapter/http/dynamic/filter/SnapHmacSha512VerifyFilter.java @@ -200,6 +200,6 @@ public class SnapHmacSha512VerifyFilter implements HttpAdapterFilter { "o3Hre3voTrHbLueDrHC0LYM5effHQZILI8t23htbD12TKD5QJUMONqFqv4494iQS46bzHS0xW1fBC5LHo3D0SzhZvQcPUaJZw0iQ79NnzYFUCTrEsoFJRL300dp3Ql4y") .hmacHex(str); - System.out.println(hmac); + // System.out.println(hmac); } } diff --git a/src/main/java/com/eactive/eai/custom/adapter/http/util/GzipBase64Util.java b/src/main/java/com/eactive/eai/custom/adapter/http/util/GzipBase64Util.java index e6bb864..ca48392 100644 --- a/src/main/java/com/eactive/eai/custom/adapter/http/util/GzipBase64Util.java +++ b/src/main/java/com/eactive/eai/custom/adapter/http/util/GzipBase64Util.java @@ -17,13 +17,13 @@ public class GzipBase64Util { try { String base64EncodedData = compress(originalString); - System.out.println("Original String: " + originalString); - System.out.println("Base64 Encoded String: " + base64EncodedData); + // System.out.println("Original String: " + originalString); + // System.out.println("Base64 Encoded String: " + base64EncodedData); // Base64 디코딩 후 gzip 압축 해제 String decodedString = decompress(base64EncodedData); - System.out.println("Decoded String: " + decodedString); + // System.out.println("Decoded String: " + decodedString); } catch (IOException e) { e.printStackTrace(); } diff --git a/src/main/java/com/eactive/eai/custom/adapter/http/util/VirtualAccountBatchUtil.java b/src/main/java/com/eactive/eai/custom/adapter/http/util/VirtualAccountBatchUtil.java index cab8a87..8f51a13 100644 --- a/src/main/java/com/eactive/eai/custom/adapter/http/util/VirtualAccountBatchUtil.java +++ b/src/main/java/com/eactive/eai/custom/adapter/http/util/VirtualAccountBatchUtil.java @@ -54,7 +54,7 @@ public class VirtualAccountBatchUtil { public String unzipAndSave(String aesKey, String jsonString, String rootFilePath, String fileNamePattern) throws Exception { // gzippedValue 추출 String gzippedValue = getGzipValue(jsonString, "encData"); - System.out.println("gzippedValue[" + gzippedValue + "]"); + // System.out.println("gzippedValue[" + gzippedValue + "]"); // 압축 해제 String unziped = GzipBase64Util.decompress(gzippedValue); diff --git a/src/main/java/com/eactive/eai/custom/adapter/http/util/VirtualAccountTransform.java b/src/main/java/com/eactive/eai/custom/adapter/http/util/VirtualAccountTransform.java index 321d35f..4abcc23 100644 --- a/src/main/java/com/eactive/eai/custom/adapter/http/util/VirtualAccountTransform.java +++ b/src/main/java/com/eactive/eai/custom/adapter/http/util/VirtualAccountTransform.java @@ -64,8 +64,8 @@ public class VirtualAccountTransform { list.add(" $.encAccount "); list.add(" $.accounts$.encAccount "); String cubeOneJson = toCubeOne(aesKey, list, json); - System.out.println(cubeOneJson); - System.out.println(toAES(aesKey, list, cubeOneJson)); + // System.out.println(cubeOneJson); + // System.out.println(toAES(aesKey, list, cubeOneJson)); } } \ No newline at end of file diff --git a/src/main/java/com/eactive/eai/custom/message/GUIDGeneratorKAKAOCARD.java b/src/main/java/com/eactive/eai/custom/message/GUIDGeneratorKAKAOCARD.java index 254dc70..13b717d 100644 --- a/src/main/java/com/eactive/eai/custom/message/GUIDGeneratorKAKAOCARD.java +++ b/src/main/java/com/eactive/eai/custom/message/GUIDGeneratorKAKAOCARD.java @@ -76,6 +76,6 @@ public final class GUIDGeneratorKAKAOCARD { public static void main(String[] args) { String guid = getGUID("FEP"); - System.out.println("[" + guid.length() + "]" + guid); + // System.out.println("[" + guid.length() + "]" + guid); } } \ No newline at end of file diff --git a/src/main/java/com/eactive/eai/custom/message/GUIDGeneratorKJB.java b/src/main/java/com/eactive/eai/custom/message/GUIDGeneratorKJB.java index 8354879..3066b50 100644 --- a/src/main/java/com/eactive/eai/custom/message/GUIDGeneratorKJB.java +++ b/src/main/java/com/eactive/eai/custom/message/GUIDGeneratorKJB.java @@ -93,6 +93,6 @@ public final class GUIDGeneratorKJB { public static void main(String[] args) { String guid = getGUID("051"); - System.out.println("[" + guid.length() + "]" + guid); + // System.out.println("[" + guid.length() + "]" + guid); } } \ No newline at end of file