aspose file tools*
The moose likes JDBC and the fly likes how can i use jndi to connect to rhe database Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » JDBC
Bookmark "how can i use jndi to connect to rhe database " Watch "how can i use jndi to connect to rhe database " New topic
Author

how can i use jndi to connect to rhe database

sandeep tava
Greenhorn

Joined: Apr 02, 2008
Posts: 9
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

Joined: Mar 24, 2008
Posts: 3832

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 ]

SCJP 5 | SCWCD 5
[How to ask questions] [Twitter]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: how can i use jndi to connect to rhe database