Class JCEEncryptor
- java.lang.Object
-
- org.eclipse.persistence.internal.security.JCEEncryptor
-
-
Constructor Summary
Constructors Constructor Description JCEEncryptor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
decryptPassword(String encryptedPswd)
Decrypts a string.String
encryptPassword(String password)
Encrypts a string.
-
-
-
Method Detail
-
encryptPassword
public String encryptPassword(String password)
Encrypts a string. Will throw a validation exception.- Specified by:
encryptPassword
in interfaceSecurable
-
decryptPassword
public String decryptPassword(String encryptedPswd)
Decrypts a string. Will throw a validation exception. Handles backwards compatibility for older encrypted strings.- Specified by:
decryptPassword
in interfaceSecurable
-
-