| |
|
| java.lang.Object org.apache.commons.httpclient.UsernamePasswordCredentials
All known Subclasses: org.apache.commons.httpclient.NTCredentials,
Method Summary | |
public boolean | equals(Object o) These credentials are assumed equal if the username and password are the
same.
Parameters: o - The other object to compare with. | public String | getPassword() Password property getter. | public String | getUserName() User name property getter. | public int | hashCode() Does a hash of both user name and password. | public void | setPassword(String password) Password property setter. | public void | setUserName(String userName) User name property setter. | public String | toString() Get this object string. |
UsernamePasswordCredentials | public UsernamePasswordCredentials()(Code) | | Default constructor.
|
UsernamePasswordCredentials | public UsernamePasswordCredentials(String usernamePassword)(Code) | | The constructor with the username and password combined string argument.
Parameters: usernamePassword - the username:password formed string See Also: UsernamePasswordCredentials.toString |
UsernamePasswordCredentials | public UsernamePasswordCredentials(String userName, String password)(Code) | | The constructor with the username and password arguments.
Parameters: userName - the user name Parameters: password - the password |
equals | public boolean equals(Object o)(Code) | | These credentials are assumed equal if the username and password are the
same.
Parameters: o - The other object to compare with. true if the object is equivalent. |
hashCode | public int hashCode()(Code) | | Does a hash of both user name and password.
The hash code including user name and password. |
toString | public String toString()(Code) | | Get this object string.
the username:password formed string |
|
|
|