On Feb 11, 2006, at 6:18 AM, Stefan Arentz wrote:
> Most app servers or frameworks like Spring allow you to
> use placeholders in configuration files. Like
>
>  <property name="password" value="${my.password}"/>
>
> and then simply start the app with -Dmy.password=g3h31m

This only works if a person is starting the app at a keyboard.
If your application is starting at boot time or via some sort
of automated process, then you'll have to stuff the command line
(with password) in a script or config file somewhere and you are right
back where you started.



Gary Wright