diff options
author | Kotta, Shireesha (sk434m) <sk434m@att.com> | 2018-03-16 15:23:36 -0400 |
---|---|---|
committer | Kotta, Shireesha (sk434m) <sk434m@att.com> | 2018-03-16 16:00:12 -0400 |
commit | 826eea3037d2251539a7be3dafe829bc7d371e76 (patch) | |
tree | 9d327357b4b6e569373c15e50290e7d35e12741b /ecomp-sdk/epsdk-fw/src/main/java | |
parent | 1e827d0b631a11fad2f5dcdf4e5feb8ad1eb214e (diff) |
Added Junits
Issue-ID: PORTAL-136
Includes JUNITS, Analytics module
Change-Id: Ib3053782fad98b6d6b2048bac1b9506c5cd8f42f
Signed-off-by: Kotta, Shireesha (sk434m) <sk434m@att.com>
Diffstat (limited to 'ecomp-sdk/epsdk-fw/src/main/java')
-rw-r--r-- | ecomp-sdk/epsdk-fw/src/main/java/org/onap/portalsdk/core/onboarding/util/CipherUtil.java | 22 |
1 files changed, 1 insertions, 21 deletions
diff --git a/ecomp-sdk/epsdk-fw/src/main/java/org/onap/portalsdk/core/onboarding/util/CipherUtil.java b/ecomp-sdk/epsdk-fw/src/main/java/org/onap/portalsdk/core/onboarding/util/CipherUtil.java index 8764805a..3a805794 100644 --- a/ecomp-sdk/epsdk-fw/src/main/java/org/onap/portalsdk/core/onboarding/util/CipherUtil.java +++ b/ecomp-sdk/epsdk-fw/src/main/java/org/onap/portalsdk/core/onboarding/util/CipherUtil.java @@ -269,27 +269,7 @@ public class CipherUtil { String encrypted; String decrypted; - if (args.length != 2) { - System.out.println("Default password testing... "); - System.out.println("Plain password: " + testValue); - encrypted = encryptPKC(testValue); - System.out.println("Encrypted password: " + encrypted); - decrypted = decryptPKC(encrypted); - System.out.println("Decrypted password: " + decrypted); - } else { - String whatToDo = args[0]; - if (whatToDo.equalsIgnoreCase("d")) { - encrypted = args[1]; - System.out.println("Encrypted Text: " + encrypted); - decrypted = decrypt(encrypted); - System.out.println("Decrypted Text: " + decrypted); - } else { - decrypted = args[1]; - System.out.println("Plain Text: " + decrypted); - encrypted = encrypt(decrypted); - System.out.println("Encrypted Text" + encrypted); - } - } + } */ } |