Skip to main content

Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

EclipseLink/Examples/JPA/Oracle/Proxy

< EclipseLink‎ | Examples‎ | JPA‎ | Oracle
Revision as of 21:09, 29 March 2008 by Douglas.clarke.oracle.com (Talk | contribs) (Passing in the User Credentials)

Catnicon.gifThis page is under construction.

How to use EclipseLink JPA with Oracle Proxy Authentication

The Oracle database offers proxy authentication enabling the application to leverage a shared data source connected to the database by a single common/default user and then when used within the application the connection can be 'proxied' to be a different user. This offers the benefit of the database having knowledge of the specific user for the purposes of auditing or secure data access.

In this how-to the focus is on the usage of proxy authentication in conjunction with EclipseLink's JPA.

Overview

Configuration

Opening the Proxy Session

Passing in the User Credentials

Passing in the credentials required for opening the proxy session involves passing the Properties to the event listener.

Back to the top