From 273c213e6893ce0b4caa7262df352b1a3e0bed53 Mon Sep 17 00:00:00 2001 From: mjkhan21 Date: Fri, 19 Jan 2024 14:50:43 +0900 Subject: [PATCH] =?UTF-8?q?=EC=95=94=EB=B3=B5=ED=98=B8=ED=99=94=20?= =?UTF-8?q?=EC=A7=80=EC=9B=90=20=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package-lntris.xml | 1 + pom.xml | 30 +++++++++++++++++- src/main/resources/application.yml | 2 +- src/main/resources/xit-crypto.conf | 50 ++++++++++++++++++++++++++++++ 4 files changed, 81 insertions(+), 2 deletions(-) create mode 100644 src/main/resources/xit-crypto.conf diff --git a/package-lntris.xml b/package-lntris.xml index cd6eded..5526779 100644 --- a/package-lntris.xml +++ b/package-lntris.xml @@ -14,6 +14,7 @@ + diff --git a/pom.xml b/pom.xml index c18ad8c..c7c3a0b 100644 --- a/pom.xml +++ b/pom.xml @@ -25,6 +25,33 @@ ${java.version} + + + mvn2s + https://repo1.maven.org/maven2/ + + true + + + true + + + + egovframe + https://maven.egovframe.go.kr/maven/ + + true + + + false + + + + maven-public + https://nas.xit.co.kr:8888/repository/maven-public/ + + + cokr.xit.boot @@ -43,7 +70,7 @@ xit-lntris-special 23.04.01-SNAPSHOT - + @@ -57,6 +84,7 @@ spring/*.* ssl/*.* application.yml + xit-crypto.conf diff --git a/src/main/resources/application.yml b/src/main/resources/application.yml index 6ad7c58..30d055f 100644 --- a/src/main/resources/application.yml +++ b/src/main/resources/application.yml @@ -4,7 +4,7 @@ server: context-path: / ssl: - enabled: true + enabled: false key-store: ssl/.keystore key-store-type: PKCS12 key-store-password: 5811807 diff --git a/src/main/resources/xit-crypto.conf b/src/main/resources/xit-crypto.conf new file mode 100644 index 0000000..53f8a92 --- /dev/null +++ b/src/main/resources/xit-crypto.conf @@ -0,0 +1,50 @@ +{ "enabled": true, + "cryptoDefs": [ + { "name": "aria", + "class": "cokr.xit.base.crypto.bean.ARIA", + "settings": { + "key": "Copyright (c) 2015 - (주)엑스아이티", + "algorithm": "SHA-256", + "blockSize": 1024 + } + } +/* + { "name": "echelon", + "class": "cokr.xit.base.crypto.bean.Echelon", + "settings": { + "module": "3rd-party/echelon", + "agentIP": "211.119.124.117", + "agentPort": 29995 + } + }, + { "name": "dguard", + "class": "cokr.xit.base.crypto.bean.DGuard", + "settings": { + "secureID": "xit_agent", + "securePWD": "Agent!@#$5", + "securePIN": "Agent!@#$5", + "propertyPath": "3rd-party/dguard/conf/dguard.conf", + "tableName": "TB_PAYER", + "columnName": "RTPYR_NO" + } + } +*/ + ], + + "targetValues": [ + { "name": "주민등록번호", + "mapKeys": [ + "pyrNo", + "PYR_NO", + "RPRS_PYR_NO" + ], + "objectProperties": [ + "pyrNo", + "request.pyrNo", + "request.rprsPyrNo", + "response.resVo1.pyrNo" + ], + "cryptoDefs": ["aria"] + } + ] +} \ No newline at end of file