Here’s my previous password passed to Spring example run from Oddjob:
Run as a GUI, Oddjob provides a simple form for entering properties including a password prompt.
I previously presented a
CustomPropertyConfgurer that allows properties outside of Spring to be accessed from within Spring. The article was syndicated by DZone where a reader noted that in fact the Spring class
PropertySourcesPlaceholderConfigurer has a
setProperties method, and so for my particular example, the
CustomPropertyConfigurer was redundant.