|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.apache.commons.httpclient.UsernamePasswordCredentials
org.apache.commons.httpclient.NTCredentials
Credentials for use with the NTLM authentication scheme which requires additional
information.
| Constructor Summary | |
|---|---|
NTCredentials()
Default constructor. |
|
NTCredentials(java.lang.String userName,
java.lang.String password,
java.lang.String host,
java.lang.String domain)
Constructor. |
|
| Method Summary | |
|---|---|
java.lang.String |
getDomain()
Retrieves the name to authenticate with. |
java.lang.String |
getHost()
Retrieves the host name of the computer originating the request. |
void |
setDomain(java.lang.String domain)
Sets the domain to authenticate with. |
void |
setHost(java.lang.String host)
Sets the host name of the computer originating the request. |
java.lang.String |
toString()
Return a string representation of this object. |
| Methods inherited from class org.apache.commons.httpclient.UsernamePasswordCredentials |
|---|
getPassword, getUserName, setPassword, setUserName |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public NTCredentials()
public NTCredentials(java.lang.String userName,
java.lang.String password,
java.lang.String host,
java.lang.String domain)
userName - The user name. This should not include the domain to authenticate with.
For example: "user" is correct whereas "DOMAIN\\user" is not.password - The password.host - The host the authentication request is originating from. Essentially, the
computer name for this machine.domain - The domain to authenticate within.| Method Detail |
public void setDomain(java.lang.String domain)
domain - the NT domain to authenticate in.getDomain()public java.lang.String getDomain()
setDomain(String)public void setHost(java.lang.String host)
host - the Host the user is logged into.public java.lang.String getHost()
public java.lang.String toString()
toString in class UsernamePasswordCredentials
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||