*/
public ActiveInventorySslConfig(Properties props, Encryptor encryptor) {
- if (props == null) {
+ if (props == null || props.isEmpty()) {
return;
}
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)
*