authentication against oracle db accounts?

D

dave

Hello,

We have several users with oracle accounts, and I want to authenticate
them based on their oracle username and password. I've setup a web
form to get the information and temporarily just try to connect to the
database with jdbc (i.e.
DriverManager.getConnection( connectionstring, username, password) ).

I'm sure there is a better way, is there something I could do just to
check that there username / password match the oracle account?

I looked at setting up a realm but we don't need any roles configured
in the j2ee server/container. Once the user authenticates, I am using
a connection pool with a special account just for the web application
(so i'm not connecting to database with the users account), the only
thing I'm saving is the username in their session.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,755
Messages
2,569,535
Members
45,007
Latest member
obedient dusk

Latest Threads

Top