This archive contains answers to questions sent to Unidata support through mid-2025. Note that the archive is no longer being updated. We provide the archive for reference; many of the answers presented here remain technically correct, even if somewhat outdated. For the most up-to-date information on the use of NSF Unidata software and data services, please consult the Software Documentation first.
ok, I added NTLM support.
The only directory that was changed
was cdm/src/main/java/ucar/nc2/util/net.
You will need to do this version of setGlobalCredentials
to set the NTLM credentials.
HTTPSession.setGlobalCredentials(HTTPAuthScheme.NTLM,
new NTCredentials(username,password,host,domain));
where
username - The user name. This should not include
the domain to authenticate with. For example:
"user" is correct whereas "DOMAIN\\user" is not.
password - The password.
host - The host the authentication request is originating from.
Essentially, the computer name for this machine.
domain - The domain to authenticate within.
This probably will not work completely, but may get us closer.
=Dennis Heimbigner
Unidata
Ticket Details
===================
Ticket ID: NXD-157061
Department: Support netCDF Java
Priority: Critical
Status: Closed