|
@@ -1,16 +1,14 @@
|
|
package com.its.op.config;
|
|
package com.its.op.config;
|
|
|
|
|
|
-import com.ulisesbocchio.jasyptspringboot.annotation.EnableEncryptableProperties;
|
|
|
|
import org.jasypt.encryption.StringEncryptor;
|
|
import org.jasypt.encryption.StringEncryptor;
|
|
import org.jasypt.encryption.pbe.PooledPBEStringEncryptor;
|
|
import org.jasypt.encryption.pbe.PooledPBEStringEncryptor;
|
|
import org.jasypt.encryption.pbe.config.SimpleStringPBEConfig;
|
|
import org.jasypt.encryption.pbe.config.SimpleStringPBEConfig;
|
|
import org.jasypt.salt.StringFixedSaltGenerator;
|
|
import org.jasypt.salt.StringFixedSaltGenerator;
|
|
import org.springframework.beans.factory.annotation.Value;
|
|
import org.springframework.beans.factory.annotation.Value;
|
|
import org.springframework.context.annotation.Bean;
|
|
import org.springframework.context.annotation.Bean;
|
|
-import org.springframework.context.annotation.Configuration;
|
|
|
|
|
|
|
|
-@Configuration
|
|
|
|
-@EnableEncryptableProperties
|
|
|
|
|
|
+//@Configuration
|
|
|
|
+//@EnableEncryptableProperties
|
|
public class JasyptConfig {
|
|
public class JasyptConfig {
|
|
|
|
|
|
@Value("${jasypt.encryptor.password:asdkjfaslkjflkajslfjkajlkf}")
|
|
@Value("${jasypt.encryptor.password:asdkjfaslkjflkajslfjkajlkf}")
|