|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.springbyexample.httpclient.auth.Credentials org.springbyexample.httpclient.auth.NTCredentials
public class NTCredentials
NTLM Credentials bean used to create
org.apache.commons.httpclient.NTCredentials
and org.apache.commons.httpclient.auth.AuthScope
.
Note: User name, password, host, and domain are required.
Field Summary | |
---|---|
protected String |
domain
|
protected String |
host
|
Fields inherited from class org.springbyexample.httpclient.auth.Credentials |
---|
authScopeHost, authScopePort, password, userName |
Constructor Summary | |
---|---|
NTCredentials()
Constructor |
|
NTCredentials(String authScopeHost,
int authScopePort,
String userName,
String password,
String host,
String domain)
Constructor |
Method Summary | |
---|---|
String |
getDomain()
Gets domain. |
String |
getHost()
Gets host. |
void |
setDomain(String domain)
Sets domain. |
void |
setHost(String host)
Sets host. |
String |
toString()
Returns a string representation of the object. |
Methods inherited from class org.springbyexample.httpclient.auth.Credentials |
---|
getAuthScopeHost, getAuthScopePort, getPassword, getUserName, setAuthScopeHost, setAuthScopePort, setPassword, setUserName |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected String host
protected String domain
Constructor Detail |
---|
public NTCredentials()
public NTCredentials(String authScopeHost, int authScopePort, String userName, String password, String host, String domain)
Method Detail |
---|
public String getHost()
public void setHost(String host)
public String getDomain()
public void setDomain(String domain)
public String toString()
toString
in class Credentials
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |