Class SecretStoreDataSourcePasswordDecrypter
- java.lang.Object
-
- com.atlassian.confluence.internal.cipher.SecretStoreDataSourcePasswordDecrypter
-
- All Implemented Interfaces:
DataSourcePasswordDecrypter
public class SecretStoreDataSourcePasswordDecrypter extends Object implements DataSourcePasswordDecrypter
Decrypts an encryptedhibernate.connection.password
- Since:
- 7.16.0
-
-
Constructor Summary
Constructors Constructor Description SecretStoreDataSourcePasswordDecrypter(@NonNull com.atlassian.secrets.api.SecretStore secretStore)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
decrypt(String encryptedPassword)
Decrypts an encryptedhibernate.connection.password
.
-
-
-
Method Detail
-
decrypt
public String decrypt(String encryptedPassword)
Description copied from interface:DataSourcePasswordDecrypter
Decrypts an encryptedhibernate.connection.password
. Returnsnull
ifencryptedPassword
isnull
.- Specified by:
decrypt
in interfaceDataSourcePasswordDecrypter
- Parameters:
encryptedPassword
- the encrypted representation ofhibernate.connection.password
. Can benull
- Returns:
- the decrypted password.
-
-