<span style=" font-size:10pt;font-family:sans-serif">Hello,</span><br><br><span style=" font-size:10pt;font-family:sans-serif">I am trying to
pass an authentication for requests to WFS services. As a test, I have
activated the logging of curl and have the errors output to a log file.</span><br><br><span style=" font-size:10pt;font-family:sans-serif">With HTTP-Basic
authentication it seems to work with the following parameters (no errors
are logged):</span><br><span style=" font-size:10pt;font-family:sans-serif">'Auth' is my ArrayList
to use in java processbuilder.</span><br><br><span style=" font-size:10pt;font-family:sans-serif">Auth:[[--config,
GDAL_HTTP_AUTH, BASIC, --config, GDAL_HTTP_USERPWD, username:password]]</span><br><br><span style=" font-size:10pt;font-family:sans-serif">But try this for
Bearer :</span><br><span style=" font-size:10pt;font-family:sans-serif">Auth:[[--config,
GDAL_HTTP_AUTH, BEARER, --config, GDAL_HTTP_BEARER, token]]</span><br><br><span style=" font-size:10pt;font-family:sans-serif">I get the following
error in the error log:</span><br><span style=" font-size:10pt;font-family:sans-serif">Warning 1: Unsupported
HTTPAUTH value 'BEARER', ignored.</span><br><br><br><span style=" font-size:10pt;font-family:sans-serif">What am I doing
wrong and what can I do so that Bearer authentication is also accepted?</span><br><span style=" font-size:10pt;font-family:sans-serif">Can I use curl
paramters directly instead?</span><br><br><span style=" font-size:10pt;font-family:sans-serif">Michael</span><br><span style=" font-size:10pt;font-family:sans-serif"><br></span><font face="sans-serif"></font>