On 11/22/07, nutanc <[EMAIL PROTECTED]> wrote: > > > Hi, > We are implementing an application using appfuse in a bank environment.One > of the requirements of the bank is that there be no clear text passwords > stored in any of the files. Unfortunately, in appfuse we store the > password > in clear text in one or two locations like > applicationContext-resources.xml. > Is there a way to keep the password in the xml file in an encrypted > mode.can > anyone please suggest a way for this.Thanks in advance. > -Chaitanya
Assuming your chosen web container encrypts passwords for jdbc connections configured via its management interface you maybe better off using JNDI to look up the datasource. The applicationContext-resources.xml shipped as part of the AppFuse archetypes already contains an example for the Spring declarations to look up a database connection using JNDI. Mike > -- > View this message in context: > http://www.nabble.com/Encryption-of-database-password-in-applicationContext-resources.xml-tf4856119s2369.html#a13895904 > Sent from the AppFuse - User mailing list archive at Nabble.com. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > >
