com.ning.http.client.ntlm
Class NTLMEngine
java.lang.Object
com.ning.http.client.ntlm.NTLMEngine
public class NTLMEngine
- extends Object
Provides an implementation for NTLMv1, NTLMv2, and NTLM2 Session forms of the NTLM
authentication protocol.
- Since:
- 4.1
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FLAG_UNICODE_ENCODING
protected static final int FLAG_UNICODE_ENCODING
- See Also:
- Constant Field Values
FLAG_TARGET_DESIRED
protected static final int FLAG_TARGET_DESIRED
- See Also:
- Constant Field Values
FLAG_NEGOTIATE_SIGN
protected static final int FLAG_NEGOTIATE_SIGN
- See Also:
- Constant Field Values
FLAG_NEGOTIATE_SEAL
protected static final int FLAG_NEGOTIATE_SEAL
- See Also:
- Constant Field Values
FLAG_NEGOTIATE_NTLM
protected static final int FLAG_NEGOTIATE_NTLM
- See Also:
- Constant Field Values
FLAG_NEGOTIATE_ALWAYS_SIGN
protected static final int FLAG_NEGOTIATE_ALWAYS_SIGN
- See Also:
- Constant Field Values
FLAG_NEGOTIATE_NTLM2
protected static final int FLAG_NEGOTIATE_NTLM2
- See Also:
- Constant Field Values
FLAG_NEGOTIATE_128
protected static final int FLAG_NEGOTIATE_128
- See Also:
- Constant Field Values
FLAG_NEGOTIATE_KEY_EXCH
protected static final int FLAG_NEGOTIATE_KEY_EXCH
- See Also:
- Constant Field Values
NTLMEngine
public NTLMEngine()
generateType1Msg
public String generateType1Msg(String domain,
String workstation)
throws NTLMEngineException
- Throws:
NTLMEngineException
generateType3Msg
public String generateType3Msg(String username,
String password,
String domain,
String workstation,
String challenge)
throws NTLMEngineException
- Throws:
NTLMEngineException
Copyright © 2011. All Rights Reserved.