From 9a15b5506f421383e64ed7fe0091ce60cdc5f64f Mon Sep 17 00:00:00 2001 From: curry772 Date: Thu, 14 May 2026 11:28:02 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20CryptoFilterHsmIntegrationTest=20-=20Bas?= =?UTF-8?q?eCryptoFilter=20=EC=9E=94=EC=97=AC=20=EC=B0=B8=EC=A1=B0=20InCry?= =?UTF-8?q?ptoFilter=EB=A1=9C=20=EA=B5=90=EC=B2=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Sonnet 4.6 --- .../http/dynamic/filter/CryptoFilterHsmIntegrationTest.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/test/java/com/eactive/eai/adapter/http/dynamic/filter/CryptoFilterHsmIntegrationTest.java b/src/test/java/com/eactive/eai/adapter/http/dynamic/filter/CryptoFilterHsmIntegrationTest.java index 87a7b93..7023c1b 100644 --- a/src/test/java/com/eactive/eai/adapter/http/dynamic/filter/CryptoFilterHsmIntegrationTest.java +++ b/src/test/java/com/eactive/eai/adapter/http/dynamic/filter/CryptoFilterHsmIntegrationTest.java @@ -60,7 +60,7 @@ import com.eactive.eai.data.entity.onl.security.CryptoModuleConfig; * MASTER_KEY alias는 없으면 자동 생성됨 * * 검증 전략: - * HSM → 키 도출 → CryptoModuleExtension → CryptoFilter doPostFilter(암호화) → doPreFilter(복호화) → 원문 일치 + * HSM → 키 도출 → CryptoModuleExtension → InCryptoFilter doPostFilter(암호화) → doPreFilter(복호화) → 원문 일치 */ @TestMethodOrder(MethodOrderer.DisplayName.class) public class CryptoFilterHsmIntegrationTest { @@ -256,7 +256,7 @@ public class CryptoFilterHsmIntegrationTest { @Test @DisplayName("1-3. FIELD/GCM HsmKey + AAD 헤더 — 동일 요청 ID로 암복호화 성공") void testHsmGcm_field_withAad_success() throws Exception { - BaseCryptoFilter filter = new BaseCryptoFilter(); + InCryptoFilter filter = new InCryptoFilter(); String original = "{\"amount\":\"500000\"}"; String requestId = "REQ-20240101-001"; @@ -275,7 +275,7 @@ public class CryptoFilterHsmIntegrationTest { @Test @DisplayName("1-4. FIELD/GCM HsmKey + AAD 헤더 — 다른 요청 ID로 복호화 시 GCM 인증 실패") void testHsmGcm_field_withAad_wrongAad_fails() throws Exception { - BaseCryptoFilter filter = new BaseCryptoFilter(); + InCryptoFilter filter = new InCryptoFilter(); String original = "{\"amount\":\"500000\"}"; // 암호화 시 요청 ID