Solved

jdbc connection through Windows OS Authentication

Posted on 2007-11-20
2
2,019 Views
Last Modified: 2008-02-01
We are trying to use jdbc to connect to an Oracle database using Windows OS Authentication.  When using Windows OS Authentication, we don't need to specify the password.

When we try to connect with the jdbc thin client, it says that it will not work without a password specified.

Is there a way to get the jdbc thin client to connect using Windows OS Authentication, or should we be using something like jdbc OCI, etc.?
0
Comment
Question by:dastrw
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
2 Comments
 
LVL 9

Accepted Solution

by:
techji earned 500 total points
ID: 20325782
If I remember it right, there were some security issues around this JDBC thin client using OS Authentication and oracle couldn't come up with a fix and they abandoned it in 9i. Not sure if they added it to 10g as a feature or not. I will have to check the JDBC docs to get a better answer.
0
 
LVL 9

Assisted Solution

by:techji
techji earned 500 total points
ID: 20325794
Sorry mate. Here is what oracle says "Only the JDBC/OCI driver supports an OS authentication login connection." No support yet for OS authentication via JDBC thin client.
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
ORA-02288: invalid OPEN mode 2 124
Fill Date time Field 12 44
Toad 12.10 Enterprise visual interface 4 46
ORA-01843: not a valid month - use NVL 14 7
Why doesn't the Oracle optimizer use my index? Querying too much data Most Oracle developers know that an index is useful when you can use it to restrict your result set to a small number of the total rows in a table. So, the obvious sideā€¦
When it comes to protecting Oracle Database servers and systems, there are a ton of myths out there. Here are the most common.
Via a live example, show how to restore a database from backup after a simulated disk failure using RMAN.
This video shows how to copy an entire tablespace from one database to another database using Transportable Tablespace functionality.

738 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question