From 402cf1e98b74547b2e993f7c46d4460e6fb39e61 Mon Sep 17 00:00:00 2001 From: Ramanjaneya-Huawei Date: Tue, 17 Oct 2017 15:28:15 +0530 Subject: Added the "@Override" annotation Change-Id: I0cbfeb8931a46ccd0b2f759c95adea49c5825af2 Issue-id: SO-224 Signed-off-by: Ramanjaneya-Huawei --- .../main/java/org/openecomp/mso/bpmn/common/util/CryptoHandler.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'bpmn') diff --git a/bpmn/MSOCommonBPMN/src/main/java/org/openecomp/mso/bpmn/common/util/CryptoHandler.java b/bpmn/MSOCommonBPMN/src/main/java/org/openecomp/mso/bpmn/common/util/CryptoHandler.java index e938a25fab..787453ed28 100644 --- a/bpmn/MSOCommonBPMN/src/main/java/org/openecomp/mso/bpmn/common/util/CryptoHandler.java +++ b/bpmn/MSOCommonBPMN/src/main/java/org/openecomp/mso/bpmn/common/util/CryptoHandler.java @@ -28,9 +28,9 @@ public class CryptoHandler implements ICryptoHandler { private static final MsoLogger LOGGER = MsoLogger.getMsoLogger(MsoLogger.Catalog.BPEL); private static String msoKey = "aa3871669d893c7fb8abbcda31b88b4f"; - //private static String msoAaiPwd = "mso0206"; private static String msoAaiEncryptedPwd = "C1FC4A39E16419DD41DFC1212843F440"; + @Override public String getMsoAaiPassword() { try { return CryptoUtils.decrypt(msoAaiEncryptedPwd, msoKey); @@ -41,6 +41,7 @@ public class CryptoHandler implements ICryptoHandler { } + @Override public String encryptMsoPassword(String plainMsoPwd) { try { return CryptoUtils.encrypt(plainMsoPwd, msoKey); @@ -50,7 +51,7 @@ public class CryptoHandler implements ICryptoHandler { } } - + @Override public String decryptMsoPassword(String encryptedPwd) { try { return CryptoUtils.decrypt(encryptedPwd, msoKey); -- cgit 1.2.3-korg