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 java.lang.String
decryptPassword(java.lang.String encryptedPswd)
Decrypts a string.java.lang.String
encryptPassword(java.lang.String password)
Encrypts a string.java.lang.String
getSessionName()
void
setSessionName(java.lang.String sessionName)
-
-
-
Method Detail
-
encryptPassword
public java.lang.String encryptPassword(java.lang.String password)
Encrypts a string. Will throw a validation exception.- Specified by:
encryptPassword
in interfaceSecurable
- Specified by:
encryptPassword
in interfaceSecurable
-
decryptPassword
public java.lang.String decryptPassword(java.lang.String encryptedPswd)
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
-
getSessionName
public java.lang.String getSessionName()
-
setSessionName
public void setSessionName(java.lang.String sessionName)
-
-