public class

NTLMEngine

extends Object
java.lang.Object
   ↳ com.ning.http.client.ntlm.NTLMEngine

Class Overview

Provides an implementation for NTLMv1, NTLMv2, and NTLM2 Session forms of the NTLM authentication protocol.

Summary

Constants
int FLAG_NEGOTIATE_128
int FLAG_NEGOTIATE_ALWAYS_SIGN
int FLAG_NEGOTIATE_KEY_EXCH
int FLAG_NEGOTIATE_NTLM
int FLAG_NEGOTIATE_NTLM2
int FLAG_NEGOTIATE_SEAL
int FLAG_NEGOTIATE_SIGN
int FLAG_TARGET_DESIRED
int FLAG_UNICODE_ENCODING
Public Constructors
NTLMEngine()
Public Methods
String generateType1Msg(String domain, String workstation)
String generateType3Msg(String username, String password, String domain, String workstation, String challenge)
[Expand]
Inherited Methods
From class java.lang.Object

Constants

protected static final int FLAG_NEGOTIATE_128

Constant Value: 536870912 (0x20000000)

protected static final int FLAG_NEGOTIATE_ALWAYS_SIGN

Constant Value: 32768 (0x00008000)

protected static final int FLAG_NEGOTIATE_KEY_EXCH

Constant Value: 1073741824 (0x40000000)

protected static final int FLAG_NEGOTIATE_NTLM

Constant Value: 512 (0x00000200)

protected static final int FLAG_NEGOTIATE_NTLM2

Constant Value: 524288 (0x00080000)

protected static final int FLAG_NEGOTIATE_SEAL

Constant Value: 32 (0x00000020)

protected static final int FLAG_NEGOTIATE_SIGN

Constant Value: 16 (0x00000010)

protected static final int FLAG_TARGET_DESIRED

Constant Value: 4 (0x00000004)

protected static final int FLAG_UNICODE_ENCODING

Constant Value: 1 (0x00000001)

Public Constructors

public NTLMEngine ()

Public Methods

public String generateType1Msg (String domain, String workstation)

public String generateType3Msg (String username, String password, String domain, String workstation, String challenge)