My Oracle Support Banner

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

Last updated on AUGUST 09, 2023

Applies to:

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


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


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
 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

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