Adding UI extensibility
[aai/sparky-be.git] / src / main / java / org / onap / aai / sparky / dal / aai / config / ActiveInventorySslConfig.java
index 080a787..75ce36a 100644 (file)
@@ -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)
    *