Hi
Thanks for your support!
Andy is right, when I create a new docker image and copy the user.xml to /srv/BaseXData then I can authenticate with the credentials defined in user.xml. As the passwords are encrypted I just used the DBA webconsole to change the admin password on my local machine and then I can use this file when creating the docker image, i.e. in the Dockerfile I added the following line:
COPY users.xml /srv/BaseXData/
(changing the admin password has no effect...)
As so far I only used the BaseX GUI and now I'm using the docker version of BaseX for a new project I need to get a better understanding of how the server configuration and user management works.
I can still use all of my existing XQuery sciripts but some things needed to be changed:
- In order to use the SQL module when using BaseX in the docker container the jdbc drivers need to be copied to the path /usr/src/basex/basex-core/lib/ and not as one might guess to /lib/.
- In the import module statement the absolute path is needed, e.g.
import module namespace api="http://www.domain.com/myapp" at "/srv/BaseXWeb/modules/util.xqm";
Regards
Mike