Top Description Fields Constructors Methods
org.apache.hc.client5.http.impl.auth

public Class NTLMSchemeFactory

extends Object
implements AuthSchemeFactory
Class Inheritance
All Implemented Interfaces
org.apache.hc.client5.http.auth.AuthSchemeFactory
Annotations
@Deprecated
@Contract
threading:STATELESS
Imports
org.apache.hc.client5.http.auth.AuthScheme, .AuthSchemeFactory, org.apache.hc.core5.annotation.Contract, .ThreadingBehavior, org.apache.hc.core5.http.protocol.HttpContext

Deprecated

Do not use. the NTLM authentication scheme is no longer supported. Consider using Basic or Bearer authentication with TLS instead.

AuthSchemeFactory implementation that creates and initializes NTLMScheme instances configured to use the default NTLMEngine implementation.
Since
4.1
See Also
BasicSchemeFactory, BearerSchemeFactory

Field Summary

Modifier and TypeField and Description
public static final NTLMSchemeFactory
INSTANCE

Singleton instance.

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public AuthScheme
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

INSTANCEback to summary
public static final NTLMSchemeFactory INSTANCE

Deprecated

as a consequence of NTLMSchemeFactory being deprecated. See corresponding docs for further information.

Singleton instance.

Constructor Detail

NTLMSchemeFactoryback to summary
public NTLMSchemeFactory()

Method Detail

createback to summary
public AuthScheme create(final HttpContext context)

Implements org.apache.hc.client5.http.auth.AuthSchemeFactory.create.

Doc from org.apache.hc.client5.http.auth.AuthSchemeFactory.create.

Creates an instance of AuthScheme.

Returns:AuthScheme

auth scheme.

Annotations
@Override