com.oaklandsw.http.ntlm
Class Ntlm
java.lang.Object
com.oaklandsw.http.ntlm.Ntlm
- public class Ntlm
- extends java.lang.Object
Constructor Summary |
Ntlm()
|
Method Summary |
static byte[] |
createTargetInfo(java.lang.String domain,
java.lang.String host)
|
static void |
forceV1()
|
static void |
forceV2()
|
static java.lang.String |
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. |
static void |
init()
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NONE
public static final int NONE
- See Also:
- Constant Field Values
V1
public static final int V1
- See Also:
- Constant Field Values
V2
public static final int V2
- See Also:
- Constant Field Values
AS_NEGOTIATED
public static final int AS_NEGOTIATED
- See Also:
- Constant Field Values
_authMessageNtResponse
public static int _authMessageNtResponse
_authMessageLmResponse
public static int _authMessageLmResponse
_useNtNegotiateFlags
public static boolean _useNtNegotiateFlags
_authMessageFlags
public static long _authMessageFlags
_challengeMessageFlags
public static long _challengeMessageFlags
_checkChallengeV2Flags
public static boolean _checkChallengeV2Flags
ENCODING
public static final java.lang.String ENCODING
- See Also:
- Constant Field Values
Ntlm
public Ntlm()
init
public static void init()
forceV2
public static void forceV2()
forceV1
public static void forceV1()
createTargetInfo
public static byte[] createTargetInfo(java.lang.String domain,
java.lang.String host)
getResponseFor
public static final java.lang.String getResponseFor(java.lang.String message,
java.lang.String username,
java.lang.String password,
java.lang.String host,
java.lang.String domain)
throws HttpException
- Returns the response for the given message.
- Parameters:
message
- the message that was received from the server.username
- the username to authenticate with.password
- the password to authenticate with.domain
- the NT domain to authenticate in.
- Throws:
HttpException
Copyright © 2002-2007 Oakland Software Incorporated. All Rights Reserved.