preserve auth behavior like older basex versions
For RESTXQ auth its unclear to me what the entry is to preserve older versions of basex auth. Thank!
see...
http://docs.basex.org/wiki/Web_Application
- Authentication was readded to RESTXQ. As a consequence, you need to specify the admin user in your web.xml file if you want to preserve the behavior of older versions of BaseX. - In turn, if users are defined in the web.xml file, no passwords must be specified anymore. - The server-side authentication method, and default users, are now enforced and cannot be overwritten by client.
Hello Erik,
hopefully our web.xml file included with BaseX (as part of the DBA) clears things up for you: https://github.com/BaseXdb/basex/blob/master/basex-api/src/main/webapp/WEB-INF/web.xml#L28
Cheers
Dirk
Quoted text · Erik Peterson · 17 lines
On 03/03/2017 09:52 PM, Erik Peterson wrote: > For RESTXQ auth its unclear to me what the entry is to preserve older > versions of basex auth. Thank! > > see... > > http://docs.basex.org/wiki/Web_Application > <http://docs.basex.org/wiki/Web_Application> > > * Authentication was readded to RESTXQ. As a consequence, you need > to specify the |admin| user in your |web.xml| file if you want to > preserve the behavior of older versions of BaseX. > * In turn, if users are defined in the |web.xml| file, no passwords > must be specified anymore. > * The server-side authentication method, and default users, are now > enforced and cannot be overwritten by client. >
Written for BaseX 8.6. BaseX may have changed since: please check the current documentation.