Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

context get password from context.xml

 
Polo Palos
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 1111
Eclipse IDE Oracle VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I use Struts2.

Polo
 
Don't get me started about those stupid light bulbs.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic