My Oracle Support Banner

How to Ensure USER Session Variable Accurately Reflects "real" User When Using Proxy Authentication with JDBC (Doc ID 431202.1)

Last updated on DECEMBER 19, 2023

Applies to:

JDBC - Version 10.1.0.2 to 10.2.0.3 [Release 10.1 to 10.2]
Information in this document applies to any platform.
Information in this document applies to any platform.

Goal

Q1:  When using proxy authentication with Oracle's JDBC drivers, how does one ensure that the "real" user, rather than the proxy user, is reported back to the calling Java application?



Q2:  When using proxy authentication with Oracle's JDBC drivers, how does one ensure that the "real" user, rather than the proxy user, will be reflected when inserting into an Oracle table a USER variable similar to the USER session variable available from SQL*Plus and PL/SQL?






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


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