RE: can we pass OS username while connection Database from Tomcat

2015-06-01 Thread Jeffrey Janner
I believe what you are asking for is already available. See inline comments below. > -Original Message- > From: Vijay Kumar [mailto:vijy.gan...@gmail.com] > Sent: Monday, June 01, 2015 7:48 AM > To: Tomcat Users List > Subject: Re: can we pass OS username while connectio

Re: can we pass OS username while connection Database from Tomcat

2015-06-01 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Vijay, On 6/1/15 8:47 AM, Vijay Kumar wrote: > Hi, > > Client want to monitor whether the connection is established from > my application or their existing applications. Because all these > are connecting the database from APPS user. > > 1) My Tom

Re: can we pass OS username while connection Database from Tomcat

2015-06-01 Thread Vijay Kumar
ease see response below post: > > > -Original Message- > > From: Vijay Kumar [mailto:vijy.gan...@gmail.com] > > Sent: Thursday, May 28, 2015 7:22 AM > > To: Tomcat Users List > > Subject: Re: can we pass OS username while connection Database from > >

RE: can we pass OS username while connection Database from Tomcat

2015-05-29 Thread Jeffrey Janner
Please see response below post: > -Original Message- > From: Vijay Kumar [mailto:vijy.gan...@gmail.com] > Sent: Thursday, May 28, 2015 7:22 AM > To: Tomcat Users List > Subject: Re: can we pass OS username while connection Database from > Tomcat > > Hi , >

Re: can we pass OS username while connection Database from Tomcat

2015-05-28 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Vijay, On 5/28/15 8:21 AM, Vijay Kumar wrote: > I am referring User_Id as Linux User_id where we installed Tomcat. > > My Oracle Database don't know about this user_id. Have you tried this? I know that catalina.properties will do system-pr

Re: can we pass OS username while connection Database from Tomcat

2015-05-28 Thread André Warnier
Vijay Kumar wrote: Hi , I am referring User_Id as Linux User_id where we installed Tomcat. My Oracle Database don't know about this user_id. We seem to have some communication issue. But I have sinned a lot in my life, so this will probably count as redemption points. Another try : 1) re

Re: can we pass OS username while connection Database from Tomcat

2015-05-28 Thread Vijay Kumar
Hi , I am referring User_Id as Linux User_id where we installed Tomcat. My Oracle Database don't know about this user_id. Thanks, Vijay G On Thu, May 28, 2015 at 3:20 PM, André Warnier wrote: > Vijay Kumar wrote: > >> Hi Mark, >> >> Please find below my exact requirement. >> >> I have Oracle

Re: can we pass OS username while connection Database from Tomcat

2015-05-28 Thread André Warnier
Vijay Kumar wrote: Hi Mark, Please find below my exact requirement. I have Oracle Database where my objects are installed and I have also a Linux instance where i installed Tomcat. I am currently creating connection to the Oracle database from Tomcat using 'apps' user as this schema is having a

Re: can we pass OS username while connection Database from Tomcat

2015-05-28 Thread Vijay Kumar
Hi Mark, Please find below my exact requirement. I have Oracle Database where my objects are installed and I have also a Linux instance where i installed Tomcat. I am currently creating connection to the Oracle database from Tomcat using 'apps' user as this schema is having all permissions. One

Re: can we pass OS username while connection Database from Tomcat

2015-05-28 Thread André Warnier
Vijay Kumar wrote: Hi Mark, Thanks for your update. I should have specify my requirement little more clear to you to understand what you are saying. I have Oracle Database where my objects are installed and I have also a Linux instance where i installed Tomcat. I am currently creating connecti

Re: can we pass OS username while connection Database from Tomcat

2015-05-28 Thread Mark Thomas
On 28/05/2015 09:59, André Warnier wrote: > Mark Thomas wrote: >> On 28/05/2015 08:26, Vijay Kumar wrote: >>> Hi, >>> >>> Is it possible to pass OS username when making connection to any >>> Database >>> from Tomcat context.xml? >> >> In theory this should be possible if you are using SPNEGO authen

Re: can we pass OS username while connection Database from Tomcat

2015-05-28 Thread André Warnier
Vijay, do not "top post". As you can see below, it makes it difficult to follow the conversation. Vijay Kumar wrote: Hi Mark, Thanks for your update. I should have specify my requirement little more clear to you to understand what you are saying. I have Oracle Database where my objects are i

Re: can we pass OS username while connection Database from Tomcat

2015-05-28 Thread André Warnier
Mark Thomas wrote: On 28/05/2015 08:26, Vijay Kumar wrote: Hi, Is it possible to pass OS username when making connection to any Database from Tomcat context.xml? In theory this should be possible if you are using SPNEGO authentication. Testing this to figure out what is required to make it w

Re: can we pass OS username while connection Database from Tomcat

2015-05-28 Thread Vijay Kumar
Hi Mark, Thanks for your update. I should have specify my requirement little more clear to you to understand what you are saying. I have Oracle Database where my objects are installed and I have also a Linux instance where i installed Tomcat. I am currently creating connection to the Oracle data

Re: can we pass OS username while connection Database from Tomcat

2015-05-28 Thread Mark Thomas
On 28/05/2015 08:26, Vijay Kumar wrote: > Hi, > > Is it possible to pass OS username when making connection to any Database > from Tomcat context.xml? In theory this should be possible if you are using SPNEGO authentication. Testing this to figure out what is required to make it work is on the T

can we pass OS username while connection Database from Tomcat

2015-05-28 Thread Vijay Kumar
Hi, Is it possible to pass OS username when making connection to any Database from Tomcat context.xml? Thanks, Vijay G