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.
|
HtmlUnitUsernamePasswordCredentials(String userName,
String password)
Deprecated.
as of version 3.4.0; use HtmlUnitUsernamePasswordCredentials(String, char[]) instead
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
String |
getPassword() |
Principal |
getUserPrincipal() |
int |
hashCode() |
String |
toString() |
@Deprecated public HtmlUnitUsernamePasswordCredentials(String userName, String password)
userName
- the user namepassword
- the passwordpublic HtmlUnitUsernamePasswordCredentials(String userName, char[] password)
userName
- the user namepassword
- the passwordCopyright © 2002–2024 Gargoyle Software Inc.. All rights reserved.