Module org.eclipse.persistence.core
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 StringdecryptPassword(String encryptedPswd)Decrypts a string.StringencryptPassword(String password)Encrypts a string.
-
-
-
Method Detail
-
encryptPassword
public String encryptPassword(String password)
Encrypts a string. Will throw a validation exception.- Specified by:
encryptPasswordin interfaceSecurable
-
decryptPassword
public String decryptPassword(String encryptedPswd)
Decrypts a string. Will throw a validation exception. Handles backwards compatibility for older encrypted strings.- Specified by:
decryptPasswordin interfaceSecurable
-
-