How do I validate a password in eXist-db 2.2 via the XMLDB-embedded java API?

61 views Asked by At

I am updating an eXist-db XMLDB-embedded application from v1.4 to v2.2 (using Java 1.8).

The user.validate(password) method has been removed in v2.2.

Has it been moved or renamed to another class ?

1

There are 1 answers

0
adamretter On BEST ANSWER

Presumably you could just attempt a login or retrieval of /db as that user, if it succeeds then you have the correct username/password, if not then you don't