curl. curl supports SPNEGO. Under the Features header, output of the
command should show either GSS-Negotiate or SPNEGO. For
example:# curl --versioncurl 7.22.0 (x86_64-pc-linux-gnu) libcurl/7.22.0
OpenSSL/1.0.1 zlib/1.2.3.4 libidn/1.23 librtmp/2.3Protocols:
dict file ftp ftps gopher http https imap imaps ldap pop3 pop3s rtmp rtsp smtp smtps telnet tftp
Features: GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz TLS-SRPkinit -p
<user> command,. Then, test curl with the following
command:curl --negotiate -u : -b ~/cookiejar.txt -c ~/cookiejar.txt
https://<web server node>:8443/rest/<API call> -k -vThis
command returns HTTP/1.1 200 OK when curl is working correctly with
SPNEGO.
Firefox
about:config.network.negotiate-auth.trusted-uris to bring up that property.network.negotiate-auth.trusted-uris and select
Modify to edit the property and enter the hostnames of the web server nodes
in your cluster as a comma-separated list.Chromium on Ubuntu
/etc/chromium-browser/default file and add the
following
property:CHROMIUM_FLAGS="--user-data-dir --auth-server-whitelist=<web server host names>"
The --user-data-dir flag enables the root user to launch the browser. The
--auth-server-whitelist flag specifies the web servers that support
SPNEGO authentication.