aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTal Gitelman <tg851x@intl.att.com>2018-10-18 18:51:04 +0300
committerTal Gitelman <tg851x@intl.att.com>2018-10-18 18:55:20 +0300
commitc4e49e8e97cff5a051415448650d80ecd3207c10 (patch)
tree06c7fb97cb6179f75137de321a690978d70d8162
parent55a58e51dcae5a23c1679b5620237f13bcee8216 (diff)
update sdc portal integration
Change-Id: Icf84b0b29d1eea7756dc18ef4f7379c83df79379 Issue-ID: SDC-1749 Signed-off-by: Tal Gitelman <tg851x@intl.att.com>
-rw-r--r--catalog-be/src/main/java/org/openecomp/sdc/be/ecomp/EcompIntImpl.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/catalog-be/src/main/java/org/openecomp/sdc/be/ecomp/EcompIntImpl.java b/catalog-be/src/main/java/org/openecomp/sdc/be/ecomp/EcompIntImpl.java
index 480d8ebc5b..27f214568e 100644
--- a/catalog-be/src/main/java/org/openecomp/sdc/be/ecomp/EcompIntImpl.java
+++ b/catalog-be/src/main/java/org/openecomp/sdc/be/ecomp/EcompIntImpl.java
@@ -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;
}