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 Details

    • SecretStoreDataSourcePasswordDecrypter

      public SecretStoreDataSourcePasswordDecrypter(@NonNull com.atlassian.secrets.api.SecretStore secretStore)
  • Method Details

    • decrypt

      public String decrypt(String encryptedPassword)
      Description copied from interface: DataSourcePasswordDecrypter
      Decrypts an encrypted hibernate.connection.password. Returns null if encryptedPassword is null.
      Specified by:
      decrypt in interface DataSourcePasswordDecrypter
      Parameters:
      encryptedPassword - the encrypted representation of hibernate.connection.password. Can be null
      Returns:
      the decrypted password.