if I configure the jasypt-spring-boot version 3.0.4 with Spring Boot 2.5.4 I get the following error:
Failed to bind properties under 'spring.datasource.password' to java.lang.String: Reason: org.springframework.boot.context.properties.bind.BindException: Failed to bind properties under spring.datasource.password to java.lang.String
Instead if I configure the same test project with and old version e.g. jasypt-spring-boot version 2.1.2 and Spring Boot 2.2.5 everything works fine.
Fixed. It was just a problem of different encryption algorithm between versions. (algorithm=PBEWithMD5AndDES vs algorithm=PBEWITHHMACSHA512ANDAES_256).
Hi,
if I configure the jasypt-spring-boot version 3.0.4 with Spring Boot 2.5.4 I get the following error:
Failed to bind properties under 'spring.datasource.password' to java.lang.String: Reason: org.springframework.boot.context.properties.bind.BindException: Failed to bind properties under spring.datasource.password to java.lang.String
Instead if I configure the same test project with and old version e.g. jasypt-spring-boot version 2.1.2 and Spring Boot 2.2.5 everything works fine.
My pom config is the following one:
`
`
The parameter in the config is something like:
spring.datasource.password=ENC(xxx)
What can be the reason? Thanks!