Class 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 Detail

      • INSTANCE

        public static final NtlmEngine INSTANCE
    • Constructor Detail

      • NtlmEngine

        public NtlmEngine()
    • Method Detail

      • generateType1Msg

        public String generateType1Msg()
        Creates the first message (type 1 message) in the NTLM authentication sequence. This message includes the username, domain and host for the authentication session.
        Returns:
        String the message to add to the HTTP request header.