From:
<basex-talk-bounces@mailman.uni-konstanz.de> on behalf of Dave Day <David.Day@duke-software.com>
Date: Tuesday, October 17, 2017 at 9:53 AM
To: "basex-talk@mailman.uni-konstanz.de" <basex-talk@mailman.uni-konstanz.de>
Subject: [basex-talk] AUTHMETHOD = Custom
Greetings list,
In the Basex configuration file, I added
AUTHMETHOD = Custom
After starting the server, the 1st response I get from the server when I connect to it is the realm:nonce values.
In the Basex manual, it states for AUTHMETHOD
Specifies the default authentication method, which will be used by the HTTP server for negotiating
credentials. Allowed values are Basic, Digest, and Custom:
With custom authentication, the server will not do any authentication.
Is it possible to connect to Basex server without going thru any authentication?
Someone probably has a better answer than this. Web applications that you write using RESTXQ don’t have to require authentication. So, if RESTXQ fits with what you want to do, that would be one way to not require authentication for your applications. You could also create a user with a throw away password like “password”, grant the user admin permissions and then you can use that user to use BaseX REST functions or command from the basex server (not http).
For example, if you create user test with password test and granted the user admin, then:
http://test:test@localhost:8984/basex/rest?command=list
Also, by default admin user’s password is admin.
Or you could embed basex within a java application.
Kendall