From: Wolfgang M. <wol...@ex...> - 2012-04-15 09:07:49
|
> Is it possible that i can't access the BrookerPool because eXist is on Jetty > (8080) and my webapp on Tomcat(8081)? How can I get a SecurityManager > instance from remote? Ah, you can't use eXist's internal API on an external db. The way to authenticate a user through the XMLDB API is to call DatabaseManager.getCollection("/db", "user", "password"). If it returns null, the user is not authenticated. > UserManagerService will be perfect as alternative if it would return a > complete User object instead of one with empty password... For security reasons, eXist does not store the password and thus can't provide it! Only the user knows the clear text password ;-) Wolfgang |