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.

Since:
2.0alpha2
Version:
$Revision: 1.12 $ $Date: 2003/02/11 03:41:14 $
Author:
Adrian Sutton, Jeff Dever, Mike Bowler

Field Summary
static String DEFAULT_CHARSET
          Deprecated. Character encoding
 
Constructor Summary
NTLM()
          Deprecated.  
 
Method Summary
 String getResponseFor(String message, String username, String password, String host, 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
 

Field Detail

DEFAULT_CHARSET

public static final String DEFAULT_CHARSET
Deprecated. 
Character encoding
Constructor Detail

NTLM

public NTLM()
Deprecated. 
Method Detail

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-2003 Apache Software Foundation. All Rights Reserved.