janusgraph icon indicating copy to clipboard operation
janusgraph copied to clipboard

JanusGraphSimpleAuthenticator (credentialsDb) does not work for Berkeleyje storage backend

Open vtslab opened this issue 4 years ago • 0 comments

In two independent reports, users started configuring the JanusGraphSimpleAuthenticator with a Berkeleyje storage backend and only hit a "invalid username/password" upon remote connection:
https://lists.lfaidata.foundation/g/janusgraph-users/topic/authentication_in_janusgraph/81052019
https://groups.google.com/g/janusgraph-users/c/iVqlUS2zQbc/m/vmf8PgEQBAAJ
This failing behavior was encountered on both janusgraph-0.5.3 and janusgraph-0.3.2. Apparently, there is some incompatibility between JanusGraphSimpleAuthenticator and the berkeleyje storage backend. New users added to the credentialsdb are in fact committed to the storage and can be retrieved by opening the credentials graph in the gremlin console, see the links above for more details.

Because the Berkeley is not an important storage backend to JanusGraph, the workaround is simple: choose a different storage backend for the credentialsDb.

vtslab avatar Mar 06 '21 16:03 vtslab