Interface DataSourcePasswordDecrypter
- All Known Implementing Classes:
SecretStoreDataSourcePasswordDecrypter
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Decrypts an encrypted
hibernate.connection.password
- Since:
- 7.16.0
-
Method Summary
-
Method Details
-
decrypt
Decrypts an encryptedhibernate.connection.password
. Returnsnull
ifencryptedPassword
isnull
.- Parameters:
encryptedPassword
- the encrypted representation ofhibernate.connection.password
. Can benull
- Returns:
- the decrypted password.
- Throws:
DataSourcePasswordDecryptionException
- if an exception occurs during the decryption process
-