There are several things you can do here. You could setup a datasource that is configured via JNDI. Your datasource could draw it's credentials from elsewhere. But, the prolbem is that your credentials have to be store somewhere. So, the question really winds up being... where is a safe place to store your credentials? You could simply configure the datasource with JNDI on the container level and place the password there ouside of the deployed web application.
Brandon On 5/23/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > Hi, > > Database password is quite sensitive information and providing this in plain > file is not an option for us. > Is there any way to set password programmatically? > > Or another scenario when password is changing often... > > Alex >