james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Norman Maurer <nor...@apache.org>
Subject Re: James 3 JPA question
Date Thu, 07 Jul 2011 06:37:04 GMT
Hi there,

maybe its also good to VOTE for this:

https://issues.apache.org/jira/browse/OPENJPA-763


Bye,
Norman

Am 07.07.2011 06:45, schrieb Eric Charles:
> Hi,
> This does not seem to be supported via JPA.
>
> You could extend the class, rewrite the accessor to encrypt/decrypt 
> and update persistence.xml to define your class.
>
> You could also read 
> http://www.jroller.com/DhavalDalal/entry/database_field_level_encryption_using.
>
> Hopes this help.
> Thx.
>
> On 06/07/11 23:02, Saibabu Vallurupalli wrote:
>> Hi,
>>
>> I am new to Apache James we are using Apache James with MySQL database.
>> I have a requirement to encrypt and decrypt the email message. I have 
>> spent
>> some time to understand how the persistence mechanism works in James. 
>> Found
>> persistence.xml file and also sqlResources.xml file. After running some
>> tests, I found sqlResources.xml file is not used anymore in my
>> configuration.
>>
>> Now, My question is how the james_mail table is getting updated? Is 
>> there
>> any possibility to Encrypt/Decrypt message? I thought it is easy if
>> sqlResources.xml file is used. I can simple add AES_Encrypt and 
>> AES_Decrypt
>> functions to column.
>>
>> Please help me with this.
>>
>> Thanks,
>> Sai
>>
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org


Mime
View raw message