*
The moose likes JDBC and the fly likes context get password from context.xml Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » JDBC
Bookmark "context get password from context.xml" Watch "context get password from context.xml" New topic
Author

context get password from context.xml

Polo Palos
Greenhorn

Joined: Mar 17, 2006
Posts: 12
I have in context.xml crypted password.
File: context.xml

File: connectDB.java


How to get the username from context, decrypt it and then use it on setup the connection?

Polo
Wendy Gibbons
Bartender

Joined: Oct 21, 2008
Posts: 1107

Polo Palos wrote:I have in context.xml crypted password.
File: context.xml

File: connectDB.java


How to get the username from context, decrypt it and then use it on setup the connection?

Polo


Are you using any framework?
Polo Palos
Greenhorn

Joined: Mar 17, 2006
Posts: 12
I use Struts2.

Polo
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: context get password from context.xml
 
Similar Threads
Solution ------ Cannot create JDBC driver of class '' for connect URL 'null'
Unable to configure tomcat 6.0 datasource from within eclipse.
spring security form based login using database not responding
How to connect mysql database with struts application through jndi
Datasource configuration in Tomcat