org.apache.commons.httpclient
Class NTLM
java.lang.Object
|
+--org.apache.commons.httpclient.NTLM
Deprecated. this class will be made package access for 2.0beta2
- public final class NTLM
- extends Object
Provides an implementation of the NTLM authentication protocol.
This class provides methods for generating authentication
challenge responses for the NTLM authentication protocol. The NTLM
protocol is a proprietary Microsoft protocol and as such no RFC
exists for it. This class is based upon the reverse engineering
efforts of a wide range of people.
Please note that an implementation of JCE must be correctly installed and configured when
using NTLM support.
This class should not be used externally to HttpClient as it's API is specifically
designed to work with HttpClient's use case, in particular it's connection management.
- Since:
- 2.0alpha2
- Version:
- $Revision: 1.12.2.2 $ $Date: 2004/02/22 18:21:13 $
- Author:
- Adrian Sutton, Jeff Dever, Mike Bowler
Constructor Summary |
NTLM()
Deprecated. |
Methods inherited from class java.lang.Object |
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DEFAULT_CHARSET
public static final String DEFAULT_CHARSET
- Deprecated.
- Character encoding
NTLM
public NTLM()
- Deprecated.
getResponseFor
public final String getResponseFor(String message,
String username,
String password,
String host,
String domain)
throws HttpException
- Deprecated.
- 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.host
- The host.domain
- the NT domain to authenticate in.- Returns:
- The response.
- Throws:
HttpException
- If the messages cannot be retrieved.
Copyright © 2001-2004 Apache Software Foundation. All Rights Reserved.