Package com.epam.ta.reportportal.config
Class EncryptConfiguration
- java.lang.Object
-
- com.epam.ta.reportportal.config.EncryptConfiguration
-
- All Implemented Interfaces:
org.springframework.beans.factory.InitializingBean
@Configuration public class EncryptConfiguration extends java.lang.Object implements org.springframework.beans.factory.InitializingBeanEncrypt beans configuration for password values
-
-
Constructor Summary
Constructors Constructor Description EncryptConfiguration(DataStore dataStore)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidafterPropertiesSet()org.jasypt.util.text.BasicTextEncryptorgetBasicEncrypt()org.jasypt.encryption.pbe.StandardPBEStringEncryptorgetStrongEncryptor()
-
-
-
Constructor Detail
-
EncryptConfiguration
@Autowired public EncryptConfiguration(DataStore dataStore)
-
-
Method Detail
-
getBasicEncrypt
@Bean(name="basicEncryptor") public org.jasypt.util.text.BasicTextEncryptor getBasicEncrypt() throws java.io.IOException- Throws:
java.io.IOException
-
getStrongEncryptor
@Bean(name="strongEncryptor") public org.jasypt.encryption.pbe.StandardPBEStringEncryptor getStrongEncryptor() throws java.io.IOException- Throws:
java.io.IOException
-
afterPropertiesSet
public void afterPropertiesSet() throws java.lang.Exception- Specified by:
afterPropertiesSetin interfaceorg.springframework.beans.factory.InitializingBean- Throws:
java.lang.Exception
-
-