Module jcifs

Class NtlmHttpURLConnection

java.lang.Object
java.net.URLConnection
java.net.HttpURLConnection
org.codelibs.jcifs.smb.http.NtlmHttpURLConnection

@Deprecated public class NtlmHttpURLConnection extends HttpURLConnection
Deprecated.
This is broken by design, even a possible vulnerability. Deprecation is conditional on whether future JDK versions will allow to do this safely.
Wraps an HttpURLConnection to provide NTLM authentication services. Please read Using jCIFS NTLM Authentication for HTTP Connections. Warning: Do not use this if there is a chance that you might have multiple connections (even plain HttpURLConnections, for the complete JRE) to the same host with different or mixed anonymous/authenticated credentials. Authenticated connections can/will be reused.