summaryrefslogtreecommitdiffstats
path: root/src/main/java/org/onap/aai/sparky/dal/aai/config/ActiveInventorySslConfig.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/org/onap/aai/sparky/dal/aai/config/ActiveInventorySslConfig.java')
-rw-r--r--src/main/java/org/onap/aai/sparky/dal/aai/config/ActiveInventorySslConfig.java16
1 files changed, 1 insertions, 15 deletions
diff --git a/src/main/java/org/onap/aai/sparky/dal/aai/config/ActiveInventorySslConfig.java b/src/main/java/org/onap/aai/sparky/dal/aai/config/ActiveInventorySslConfig.java
index 080a787..75ce36a 100644
--- a/src/main/java/org/onap/aai/sparky/dal/aai/config/ActiveInventorySslConfig.java
+++ b/src/main/java/org/onap/aai/sparky/dal/aai/config/ActiveInventorySslConfig.java
@@ -56,7 +56,7 @@ public class ActiveInventorySslConfig {
*/
public ActiveInventorySslConfig(Properties props, Encryptor encryptor) {
- if (props == null) {
+ if (props == null || props.isEmpty()) {
return;
}
@@ -197,20 +197,6 @@ public class ActiveInventorySslConfig {
return "Basic " + java.util.Base64.getEncoder().encodeToString(usernameAndPassword.getBytes());
}
- /**
- * @return the enableSslDebug
- */
- public boolean isEnableSslDebug() {
- return enableSslDebug;
- }
-
- /**
- * @param enableSslDebug the enableSslDebug to set
- */
- public void setEnableSslDebug(boolean enableSslDebug) {
- this.enableSslDebug = enableSslDebug;
- }
-
/*
* (non-Javadoc)
*