encrypted columns

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

encrypted columns

Werner Brasch
Hallo
I have set the column jdbcPassword In the entity TenantDataSource to encrypt="true" and it seems to work. It is possible to work on the new tenant.
But I don't know how the Security works, is the jdbcPassword now save, how does it works?

Best regards

Viele Grüße aus Bremen

Werner Brasch

Reply | Threaded
Open this post in threaded view
|

Re: encrypted columns

Ankush Upadhyay-2
Hello Welner,

I believe you should ask these types of questions on the user mailing list (
[hidden email]) please do subscribe if you are not on it. User
mailing list is the best place for such a question and you will get better
support on user mailing list.

Regarding your question, please check
https://cwiki.apache.org/confluence/display/OFBIZ/Multitenancy+support it
should help you to understand how it works.
There was another great discussion thread with subject *multi tenant setup
help* on user mailing list.




Kind Regards,
Ankush Upadhyay
Senior Technical Consultant

*HotWax Systems*
*Enterprise open source experts*
cell: +91-8109201285
office: 0731-409-3684
http://www.hotwaxsystems.com


On Thu, Apr 30, 2020 at 5:39 PM Werner Brasch <[hidden email]> wrote:

> Hallo
> I have set the column jdbcPassword In the entity TenantDataSource to
> encrypt="true" and it seems to work. It is possible to work on the new
> tenant.
> But I don't know how the Security works, is the jdbcPassword now save, how
> does it works?
>
> Best regards
>
> Viele Grüße aus Bremen
>
> Werner Brasch
>
>
Reply | Threaded
Open this post in threaded view
|

Re: encrypted columns

Jacques Le Roux
Administrator
In reply to this post by Werner Brasch
Le 30/04/2020 à 14:08, Werner Brasch a écrit :
> Hallo
> I have set the column jdbcPassword In the entity TenantDataSource to encrypt="true" and it seems to work. It is possible to work on the new tenant.
> But I don't know how the Security works, is the jdbcPassword now save, how does it works?
>
> Best regards
>
> Viele Grüße aus Bremen
>
> Werner Brasch

Hi Werner,

Yes the jdbcPassword value is then encrypted in the DB

If you want to know more look start looking at (just an example)
https://github.com/apache/ofbiz-framework/blob/trunk/framework/entity/src/main/java/org/apache/ofbiz/entity/GenericDelegator.java line 204

As said Ankush better ask this type of questions in the User ML, you will get faster and possibly more complete answer

Thanks

Jacques