Class SecretStoreDataSourcePasswordDecrypter
java.lang.Object
com.atlassian.confluence.internal.cipher.SecretStoreDataSourcePasswordDecrypter
- All Implemented Interfaces:
DataSourcePasswordDecrypter
public class SecretStoreDataSourcePasswordDecrypter
extends Object
implements DataSourcePasswordDecrypter
Decrypts an encrypted
hibernate.connection.password
- Since:
- 7.16.0
-
Constructor Summary
ConstructorsConstructorDescriptionSecretStoreDataSourcePasswordDecrypter
(@NonNull com.atlassian.secrets.api.SecretStore secretStore) -
Method Summary
-
Constructor Details
-
SecretStoreDataSourcePasswordDecrypter
public SecretStoreDataSourcePasswordDecrypter(@NonNull com.atlassian.secrets.api.SecretStore secretStore)
-
-
Method Details
-
decrypt
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.
-