|
|||||||||||
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
Username and password Credentials
.
Constructor Summary | |
NTCredentials()
Default constructor. |
|
NTCredentials(String userName,
String password,
String host,
String domain)
Constructor. |
Method Summary | |
String |
getDomain()
Domain property getter. |
String |
getHost()
Host property getter. |
void |
setDomain(String domain)
Domain property setter. |
void |
setHost(String host)
Host property setter. |
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(String userName, String password, String host, String domain)
userName
- The user name.password
- The password.host
- The host.domain
- The domain.Method Detail |
public void setDomain(String domain)
domain
- the NT domain to authenticate in.getDomain()
public String getDomain()
setDomain(String)
public void setHost(String host)
host
- the Host the user is logged into.public String getHost()
public String toString()
toString
in class UsernamePasswordCredentials
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |