public class NtlmMessageFactory extends Object
Modifier and Type | Field and Description |
---|---|
static int |
DEFAULT_TYPE_1_MESSAGE_FLAGS |
static int |
DEFAULT_TYPE_3_MESSAGE_FLAGS |
Constructor and Description |
---|
NtlmMessageFactory() |
Modifier and Type | Method and Description |
---|---|
jcifs.ntlmssp.Type1Message |
createType1Message(String host,
String domain)
Creates a
Type1Message for NTLM authentication. |
jcifs.ntlmssp.Type2Message |
createType2Message(String challenge)
Creates a
Type2Message for NTLM authentication from a challenge
received from the NTLM server. |
jcifs.ntlmssp.Type3Message |
createType3Message(NTCredentials ntCredentials,
jcifs.ntlmssp.Type2Message type2Message)
Creates a
Type3Message for NTLM authentication. |
public static final int DEFAULT_TYPE_3_MESSAGE_FLAGS
public static final int DEFAULT_TYPE_1_MESSAGE_FLAGS
public jcifs.ntlmssp.Type1Message createType1Message(String host, String domain)
Type1Message
for NTLM authentication.host
- the client hostdomain
- the client domainType1Message
to initiate the authentication process.public jcifs.ntlmssp.Type2Message createType2Message(String challenge)
Type2Message
for NTLM authentication from a challenge
received from the NTLM server.challenge
- the challenge received from the server in response to a
Type1Message
message previously sent.Type2Message
to continue the authentication process.public jcifs.ntlmssp.Type3Message createType3Message(NTCredentials ntCredentials, jcifs.ntlmssp.Type2Message type2Message)
Type3Message
for NTLM authentication.ntCredentials
- the credentials used for the authenticationtype2Message
- the Type2Message
received from the server
in response to a Type1Message
message previously sent.Type3Message
to continue the authentication process.Copyright © 2003–2016 MuleSoft, Inc.. All rights reserved.