public class Credential extends Object
| Modifier and Type | Method and Description |
|---|---|
static Credential |
basic(String username,
String password)
Gets a
Credential configured with a username and password. |
boolean |
equals(Object other) |
String |
getPassword()
Gets the password.
|
String |
getUsername()
Gets the username.
|
int |
hashCode() |
public static Credential basic(String username, String password)
Credential configured with a username and password.username - the usernamepassword - the passwordCredentialpublic String getUsername()
public String getPassword()
Copyright © 2018. All rights reserved.