You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomee.apache.org by slawek <s....@gmail.com> on 2014/01/26 21:57:07 UTC
tomee and database password
Hello,
I use tomee on production in two small projects. It works well and I'm happy
to use it. Unfortunately according to internal company policy ther is one
problem because database password is in clear text in tomee.xml file. I
would like to secure this password, but I don't know how to do that. How to
resolve this problem?
Best Regards
sw
-----
Best Regards
sw
--
View this message in context: http://openejb.979440.n4.nabble.com/tomee-and-database-password-tp4667299.html
Sent from the OpenEJB User mailing list archive at Nabble.com.
Re: tomee and database password
Posted by Thiago Veronezi <th...@veronezi.org>.
I never did it myself, but try to use this tip
http://tomee.apache.org/examples-trunk/datasource-ciphered-password/README.html
[]s,
Thiago.
On Jan 26, 2014 4:03 PM, "slawek" <s....@gmail.com> wrote:
> Hello,
> I use tomee on production in two small projects. It works well and I'm
> happy
> to use it. Unfortunately according to internal company policy ther is one
> problem because database password is in clear text in tomee.xml file. I
> would like to secure this password, but I don't know how to do that. How to
> resolve this problem?
>
> Best Regards
> sw
>
>
>
> -----
> Best Regards
> sw
> --
> View this message in context:
> http://openejb.979440.n4.nabble.com/tomee-and-database-password-tp4667299.html
> Sent from the OpenEJB User mailing list archive at Nabble.com.
>
Re: tomee and database password
Posted by Romain Manni-Bucau <rm...@gmail.com>.
It works without dbcp too ;)
Le lundi 27 janvier 2014, Jean-Louis MONTEIRO <je...@gmail.com> a écrit :
> Just 2 notes
> - in Tomee you need to set the datasource to dbcp, default is tomcat-pool
> - the utility to cipher uncipher is also available from tomee scripts in
> bin directory
> Le 27 janv. 2014 19:24, "slawek" <s....@gmail.com> a écrit :
>
>> Thanks. This is exactly what I was looking for. Tomorrow I will test it.
>> As I
>> understand I need to download openejb standalone distribution to find
>> openejb .... program and it should work with tomee 1.6 version without
any
>> hacks?
>>
>> Best Regards.
>>
>>
>>
>> -----
>> Best Regards
>> sw
>> --
>> View this message in context:
>>
http://openejb.979440.n4.nabble.com/tomee-and-database-password-tp4667299p4667326.html
>> Sent from the OpenEJB User mailing list archive at Nabble.com.
>>
>
--
*Romain Manni-Bucau*
*Twitter: @rmannibucau <https://twitter.com/rmannibucau>*
*Blog: **http://rmannibucau.wordpress.com/*<http://rmannibucau.wordpress.com/>
*LinkedIn: **http://fr.linkedin.com/in/rmannibucau
<http://fr.linkedin.com/in/rmannibucau>*
*Github: https://github.com/rmannibucau <https://github.com/rmannibucau>*
Re: tomee and database password
Posted by Jean-Louis MONTEIRO <je...@gmail.com>.
Just 2 notes
- in Tomee you need to set the datasource to dbcp, default is tomcat-pool
- the utility to cipher uncipher is also available from tomee scripts in
bin directory
Le 27 janv. 2014 19:24, "slawek" <s....@gmail.com> a écrit :
> Thanks. This is exactly what I was looking for. Tomorrow I will test it.
> As I
> understand I need to download openejb standalone distribution to find
> openejb .... program and it should work with tomee 1.6 version without any
> hacks?
>
> Best Regards.
>
>
>
> -----
> Best Regards
> sw
> --
> View this message in context:
> http://openejb.979440.n4.nabble.com/tomee-and-database-password-tp4667299p4667326.html
> Sent from the OpenEJB User mailing list archive at Nabble.com.
>
Re: tomee and database password
Posted by slawek <s....@gmail.com>.
Thanks. This is exactly what I was looking for. Tomorrow I will test it. As I
understand I need to download openejb standalone distribution to find
openejb .... program and it should work with tomee 1.6 version without any
hacks?
Best Regards.
-----
Best Regards
sw
--
View this message in context: http://openejb.979440.n4.nabble.com/tomee-and-database-password-tp4667299p4667326.html
Sent from the OpenEJB User mailing list archive at Nabble.com.
Re: tomee and database password
Posted by Romain Manni-Bucau <rm...@gmail.com>.
Hi
http://tomee.apache.org/datasource-password-encryption.html should help
Romain Manni-Bucau
Twitter: @rmannibucau
Blog: http://rmannibucau.wordpress.com/
LinkedIn: http://fr.linkedin.com/in/rmannibucau
Github: https://github.com/rmannibucau
2014-01-26 slawek <s....@gmail.com>:
> Hello,
> I use tomee on production in two small projects. It works well and I'm happy
> to use it. Unfortunately according to internal company policy ther is one
> problem because database password is in clear text in tomee.xml file. I
> would like to secure this password, but I don't know how to do that. How to
> resolve this problem?
>
> Best Regards
> sw
>
>
>
> -----
> Best Regards
> sw
> --
> View this message in context: http://openejb.979440.n4.nabble.com/tomee-and-database-password-tp4667299.html
> Sent from the OpenEJB User mailing list archive at Nabble.com.