Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.misc -> Need Java sample code for switching between proxy sessions

Need Java sample code for switching between proxy sessions

From: Holger Peine <peine_at_iese.fraunhofer.de>
Date: Thu, 28 Aug 2003 15:55:47 +0200
Message-ID: <3f4e0a19@news.fhg.de>


Hello everyone,

I want to use the proxy authentication and lightweight session feature possible with Oracle 9i. I'd like to create several proxy user sessions on one db connection in Java (that's described for one user session in http://otn.oracle.com/sample_code/tech/java/sqlj_jdbc/files/9i_jdbc/OCIMidAuthSample/Readme.html) and then switch between several such user sessions. However, I cannot find any documentation on OTN how to do this in Java/JDBC. The only sample code I could find for this is in C (in the cdemoses.c file available at http://otn.oracle.com/sample_code/tech/oci/content.html)

Has anyone done this before and can show me their code?

Thanks for your help,
Holger.

-- 
Dr. Holger Peine
Fraunhofer IESE, Kaiserslautern, Germany
Phone +49-6301-707-134, Fax -200 (shared)
www.iese.fraunhofer.de/Staff/peine -- PGP key on request or via pgp.mit.edu
Received on Thu Aug 28 2003 - 08:55:47 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US