public class StandardCredentials extends Object implements AuthenticationToken, Credentials
| Constructor and Description |
|---|
StandardCredentials(String username,
String password) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
String |
getPassword() |
String |
getUsername()
Returns the username of these credentials.
|
int |
hashCode() |
Credentials |
sanitize()
Creates a sanitized clone without any sensitive information.
|
String |
toString() |
public String getUsername()
CredentialsgetUsername in interface Credentialspublic String getPassword()
public Credentials sanitize()
Credentialssanitize in interface CredentialsCopyright © 2017. All rights reserved.