tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From André Warnier>
Subject Re: can we pass OS username while connection Database from Tomcat
Date Thu, 28 May 2015 09:11:31 GMT
Vijay, do not "top post". As you can see below, it makes it difficult to follow the 

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 connection to the Oracle database from Tomcat using
> 'apps' user as this schema is having all permissions.
> One of my client want to monitor the connections that are created from my
> application. For this i want to pass my Linux user information (userid)
> while creating the connection from my application or in context.xml file.
> Please suggest is it possible or not?
> Regards,
> Vijay G
> On Thu, May 28, 2015 at 1:14 PM, 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 work is on the
>> TODO list. It is likely that some combination of configuration, Tomcat
>> code changes and application changes will be required.
>> Mark
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail:
>> For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message