Solved

jdbc connection through Windows OS Authentication

Posted on 2007-11-20
2
2,027 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

[Webinar] Learn How Hackers Steal Your Credentials

Do You Know How Hackers Steal Your Credentials? Join us and Skyport Systems to learn how hackers steal your credentials and why Active Directory must be secure to stop them. Thursday, July 13, 2017 10:00 A.M. PDT

Question has a verified solution.

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

Working with Network Access Control Lists in Oracle 11g (part 1) Part 2: http://www.e-e.com/A_9074.html So, you upgraded to a shiny new 11g database and all of a sudden every program that used UTL_MAIL, UTL_SMTP, UTL_TCP, UTL_HTTP or any oth…
Background In several of the companies I have worked for, I noticed that corporate reporting is off loaded from the production database and done mainly on a clone database which needs to be kept up to date daily by various means, be it a logical…
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.
This videos aims to give the viewer a basic demonstration of how a user can query current session information by using the SYS_CONTEXT function

705 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