public class HtmlUnitUsernamePasswordCredentials extends Object implements org.apache.http.auth.Credentials, Serializable
UsernamePasswordCredentials to avoid direct references spread around.| Constructor and Description |
|---|
HtmlUnitUsernamePasswordCredentials(String userName,
char[] password)
The constructor with the username and password arguments.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
String |
getPassword() |
Principal |
getUserPrincipal() |
int |
hashCode() |
String |
toString() |
public HtmlUnitUsernamePasswordCredentials(String userName, char[] password)
userName - the user namepassword - the passwordCopyright © 2002–2025 Gargoyle Software Inc.. All rights reserved.