From 9eb157f93ed9a51b09583103dac0dfa8b18371b3 Mon Sep 17 00:00:00 2001 From: Park Hyeon Ji <63945197+hyeon-z@users.noreply.github.com> Date: Thu, 26 Oct 2023 22:44:20 +0900 Subject: [PATCH] =?UTF-8?q?[SKRB-183]=20fix:=20jasypt=20=EA=B4=80=EB=A0=A8?= =?UTF-8?q?=20PropertiesConfig=20=EC=84=A4=EC=A0=95=20=EB=B3=80=EA=B2=BD?= =?UTF-8?q?=20(#18)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/com/spaceclub/global/config/PropertiesConfig.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main/java/com/spaceclub/global/config/PropertiesConfig.java b/src/main/java/com/spaceclub/global/config/PropertiesConfig.java index 25b597a9..3c3a64d0 100644 --- a/src/main/java/com/spaceclub/global/config/PropertiesConfig.java +++ b/src/main/java/com/spaceclub/global/config/PropertiesConfig.java @@ -8,7 +8,7 @@ import org.springframework.context.annotation.Configuration; import org.springframework.context.annotation.Profile; -@Profile("develop") +@Profile({"local", "develop"}) @Configuration public class PropertiesConfig { @@ -21,6 +21,7 @@ public StringEncryptor stringEncryptor() { config.setPassword(password); //암호화, 복호화할 때 사용할 패스워드 config.setAlgorithm("PBEWithMD5AndDES"); //암호화 알고리즘 config.setKeyObtentionIterations("1000"); //해시 반복 횟수 + config.setPoolSize("1"); PooledPBEStringEncryptor encryptor = new PooledPBEStringEncryptor(); encryptor.setConfig(config);