Module org.eclipse.persistence.core
Class JCEEncryptor
java.lang.Object
org.eclipse.persistence.internal.security.JCEEncryptor
EclipseLink reference implementation for password encryption.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiondecryptPassword
(String encryptedPswd) Decrypts a string.encryptPassword
(String password) Encrypts a string.
-
Constructor Details
-
JCEEncryptor
- Throws:
Exception
-
-
Method Details
-
encryptPassword
Encrypts a string. Will throw a validation exception.- Specified by:
encryptPassword
in interfaceSecurable
- Specified by:
encryptPassword
in interfaceSecurable
-
decryptPassword
Decrypts a string. Will throw a validation exception. Handles backwards compatibility for older encrypted strings.- Specified by:
decryptPassword
in interfaceSecurable
- Specified by:
decryptPassword
in interfaceSecurable
-