public class SecuredPropertiesTest extends Object
Constructor and Description |
---|
SecuredPropertiesTest() |
public void testUtilityPattern()
public void testGetSecretValue_withMultipleFiles_shouldIgnoreNotExistingOnes() throws Exception
Exception
public void testGetSecretValue_withSecretFileFromProperty() throws Exception
Exception
public void testGetSecretValue_fromEncryptedPropertyFile() throws Exception
Exception
public void testGetSecretValue_notDefinedProperty_shouldReturnNull() throws Exception
Exception
public void testManualExampleEncryptAndDecrypt_fromEncryptedSystemProperty() throws Exception
Exception
public void testManualExampleEncryptAndDecrypt_fromUnencryptedSystemProperty_shouldLogInfoMessage() throws Exception
Exception
public void testGetSecretValue_fromUnencryptedPropertyFile_shouldNotReplaceProperty() throws Exception
Exception
public void testGetSecretValue_withoutSecretFile_shouldCreateSecretFile() throws Exception
Exception
public void testEncryptNonEncryptedValues_withMultipleFiles_shouldIgnoreNotExistingOnes() throws Exception
Exception
public void testEncryptNonEncryptedValues_multipleValues_shouldReplaceUnencryptedProperties() throws Exception
Exception
public void testEncryptNonEncryptedValues_fromUnencryptedPropertyFileWithoutSalt_shouldReplacePropertyWithAlwaysSameValue() throws Exception
Exception
public void testEncryptNonEncryptedValues_withoutSecretFile_shouldCreateSecretFile() throws Exception
Exception
Copyright © 2016–2019 Brabenetz Harald, Austria. All rights reserved.