Package org.asynchttpclient.ntlm
Class NtlmEngine
- java.lang.Object
-
- org.asynchttpclient.ntlm.NtlmEngine
-
public final class NtlmEngine extends Object
Provides an implementation for NTLMv1, NTLMv2, and NTLM2 Session forms of the NTLM authentication protocol.- Since:
- 4.1
-
-
Field Summary
Fields Modifier and Type Field Description static NtlmEngine
INSTANCE
-
Constructor Summary
Constructors Constructor Description NtlmEngine()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
generateType1Msg()
Creates the first message (type 1 message) in the NTLM authentication sequence.static String
generateType3Msg(String username, String password, String domain, String workstation, String challenge)
-
-
-
Field Detail
-
INSTANCE
public static final NtlmEngine INSTANCE
-
-
Method Detail
-
generateType1Msg
public String generateType1Msg()
Creates the first message (type 1 message) in the NTLM authentication sequence. This message includes the user name, domain and host for the authentication session.- Returns:
- String the message to add to the HTTP request header.
-
-