public class UsernamePasswordCreds extends Credentials
Credentials.HasLanguage, Credentials.HasMachineIdentStreamable.Closure| Constructor and Description |
|---|
UsernamePasswordCreds()
Zero argument constructor used when unserializing an instance.
|
UsernamePasswordCreds(Name username,
String password)
Construct credentials with the supplied username and password.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getDatagramSecret()
Returns a string to use in a hash on the datagram contents to authenticate client datagrams.
|
String |
getPassword() |
Name |
getUsername() |
String |
toString() |
public UsernamePasswordCreds()
public Name getUsername()
public String getPassword()
public String getDatagramSecret()
CredentialsgetDatagramSecret in class CredentialsCopyright © 2015. All rights reserved.