Class EncryptionManager
java.lang.Object
com.atlassian.mail.server.managers.jira.EncryptionManager
Encrypts and decrypts MailServer password.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondecryptPassword
(String encryptedPassword, String cipherType) Decrypts encrypted password if possible or returns it not decrypted.encryptPassword
(String plainPassword, String cipherType) Returns encrypted password paired with cipher type if encryption is allowed.
-
Field Details
-
BASE_64_CIPHER
- See Also:
-
-
Constructor Details
-
EncryptionManager
public EncryptionManager() -
EncryptionManager
-
-
Method Details
-
encryptPassword
Returns encrypted password paired with cipher type if encryption is allowed. Encryption is allowed only in after corresponding upgrade task is run. -
decryptPassword
Decrypts encrypted password if possible or returns it not decrypted.
-