public class TokenCredentialStorage extends AbstractCredentialStorage
CredentialStorage used to store token-based credentials. Token value
is always represented by a string.
This default implementation stores only the type and value of a token.
Classes can provide additional state by extending this class and and also TokenCredentialHandler.
Token,
TokenCredentialHandler| Constructor and Description |
|---|
TokenCredentialStorage() |
| Modifier and Type | Method and Description |
|---|---|
String |
getToken() |
String |
getType() |
void |
setToken(String token) |
void |
setType(String type) |
getEffectiveDate, getExpiryDate, setEffectiveDate, setExpiryDate, toStringCopyright © 2015. All rights reserved.