Re: [basex-talk] Location of users.xml
Hi Tom, > is it possible to override the expected location of users.xml? Currently no, but it’s possible to have the data directory inside the war file. Do you use a custom location? If you use RESTXQ, you could use XQuery to copy a users.xml file to the database directory. Christian >> The permission file has been moved from the home directory to the >> database directory. It was renamed from .basexperm to users.xml > > We're using the war distribution, and would prefer to either specify > the location of users.xml via a parameter or have it reside in the > war. > > Is this currently possible? > > Thanks, > -tom >
Re: [basex-talk] Location of users.xml
Hi Christian, hope you're well! >> is it possible to override the expected location of users.xml? > > Currently no, but it’s possible to have the data directory inside the > war file. Do you use a custom location? > > If you use RESTXQ, you could use XQuery to copy a users.xml file to > the database directory. Thanks for the quick response. We use the java client api, so the users.xml needs to be in place or we won't be able to connect. We use usually use a custom location for the database directory. I'll have to think about this a bit more, but I guess we could adapt the war file to our needs and copy the users.xml to the database directory when basex starts up. > Christian Thanks, -tom
[basex-talk] Location of users.xml
Hi, is it possible to override the expected location of users.xml? >From the wiki (http://docs.basex.org/wiki/User_Management) > The permission file has been moved from the home directory to the > database directory. It was renamed from .basexperm to users.xml We're using the war distribution, and would prefer to either specify the location of users.xml via a parameter or have it reside in the war. Is this currently possible? Thanks, -tom