|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.commons.httpclient.NTLM
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.
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 |
public static final String DEFAULT_CHARSET
Constructor Detail |
public NTLM()
Method Detail |
public final String getResponseFor(String message, String username, String password, String host, String domain) throws HttpException
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.
HttpException
- If the messages cannot be retrieved.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |