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 java.lang.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.1 $ $Date: 2003/08/16 00:09:37 $
 
- Author: 
 - Adrian Sutton, Jeff Dever, Mike Bowler
 
| 
Field Summary | 
static java.lang.String | 
DEFAULT_CHARSET
 
          Deprecated. Character encoding | 
 
| 
Constructor Summary | 
NTLM()
 
          Deprecated.   | 
 
| 
Method Summary | 
 java.lang.String | 
getResponseFor(java.lang.String message,
               java.lang.String username,
               java.lang.String password,
               java.lang.String host,
               java.lang.String domain)
 
          Deprecated. Returns the response for the given message. | 
 
| Methods inherited from class java.lang.Object | 
clone, 
equals, 
finalize, 
getClass, 
hashCode, 
notify, 
notifyAll, 
toString, 
wait, 
wait, 
wait | 
 
DEFAULT_CHARSET
public static final java.lang.String DEFAULT_CHARSET
- Deprecated. 
- Character encoding
  
NTLM
public NTLM()
- Deprecated. 
 
getResponseFor
public 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
- 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.