public class Credentials extends Object implements Serializable
| Modifier and Type | Field and Description |
|---|---|
static String |
CREDENTIALS
.
|
| Constructor and Description |
|---|
Credentials(String username,
String password)
Construct a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getPassword()
Returns the password.
|
String |
getUsername()
Returns the username.
|
public static final String CREDENTIALS
public Credentials(String username, String password) throws NullPointerException
username - the username valuepassword - the password valueNullPointerException - if any argument is nullCopyright © 2018 JBoss by Red Hat. All Rights Reserved.