My Oracle Support Banner

How To Use an External Password Store with JDBC/Thin (Doc ID 1123423.1)

Last updated on MAY 04, 2021

Applies to:

JDBC - Version 10.2.0.1 and later
Information in this document applies to any platform.

Goal

This article shows how to use an External Password Store with JDBC/Thin.

The prerequisite for this article is <Note 403744.1> "How to Use an External Password Store With The JDBC Driver" which shows how to create a wallet for an External Password Store and use it with JDBC/OCI.

NOTE:  In this article, all configuration details like server names,  usernames, instance names, schema names, domain names, etc. used in the  images and examples below represent a fictitious sample for clarity or  are default installation values.  These and any value placeholder values  including the  which may surround the placeholders should be  replaced by the actual values used in your environment. Any similarity  to actual environments, past or present, or users, living or dead, is  purely coincidental and not intended in any manner.

Solution

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Goal
Solution
 1. Excerpts from JDBC Developer's Guides and an OTN Technical Brief
 2. Jar files, wallet files, and tnsnames.ora
 3. SecureExternalPassword.java
 4. Run SecureExternalPassword
 4.1. JDBC 10.2
 4.2. JDBC 11
 5. Variations
 5.1. OracleDataSource instead of DriverManager
 5.2. Wallet location as a system property instead of a connection property
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.