Ok, I have solved my problem. The authentication is coupled to the collection and not to the database connection as I had assumed. So one can get a collection with getCollection(String collection, String username, String password) and then add resources to it, ... Maybe this can find its way into the XML:DB pseudo protocol as well?
Thanks anyway, Thomas Thomas Soddemann wrote: >Thanks, > >the targeted db is currently eXist, but may also be some other like >Tamino in future. >With xmlrpc everything works fine. When using the XML:DB API the user >'guest' is selected by default in eXist. >My hope was, that there are some parameters which can shipped with the >request to the db, since it is also possible to modify user accounts via >the XML:DB UserManagementService (at least if the admin password has not >been set ;)). >So in general, does anybody know how to set the user when talking to a >db via XML:DB? > >Regards, >Thomas > >P.S.: In all cases, the database is stand alone (remote from a coocon >perspective). > > > > > > -- -------------------------------------------------- Dr. Thomas Soddemann | Boltzmannstrasse 2 Projects Engineer | 85748 Garching Rechenzentrum der MPG | Germany am MPI fuer Plasmaphysik | --------------------------------------------------- phone: +49 89 3299 2694 | fax: +49 89 3299 1301 --------------------------------------------------- --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]