Hi guys,

I noticed a pretty critical problem with OrientDB 1.7

Basically, my application creates a database using the Java API and then 
changes the admin password with the code below:

OUser oUser = security.getUser("admin");
oUser.setPassword("mypassword"); 
oUser.addRole("admin"); 
oUser.save(); 


If I try to access the database using "mypassword" it does not work (User 
or password not valid for database: mydb). Same error from console.

Using the default password ('admin') it works. 

If I restart the server I have to use 'mypassword' to connect to the 
database.

I think this problem is related to the introduction of the User cache 
feature (https://github.com/orientechnologies/orientdb/issues/2196).

How can I completely disable the cache to sort the problem out?

Cheers,

F.

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"OrientDB" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to