diff options
Diffstat (limited to 'controlloop/common/model-impl/rest/src/main/java')
-rw-r--r-- | controlloop/common/model-impl/rest/src/main/java/org/onap/policy/rest/RESTManager.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/controlloop/common/model-impl/rest/src/main/java/org/onap/policy/rest/RESTManager.java b/controlloop/common/model-impl/rest/src/main/java/org/onap/policy/rest/RESTManager.java index 6b8b6f09a..52ce13ef9 100644 --- a/controlloop/common/model-impl/rest/src/main/java/org/onap/policy/rest/RESTManager.java +++ b/controlloop/common/model-impl/rest/src/main/java/org/onap/policy/rest/RESTManager.java @@ -146,7 +146,7 @@ public class RESTManager { } private String makeAuthHeader(String username, String password) { - if (username == null) { + if (username == null || username.isEmpty()) { return null; } |