fixes for supporting non-gui application access provisioning
[portal.git] / ecomp-portal-BE-os / src / main / java / org / onap / portalapp / service / RemoteWebServiceCallServiceImpl.java
index a24a6b4..8b92b58 100644 (file)
@@ -69,8 +69,8 @@ public class RemoteWebServiceCallServiceImpl extends WebServiceCallServiceImpl i
                        return false;
                }
                
-               String encryptedPwdDB = appRecord.getAppPassword();
-               String appUserName = appRecord.getUsername();
+               String encryptedPwdDB = appRecord.getAppBasicAuthPassword();
+               String appUserName = appRecord.getAppBasicAuthUsername();
                String decryptedPwd = CipherUtil.decryptPKC(encryptedPwdDB,
                                secretKey == null ? SystemProperties.getProperty(SystemProperties.Decryption_Key) : secretKey);
                if (decryptedPwd.equals(requestPassword) && appUserName.equals(requestAppName))