@ -212,15 +212,15 @@ public class EnvironmentDecryptApplicationInitializer implements
@@ -212,15 +212,15 @@ public class EnvironmentDecryptApplicationInitializer implements
}
catch(Exceptione){
Stringmessage="Cannot decrypt: key="+key;
if(this.failOnError){
thrownewIllegalStateException(message,e);
}
if(logger.isDebugEnabled()){
logger.warn(message,e);
}
else{
logger.warn(message);
}
if(this.failOnError){
thrownewIllegalStateException(message,e);
}
// Set value to empty to avoid making a password out of the
@ -49,6 +51,9 @@ public class EnvironmentDecryptApplicationInitializerTests {
@@ -49,6 +51,9 @@ public class EnvironmentDecryptApplicationInitializerTests {
@ -77,14 +82,22 @@ public class EnvironmentDecryptApplicationInitializerTests {
@@ -77,14 +82,22 @@ public class EnvironmentDecryptApplicationInitializerTests {
@ -95,6 +108,9 @@ public class EnvironmentDecryptApplicationInitializerTests {
@@ -95,6 +108,9 @@ public class EnvironmentDecryptApplicationInitializerTests {