diff options
Diffstat (limited to 'base')
-rw-r--r-- | base/http/provider/src/main/java/org/onap/ccsdk/sli/adaptors/base/http/AbstractHttpAdapter.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/base/http/provider/src/main/java/org/onap/ccsdk/sli/adaptors/base/http/AbstractHttpAdapter.java b/base/http/provider/src/main/java/org/onap/ccsdk/sli/adaptors/base/http/AbstractHttpAdapter.java index fda4bafba..92e64b6dd 100644 --- a/base/http/provider/src/main/java/org/onap/ccsdk/sli/adaptors/base/http/AbstractHttpAdapter.java +++ b/base/http/provider/src/main/java/org/onap/ccsdk/sli/adaptors/base/http/AbstractHttpAdapter.java @@ -83,7 +83,7 @@ public abstract class AbstractHttpAdapter { protected String getBasicAuthValue(String userName, String password) { String token = userName + ":" + password; try { - return "BASIC " + DatatypeConverter.printBase64Binary(token.getBytes("UTF-8")); + return "Basic " + DatatypeConverter.printBase64Binary(token.getBytes("UTF-8")); } catch (Exception e) { logger.error("getBasicAuthValue threw an exception, credentials will be null", e); } |