Package | Description |
---|---|
org.apache.http.impl.auth |
Default implementations of standard and common HTTP authentication
schemes.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
NTLMEngine.generateType1Msg(java.lang.String domain,
java.lang.String workstation)
Generates a Type1 message given the domain and workstation.
|
java.lang.String |
NTLMEngineImpl.generateType1Msg(java.lang.String domain,
java.lang.String workstation) |
java.lang.String |
NTLMEngine.generateType3Msg(java.lang.String username,
java.lang.String password,
java.lang.String domain,
java.lang.String workstation,
java.lang.String challenge)
Generates a Type3 message given the user credentials and the
authentication challenge.
|
java.lang.String |
NTLMEngineImpl.generateType3Msg(java.lang.String username,
java.lang.String password,
java.lang.String domain,
java.lang.String workstation,
java.lang.String challenge) |
byte[] |
NTLMEngineImpl.CipherGen.getClientChallenge()
Calculate and return client challenge
|
byte[] |
NTLMEngineImpl.CipherGen.getClientChallenge2()
Calculate and return second client challenge
|
byte[] |
NTLMEngineImpl.CipherGen.getLanManagerSessionKey()
Get LAN Manager session key
|
byte[] |
NTLMEngineImpl.CipherGen.getLM2SessionResponse()
Calculate and return LM2 session response
|
byte[] |
NTLMEngineImpl.CipherGen.getLMHash()
Calculate and return the LMHash
|
byte[] |
NTLMEngineImpl.CipherGen.getLMResponse()
Calculate and return the LMResponse
|
byte[] |
NTLMEngineImpl.CipherGen.getLMUserSessionKey()
Get LMUserSessionKey
|
byte[] |
NTLMEngineImpl.CipherGen.getLMv2Hash()
Calculate the LMv2 hash
|
byte[] |
NTLMEngineImpl.CipherGen.getLMv2Response()
Calculate the LMv2Response
|
byte[] |
NTLMEngineImpl.CipherGen.getNTLM2SessionResponse()
Get NTLM2SessionResponse
|
byte[] |
NTLMEngineImpl.CipherGen.getNTLM2SessionResponseUserSessionKey()
Get NTLM2SessionResponseUserSessionKey
|
byte[] |
NTLMEngineImpl.CipherGen.getNTLMHash()
Calculate and return the NTLMHash
|
byte[] |
NTLMEngineImpl.CipherGen.getNTLMResponse()
Calculate and return the NTLMResponse
|
byte[] |
NTLMEngineImpl.CipherGen.getNTLMUserSessionKey()
Get NTLMUserSessionKey
|
byte[] |
NTLMEngineImpl.CipherGen.getNTLMv2Blob()
Calculate the NTLMv2Blob
|
byte[] |
NTLMEngineImpl.CipherGen.getNTLMv2Hash()
Calculate the NTLMv2 hash
|
byte[] |
NTLMEngineImpl.CipherGen.getNTLMv2Response()
Calculate the NTLMv2Response
|
byte[] |
NTLMEngineImpl.CipherGen.getNTLMv2UserSessionKey()
GetNTLMv2UserSessionKey
|
(package private) static java.lang.String |
NTLMEngineImpl.getResponseFor(java.lang.String message,
java.lang.String username,
java.lang.String password,
java.lang.String host,
java.lang.String domain)
Returns the response for the given message.
|
byte[] |
NTLMEngineImpl.CipherGen.getSecondaryKey()
Calculate and return random secondary key
|
(package private) static java.lang.String |
NTLMEngineImpl.getType1Message(java.lang.String host,
java.lang.String domain)
Creates the first message (type 1 message) in the NTLM authentication
sequence.
|
(package private) static java.lang.String |
NTLMEngineImpl.getType3Message(java.lang.String user,
java.lang.String password,
java.lang.String host,
java.lang.String domain,
byte[] nonce,
int type2Flags,
java.lang.String target,
byte[] targetInformation)
Creates the type 3 message using the given server nonce.
|
(package private) static byte[] |
NTLMEngineImpl.hmacMD5(byte[] value,
byte[] key)
Calculates HMAC-MD5
|
(package private) static byte[] |
NTLMEngineImpl.ntlm2SessionResponse(byte[] ntlmHash,
byte[] challenge,
byte[] clientChallenge)
Calculates the NTLM2 Session Response for the given challenge, using the
specified password and client challenge.
|
(package private) static byte[] |
NTLMEngineImpl.RC4(byte[] value,
byte[] key)
Calculates RC4
|
protected byte |
NTLMEngineImpl.NTLMMessage.readByte(int position)
Read a byte from a position within the message buffer
|
protected void |
NTLMEngineImpl.NTLMMessage.readBytes(byte[] buffer,
int position)
Read a bunch of bytes from a position in the message buffer
|
protected byte[] |
NTLMEngineImpl.NTLMMessage.readSecurityBuffer(int position)
Read a security buffer from a position within the message buffer
|
protected int |
NTLMEngineImpl.NTLMMessage.readULong(int position)
Read a ulong from a position within the message buffer
|
protected int |
NTLMEngineImpl.NTLMMessage.readUShort(int position)
Read a ushort from a position within the message buffer
|
Constructor and Description |
---|
NTLMEngineImpl.HMACMD5(byte[] input) |
NTLMEngineImpl.NTLMMessage(java.lang.String messageBody,
int expectedType)
Constructor to use when message contents are known
|
NTLMEngineImpl.Type1Message(java.lang.String domain,
java.lang.String host) |
NTLMEngineImpl.Type2Message(java.lang.String message) |
NTLMEngineImpl.Type3Message(java.lang.String domain,
java.lang.String host,
java.lang.String user,
java.lang.String password,
byte[] nonce,
int type2Flags,
java.lang.String target,
byte[] targetInformation)
Constructor.
|