암복호화 지원 추가

master
mjkhan21 10 months ago
parent 2759fdeb77
commit 273c213e68

@ -14,6 +14,7 @@
<fileset dir="${resources}/ssl" /> <fileset dir="${resources}/ssl" />
</copy> </copy>
<copy file="${resources}/application.yml" todir="${deploy}" /> <copy file="${resources}/application.yml" todir="${deploy}" />
<copy file="${resources}/xit-crypto.conf" todir="${deploy}" />
<delete file="xit-lntris-interface.zip" /> <delete file="xit-lntris-interface.zip" />
<zip destfile="xit-lntris-interface.zip" basedir="${deploy}" compress="true" /> <zip destfile="xit-lntris-interface.zip" basedir="${deploy}" compress="true" />

@ -25,6 +25,33 @@
<maven.compiler.target>${java.version}</maven.compiler.target> <maven.compiler.target>${java.version}</maven.compiler.target>
</properties> </properties>
<repositories>
<repository>
<id>mvn2s</id>
<url>https://repo1.maven.org/maven2/</url>
<releases>
<enabled>true</enabled>
</releases>
<snapshots>
<enabled>true</enabled>
</snapshots>
</repository>
<repository>
<id>egovframe</id>
<url>https://maven.egovframe.go.kr/maven/</url>
<releases>
<enabled>true</enabled>
</releases>
<snapshots>
<enabled>false</enabled>
</snapshots>
</repository>
<repository>
<id>maven-public</id>
<url>https://nas.xit.co.kr:8888/repository/maven-public/</url>
</repository>
</repositories>
<dependencies> <dependencies>
<dependency> <dependency>
<groupId>cokr.xit.boot</groupId> <groupId>cokr.xit.boot</groupId>
@ -43,7 +70,7 @@
<artifactId>xit-lntris-special</artifactId> <artifactId>xit-lntris-special</artifactId>
<version>23.04.01-SNAPSHOT</version> <version>23.04.01-SNAPSHOT</version>
</dependency> </dependency>
</dependencies> </dependencies>
<build> <build>
@ -57,6 +84,7 @@
<exclude>spring/*.*</exclude> <exclude>spring/*.*</exclude>
<exclude>ssl/*.*</exclude> <exclude>ssl/*.*</exclude>
<exclude>application.yml</exclude> <exclude>application.yml</exclude>
<exclude>xit-crypto.conf</exclude>
</excludes> </excludes>
</resource> </resource>
</resources> </resources>

@ -4,7 +4,7 @@ server:
context-path: / context-path: /
ssl: ssl:
enabled: true enabled: false
key-store: ssl/.keystore key-store: ssl/.keystore
key-store-type: PKCS12 key-store-type: PKCS12
key-store-password: 5811807 key-store-password: 5811807

@ -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"]
}
]
}
Loading…
Cancel
Save