Class NTLMSchemeFactory
- java.lang.Object
-
- org.apache.hc.client5.http.impl.auth.NTLMSchemeFactory
-
- All Implemented Interfaces:
AuthSchemeFactory
@Contract(threading=STATELESS) public class NTLMSchemeFactory extends java.lang.Object implements AuthSchemeFactory
AuthSchemeFactoryimplementation that creates and initializesNTLMSchemeinstances configured to use the defaultNTLMEngineimplementation.- Since:
- 4.1
-
-
Field Summary
Fields Modifier and Type Field Description static NTLMSchemeFactoryINSTANCESingleton instance.
-
Constructor Summary
Constructors Constructor Description NTLMSchemeFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AuthSchemecreate(org.apache.hc.core5.http.protocol.HttpContext context)Creates an instance ofAuthScheme.
-
-
-
Field Detail
-
INSTANCE
public static final NTLMSchemeFactory INSTANCE
Singleton instance.
-
-
Method Detail
-
create
public AuthScheme create(org.apache.hc.core5.http.protocol.HttpContext context)
Description copied from interface:AuthSchemeFactoryCreates an instance ofAuthScheme.- Specified by:
createin interfaceAuthSchemeFactory- Returns:
- auth scheme.
-
-