ObjectDB ObjectDB

Password in Embedded Mode?

#1

Is there a way to setup a database file that will be accessed in embedded mode, such that it is locked with a password.  Thereby making it impossible to use ObjectDB to access the contents of the file without providing the correct password when obtaining a connection.  In my case, I'm interested in obtaining a JPA connection:

Map<String, String> map = new HashMap<String, String>();
map.put("blah.blah.password", "mypassword");
EntityManagerFactory emf = Persistence.createEntityManagerFactory(filename,map);
edit
delete
#2

Currently ObjectDB requires a password (and a user name) only in client-server mode.

It seems that in embedded mode password protection would be useful only with database encryption.

If you are interested in database encryption please subscribe to that feature request.

ObjectDB Support
edit
delete
#3

Thanks very much.

edit
delete

Reply

To post on this website please sign in.