Skip to content

Commit

Permalink
[SKRB-183] fix: jasypt 관련 PropertiesConfig 설정 변경 (#18)
Browse files Browse the repository at this point in the history
  • Loading branch information
hyeon-z authored Oct 26, 2023
1 parent 4e72fca commit 9eb157f
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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 {

Expand All @@ -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);
Expand Down

0 comments on commit 9eb157f

Please sign in to comment.