๋ฐ์ํ ์๊ณ ๋ฆฌ์ฆ1 [Tomcat] JNDI ์ ๋ณด ์ํธํ(DB์ ๋ณด : url, username, passowrd) / KDF ์๊ณ ๋ฆฌ์ฆ ์ด์ฉ 1. url, username, password๋ฅผ encrypt ํ๋ค. KDFEncrypted.java import java.security.MessageDigest; import javax.crypto.Cipher; import javax.crypto.spec.IvParameterSpec; import javax.crypto.spec.SecretKeySpec; import org.apache.commons.codec.binary.Hex; public class KDFEncrypted { public static void main(String[] args) { String key = "test"; String url = "jdbc:tibero:thin:@10.10.10.XX:XXXX:tibero"; St.. 2021. 11. 30. ์ด์ 1 ๋ค์ 728x90 ๋ฐ์ํ