org.mule.transport.http.ntlm
Class NtlmMessageFactory

java.lang.Object
  extended by org.mule.transport.http.ntlm.NtlmMessageFactory

public class NtlmMessageFactory
extends Object


Field Summary
static int DEFAULT_TYPE_1_MESSAGE_FLAGS
           
static int DEFAULT_TYPE_3_MESSAGE_FLAGS
           
 
Constructor Summary
NtlmMessageFactory()
           
 
Method Summary
 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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEFAULT_TYPE_3_MESSAGE_FLAGS

public static final int DEFAULT_TYPE_3_MESSAGE_FLAGS
See Also:
Constant Field Values

DEFAULT_TYPE_1_MESSAGE_FLAGS

public static final int DEFAULT_TYPE_1_MESSAGE_FLAGS
See Also:
Constant Field Values
Constructor Detail

NtlmMessageFactory

public NtlmMessageFactory()
Method Detail

createType1Message

public jcifs.ntlmssp.Type1Message createType1Message(String host,
                                                     String domain)
Creates a Type1Message for NTLM authentication.

Parameters:
host - the client host
domain - the client domain
Returns:
a Type1Message to initiate the authentication process.

createType2Message

public jcifs.ntlmssp.Type2Message createType2Message(String challenge)
Creates a Type2Message for NTLM authentication from a challenge received from the NTLM server.

Parameters:
challenge - the challenge received from the server in response to a Type1Message message previously sent.
Returns:
a Type2Message to continue the authentication process.

createType3Message

public jcifs.ntlmssp.Type3Message createType3Message(NTCredentials ntCredentials,
                                                     jcifs.ntlmssp.Type2Message type2Message)
Creates a Type3Message for NTLM authentication.

Parameters:
ntCredentials - the credentials used for the authentication
type2Message - the Type2Message received from the server in response to a Type1Message message previously sent.
Returns:
a Type3Message to continue the authentication process.


Copyright © 2003-2014 MuleSoft, Inc.. All Rights Reserved.