@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.
|
public Credentials(String username, byte[] password)
username - Username. Cannot be null.password - Password as byte array. Cannot be null.public String getUsername()
public byte[] getPassword()
Copyright © 2012-2014, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.