Re: [basex-talk] WWW-Authenticate header

2019-02-04 Thread Johannes Bauer
Hi Christian, I've tested this and the multiple %perm:allow annotations again with the latest snapshot. Both are working as expected now. Thank you for taking care of this. Best regards Johannes Am 04.02.2019 um 14:57 schrieb Christian Grün: Hi Johannes, If the error code 401 is returned,

Re: [basex-talk] WWW-Authenticate header

2019-02-04 Thread Christian Grün
Hi Johannes, If the error code 401 is returned, the BaseX standard authentication values had been assigned to the response header. I have revised this a little: With the latest snapshot, the BaseX authentication header will only be assigned if the user does not provide a custom header in the

[basex-talk] WWW-Authenticate header

2019-01-30 Thread Johannes Bauer
Hello BaseX Team, I'm trying to implement a RESTXQ service that uses JWT tokens for authorization and authentication. For this purpose I use a permission check annotated function that validates the token and returns a 401 response if the token is invalid or missing. declare