public interface Credential
extends java.io.Serializable
CredentialMetaData if
no sensitive data is contained in the credential; conversely, implementations MUST NOT implement
CredentialMetaData if the credential contains sensitive data (e.g. password, key material).CredentialMetaData| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
UNKNOWN_ID
An ID that may be used to indicate the credential identifier is unknown.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getId()
Gets a credential identifier that is safe to record for logging, auditing, or presentation to the user.
|
static final java.lang.String UNKNOWN_ID
java.lang.String getId()
UNKNOWN_ID for cases where an ID
is not readily available or meaningful.