Oracle has this concept, allowing database users to be identified by the user of the operating system that runs the program that connects to Oracle. See here .
This allows you, for example, to use this user on a unix machine, for example:
sqlplus /
I am trying to write a Java program for Oracle 10.2 that connects without a username or password. Obvious choice of url:
jdbc:oracle:thin:/@localhost:1521:MYDBSID
doesn't work giving an error (Sorry, I don't have an available error right now).
I tried to do so many others, but no luck.
Does anyone have any suggestions on how I can connect a Java program to Oracle using the OS authentication method?