title: How to connect to oracle database with os authentication?
body: <p>i have <strong>oracle 11g database</strong> that is configured to be connected via <strong>os authentication</strong> with only the alias/tns name of the database and doesn't required username/password.</p>
  
  <p>so i was wondering what is the easiest way to make connection to oracle database with os authentication via java, because i tried oci example as in this post <a href="https://stackoverflow.com/questions/19223416/java-lang-unsatisfiedlinkerror-no-ocijdbc11-in-java-library-path">java.lang.UnsatisfiedLinkError: no ocijdbc11 in java. library.path</a> and stuck with it, so please advise if there are other simple ways to make this connection.</p>