File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JDBC and Relational Databases and the fly likes User Authentication for java in a Solaris OS Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » JDBC and Relational Databases
Reply locked New topic

User Authentication for java in a Solaris OS

sambasiva kumar

Joined: Jan 16, 2007
Posts: 24

My Query is : I need to get connected to the database using an id which is running on a Solaris machine form a java program.

The OS that we are using is : Solaris And the database is Oracle 10g.
The process that we follow normally is : Load the ClassLoader using Class.forName(); then establish a connection using DriverManager.getConnection("url","",""); in the above we pass the user name and password as parameters but, my requirement is that get a connection object without providing the password. hope i am clear.

Thanks in advance.

Jeanne Boyarsky
author & internet detective

Joined: May 26, 2003
Posts: 33106

Please don't post the same question multiple times. There is much valuable information in your original thread. Feel free to ask for more details there rather than just restating the question. I'll close this copy for you.

[OCA 8 book] [Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Other Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, TOGAF part 1 and part 2
I agree. Here's the link:
subject: User Authentication for java in a Solaris OS
It's not a secret anymore!