Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

how can i use jndi to connect to rhe database

 
sandeep tava
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
My requirement:

I am using JNDI to Connect to the database.For that i am specifying the parameters in context.xml...But i want to choose the password field to be encrypted i.e. password cannot be visible in a cleartext.How can i do that?
Otherwise is there any other way to use jndi for hiding the password details.
 
Vijitha Kumara
Bartender
Posts: 3913
9
Chrome Fedora Hibernate
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Not clear what's your exact requirement.
password cannot be visible in a cleartext


this has something to do with authentication?

Sun JNDI tutorial might be helpful (contains LDAP Authenticaion details as well if you are interested)
[ November 05, 2008: Message edited by: Vijitha Kumara ]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic