ObjectDB ObjectDB

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


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.


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


To post on this website please sign in.