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