update sdc portal integration 43/70743/1
authorTal Gitelman <tg851x@intl.att.com>
Thu, 18 Oct 2018 15:51:04 +0000 (18:51 +0300)
committerTal Gitelman <tg851x@intl.att.com>
Thu, 18 Oct 2018 15:55:20 +0000 (18:55 +0300)
Change-Id: Icf84b0b29d1eea7756dc18ef4f7379c83df79379
Issue-ID: SDC-1749
Signed-off-by: Tal Gitelman <tg851x@intl.att.com>
catalog-be/src/main/java/org/openecomp/sdc/be/ecomp/EcompIntImpl.java

index 480d8eb..27f2145 100644 (file)
@@ -384,7 +384,7 @@ public class EcompIntImpl implements IPortalRestAPIService {
         if (USERNAME != null && PASSWORD != null) {
             try {
                 if (USERNAME.equals(CipherUtil.decryptPKC(portal_user)) &&
-                        CipherUtil.decryptPKC(PASSWORD).equals(CipherUtil.decryptPKC(portal_key))) {
+                        PASSWORD.equals(CipherUtil.decryptPKC(portal_key))) {
                     log.debug("User authenticated - Username: {}", USERNAME);
                     return true;
                 }