does ObjectDB / JPA support simple password field encryption of an entity class?

#1

We are persisting certain passwords entered by user in a form binded with an entity. Is there any direct ObjectDB support to just encrypt the password field? We would like to either encrypt or make it unreadble when object DB database file is opened. There are many standard Password based encryption (PBE) api's supported by Java. But we are looking for a simple approach as we have just have one or two passwords field of an entity to protect. Appreciate any suggestions, Thanks.

#2

ObjectDB does not (currently) support this ability.

Consider using JPA Lifecycle Events to encrypt the fields before persisting and decrypt them after load.

ObjectDB Support

Reply