File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Websphere and the fly likes Security with Oracle8i Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Products » Websphere
Bookmark "Security with Oracle8i" Watch "Security with Oracle8i" New topic

Security with Oracle8i

Balbir Singh
Ranch Hand

Joined: Jun 01, 2001
Posts: 79
I want to store the userid and pwd for connecting to oracle8i using thin driver,(so i cant store userid and pwd for the dburl in admin.config file for security) so how can the funcionality be achieved.

Thanks and Regards<br />Balbir Singh<br />Sun Certified Java Programmer<br />IBM Certified Administrator for WebSphere4.0
Rahul Mahindrakar
Ranch Hand

Joined: Jul 28, 2000
Posts: 1864
Could you please elaborate and clarify
Balbir Singh
Ranch Hand

Joined: Jun 01, 2001
Posts: 79
I have made a datasource which uses oracle thin driver, when i look up for the datasource using jndi, say i get a datasouce object ds, so i make a call ds.getConnection(userid,password), but what i want is to use ds.getConnection(), so i wont be giving userid and password in my class file, i havent been able to configure where i have to give userid and password for the datasource in admin console of websphere. The functionality achieved will be security regarding connecting to Oracle.
I agree. Here's the link:
subject: Security with Oracle8i
It's not a secret anymore!