|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectedu.wisc.my.webproxy.beans.http.ICredentials
edu.wisc.my.webproxy.beans.http.NtCredentials
public class NtCredentials
ICredentials 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 domain 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. |
| Methods inherited from class edu.wisc.my.webproxy.beans.http.ICredentials |
|---|
getPassword, getUserName, setPassword, setUserName |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, 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 java.lang.String getDomain()
setDomain(String)public java.lang.String getHost()
public void setDomain(java.lang.String domain)
domain - the NT domain to authenticate in.getDomain()public void setHost(java.lang.String host)
host - the Host the user is logged into.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||