aboutsummaryrefslogtreecommitdiffstats
path: root/appc-event-listener/appc-event-listener-bundle/src
diff options
context:
space:
mode:
Diffstat (limited to 'appc-event-listener/appc-event-listener-bundle/src')
-rw-r--r--appc-event-listener/appc-event-listener-bundle/src/main/java/org/onap/appc/listener/LCM/operation/ProviderOperations.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/appc-event-listener/appc-event-listener-bundle/src/main/java/org/onap/appc/listener/LCM/operation/ProviderOperations.java b/appc-event-listener/appc-event-listener-bundle/src/main/java/org/onap/appc/listener/LCM/operation/ProviderOperations.java
index 42206ec2e..baaa5b539 100644
--- a/appc-event-listener/appc-event-listener-bundle/src/main/java/org/onap/appc/listener/LCM/operation/ProviderOperations.java
+++ b/appc-event-listener/appc-event-listener-bundle/src/main/java/org/onap/appc/listener/LCM/operation/ProviderOperations.java
@@ -188,7 +188,7 @@ public class ProviderOperations {
public String setAuthentication(String user, String password) {
if (user != null && password != null) {
String authStr = user + ":" + password;
- basicAuth = new String(Base64.encodeBase64(authStr.getBytes()));
+ basicAuth = new String(org.apache.commons.codec.binary.Base64.encodeBase64(authStr.getBytes()));
} else {
basicAuth = null;
}
@@ -278,4 +278,4 @@ public class ProviderOperations {
//FIXME is it working as intended?
return code != null && ((code == 100) || (code == 400));
}
-} \ No newline at end of file
+}