This won't work with cmp, and violates the principle of separating security into a separate parallel layer from business logic. The login module approach works with cmp and preserves separation.
david jencks On 2002.11.22 17:57:56 -0500 Guy Rouillier wrote: > Putting username and password in the config file allows getConnection(), > with no parameters, to work by using the values from the config file. > But > you don't have to use that approach. Put the credentials in some secure > place, then in your code (1) look up those credentials, and (2) call > getConnection(username, password). > > ----- Original Message ----- > From: <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Friday, November 22, 2002 3:47 AM > Subject: [JBoss-user] Encryption of configuration files > > > > > > > > Hi, > > > > I have an issue regarding the configuration files (specially > jboss.jcml) > used > > with JBoss 2.4.6. The problem is configuration of the pools to the > databases, > > where the usernames and passwords are written in human readable text. > Our > > customers are not particularly happy about this. > > > > Do any of the JBoss versions support encryption of these mission > critical > data ? > > > > Med venlig hilsen / regards > > > > Kris Kristensen > > System developer > > Business Communications Systems > > OM > > > > E-mail: [EMAIL PROTECTED] > > Direct : +4543559562 > > Fax: +4543559501 > > Phone: +4543559500 > > > > Visiting address: Struergade 16 ,DK-2630 Taastrup,Denmark > > http://www.omgroup.dk > > > > > > > > > > ------------------------------------------------------- > > This sf.net email is sponsored by:ThinkGeek > > Welcome to geek heaven. > > http://thinkgeek.com/sf > > _______________________________________________ > > JBoss-user mailing list > > [EMAIL PROTECTED] > > https://lists.sourceforge.net/lists/listinfo/jboss-user > > > > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > JBoss-user mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/jboss-user > > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user