You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Umesh Bhatt <um...@mindtree.com> on 2011/06/07 17:44:36 UTC
DB password in context.xml
Hi,
I want to keep DB password in encrypted form in context.xml and decrypt it in my application before calling ds.getConnection().
Please let me know how to achieve it.
Thanks,
Umesh
________________________________
http://www.mindtree.com/email/disclaimer.html
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
Re: DB password in context.xml
Posted by Christopher Schultz <ch...@christopherschultz.net>.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Umesh,
On 6/7/2011 11:44 AM, Umesh Bhatt wrote:
> I want to keep DB password in encrypted form in context.xml and
> decrypt it in my application before calling ds.getConnection().
> Please let me know how to achieve it.
Here is a distillation of all the arguments (and flawed solutions) that
have floated around the archives:
http://wiki.apache.org/tomcat/FAQ/Password
- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iEYEARECAAYFAk3uaJkACgkQ9CaO5/Lv0PDciwCfXEVHwrHMel5q7HGK7ofGSeLg
LgoAoKG9RY71LoXhMCaZShSm256VA9l3
=6HSg
-----END PGP SIGNATURE-----
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
Re: DB password in context.xml
Posted by Mark Thomas <ma...@apache.org>.
On 07/06/2011 17:03, Umesh Bhatt wrote:
>
> Hi,
>
> My web application will be decrypting the password which has decryption key. I do not want to keep password in plain text in context.xml.
And where is your web application going to get this decryption key from?
> Can you give me the link for archives?
Links are available from the Tomcat website.
Mark
>
> Thanks,
> Umesh
>
> ________________________________________
> From: Mark Thomas [markt@apache.org]
> Sent: Tuesday, June 07, 2011 9:28 PM
> To: Tomcat Users List
> Subject: Re: DB password in context.xml
>
> On 07/06/2011 16:44, Umesh Bhatt wrote:
>>
>> Hi,
>>
>> I want to keep DB password in encrypted form in context.xml and decrypt it in my application before calling ds.getConnection().
>> Please let me know how to achieve it.
>
> And where is Tomcat going to get the decryption key from?
>
> Hint: Save yourself some time and search the archives.
>
> Mark
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>
> ________________________________
>
> http://www.mindtree.com/email/disclaimer.html
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
RE: DB password in context.xml
Posted by Umesh Bhatt <um...@mindtree.com>.
Hi,
My web application will be decrypting the password which has decryption key. I do not want to keep password in plain text in context.xml.
Can you give me the link for archives?
Thanks,
Umesh
________________________________________
From: Mark Thomas [markt@apache.org]
Sent: Tuesday, June 07, 2011 9:28 PM
To: Tomcat Users List
Subject: Re: DB password in context.xml
On 07/06/2011 16:44, Umesh Bhatt wrote:
>
> Hi,
>
> I want to keep DB password in encrypted form in context.xml and decrypt it in my application before calling ds.getConnection().
> Please let me know how to achieve it.
And where is Tomcat going to get the decryption key from?
Hint: Save yourself some time and search the archives.
Mark
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
________________________________
http://www.mindtree.com/email/disclaimer.html
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
Re: DB password in context.xml
Posted by Mark Thomas <ma...@apache.org>.
On 07/06/2011 16:44, Umesh Bhatt wrote:
>
> Hi,
>
> I want to keep DB password in encrypted form in context.xml and decrypt it in my application before calling ds.getConnection().
> Please let me know how to achieve it.
And where is Tomcat going to get the decryption key from?
Hint: Save yourself some time and search the archives.
Mark
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org