My Oracle Support Banner

Using a Secure External Password Store with the JDBC Thin Driver (Doc ID 1441745.1)

Last updated on FEBRUARY 02, 2018

Applies to:

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

Goal

Credentials for connecting to databases can be stored in a client-side Oracle wallet and allow the client to connect without need to supply a username and password.
The wallet is accessed in a secure way and the credentials are looked up based on the JDBC connection string.
This note provides a complete demonstration on how to set up the wallet and as the JDBC/thin program that uses the wallet.


This demonstration does not use SSL and does not depend on a server wallet.  The goal is simply to have a client-side wallet to store the credentials and perform a simple JDBC connection using TCP



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
 Creating the Client side Wallet
 Creating the wallet:
 Adding the credential for Linux:
 Adding the credential for Windows:
 Listing the Wallet Credentials:
 The JDBC program:
 The Source Code
 Compiling and Running:
 Optional Information
 Preventing the Wallet from being used from another Machine
References


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