public class Credentials
extends java.util.Hashtable
| Constructor and Description |
|---|
Credentials()
Constructs a Credentials instance.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
getCredential(java.lang.String key)
Returns the user credential with the given key, or name.
|
java.lang.Object |
setCredential(java.lang.String key,
java.lang.Object value)
Creates an association between the given key, or name, and the
given value of a user's credential.
|
clear, clone, compute, computeIfAbsent, computeIfPresent, contains, containsKey, containsValue, elements, entrySet, equals, forEach, get, getOrDefault, hashCode, isEmpty, keys, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, toString, valuespublic java.lang.Object getCredential(java.lang.String key)
key - the name of the credential.public java.lang.Object setCredential(java.lang.String key,
java.lang.Object value)
key - the name of the credential.value - the value of the credential.