eugenp / tutorials

Getting Started with Spring Boot 3:
https://bit.ly/github-ls
MIT License
36.69k stars 54.47k forks source link

Jasypt - do not harcode password in the bean #6654

Closed vwiencek closed 5 years ago

vwiencek commented 5 years ago

Password to encrypt properties should not be hardcoded in the bean but should be passed at runtime

eugenp commented 5 years ago

That is very true. The initial thinking there was to keep things very simple, as this isn't a production project, but a teaching project. That being said, I agree that should be mentioned in the article - doing that. Thanks for the feedback.

Cheers, Eugen.