diff options
author | 2018-02-08 13:25:08 -0500 | |
---|---|---|
committer | 2018-02-08 13:25:08 -0500 | |
commit | 3aa28e9dd68cce134644223505f326378b5d91a8 (patch) | |
tree | 863c98fb341cb86c919b9888dded51c98562a62c /ecomp-portal-BE-os/src/main/java/org/onap/portalapp/controller/LoginController.java | |
parent | 08f55be6a0a9708ceeb176d5e1a0a56f885fad59 (diff) |
Added Junits
Issue-ID: PORTAL-136, PORTAL-133, PORTAL-111, PORTAL-19
Includes JUNITS, replacement of openecomp to onap, role centralization
changes
Change-Id: I95fe9d93ccf22e04f81f52aa7ae8c2b760d8c9c4
Signed-off-by: kg811t <kg811t@research.att.com>
Diffstat (limited to 'ecomp-portal-BE-os/src/main/java/org/onap/portalapp/controller/LoginController.java')
-rw-r--r-- | ecomp-portal-BE-os/src/main/java/org/onap/portalapp/controller/LoginController.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ecomp-portal-BE-os/src/main/java/org/onap/portalapp/controller/LoginController.java b/ecomp-portal-BE-os/src/main/java/org/onap/portalapp/controller/LoginController.java index 273a0b1e..b3019769 100644 --- a/ecomp-portal-BE-os/src/main/java/org/onap/portalapp/controller/LoginController.java +++ b/ecomp-portal-BE-os/src/main/java/org/onap/portalapp/controller/LoginController.java @@ -130,7 +130,8 @@ public class LoginController extends EPUnRestrictedBaseController implements Log String loginId = root.get("loginId").textValue(); String password = root.get("password").textValue(); commandBean.setLoginId(loginId); - commandBean.setLoginPwd(CipherUtil.encrypt(password)); + commandBean.setLoginPwd(CipherUtil.encryptPKC(password)); + HashMap additionalParamsMap = new HashMap(); StringBuilder sbAdditionalInfo = new StringBuilder(); |