|
||||||||||
| 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(String userName,
String password,
String host,
String domain)
Constructor. |
|
| Method Summary | |
|---|---|
String |
getDomain()
Retrieves the domain name to authenticate with. |
String |
getHost()
Retrieves the host name of the computer originating the request. |
void |
setDomain(String domain)
Sets the domain to authenticate with. |
void |
setHost(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(String userName,
String password,
String host,
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 String getDomain()
setDomain(String)public String getHost()
public void setDomain(String domain)
domain - the NT domain to authenticate in.getDomain()public void setHost(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 | |||||||||