safedb 디버깅

This commit is contained in:
Rinjae
2025-09-25 18:00:40 +09:00
parent 8952dc4423
commit 4225a89be5
2 changed files with 11 additions and 9 deletions
+9 -7
View File
@@ -210,15 +210,17 @@ tasks.test {
if (project.hasProperty("safedb")) { if (project.hasProperty("safedb")) {
println "======================== SafeDB Classpath applied to test task =====================" println "======================== SafeDB Classpath applied to test task ====================="
classpath += files( classpath += files("/safedb/JavaAPI/config")
"/safedb/JavaAPI/config/", classpath += fileTree(dir: "/safedb/JavaAPI/lib", include: ["*.jar"])
"/safedb/JavaAPI/lib/*"
)
println "classpath : ${classpath}" classpath.each { println "classpath : $it" }
systemProperty "safedb", project.hasProperty("safedb") systemProperty "safedb", project.property("safedb")
println "project.property : ${systemProperty("safedb", null)}" println "systemProperty \"safedb\", ${project.property("safedb")}"
println "-------------------------------------------------------------------------------------" println "-------------------------------------------------------------------------------------"
testLogging {
showStandardStreams = true
}
} }
} }
@@ -88,7 +88,7 @@ public class SafeDBWrapper extends SafeDBBroker {
} }
public String encryptNotRnnoString(String data) throws SafeDBWrapperSdkException { public String encryptNotRnnoString(String data) throws SafeDBWrapperSdkException {
return new String(this.encrypt("SAFEDB", "SAFEDB.POLICY", "NOT_RNNO", data)); return new String(this.encrypt("SAFEDB", "SAFEDB.POLICY", "RNNO", data));
} }
@@ -109,6 +109,6 @@ public class SafeDBWrapper extends SafeDBBroker {
} }
public String decryptNotRnno(String data) throws SafeDBWrapperSdkException { public String decryptNotRnno(String data) throws SafeDBWrapperSdkException {
return new String(this.decrypt("SAFEDB", "SAFEDB.POLICY", "NOT_RNNO", data)); return new String(this.decrypt("SAFEDB", "SAFEDB.POLICY", "RNNO", data));
} }
} }