@Beta public final class Credentials extends Object
ClientProperties.CREDENTIALS| Constructor and Description |
|---|
Credentials(String username,
byte[] password)
Create new credentials.
|
Credentials(String username,
String password)
Create new credentials.
|
| Modifier and Type | Method and Description |
|---|---|
byte[] |
getPassword()
Get the password as byte array.
|
String |
getUsername()
Get the username.
|
String |
toString() |
public Credentials(String username, byte[] password)
username - Username. Cannot be null.password - Password as byte array. Cannot be null.Copyright © 2012–2019 Oracle Corporation. All rights reserved.