public interface VaultReader
VAULT::vault_block::attribute_name::sharedKey, where
vault_block acts as the unique id of a block, such as "messaging", "security" etc.attribute_name is the name of the attribute whose value was storedsharedKey is the key generated by the off line vault during storage of the attribute value.| Modifier and Type | Interface and Description |
|---|---|
static class |
VaultReader.NoSuchItemException
Exception thrown when properly formatted "vaulted data" is used to retrieve data from the vault but
no matching data can be found.
|
| Modifier and Type | Field and Description |
|---|---|
static Pattern |
STANDARD_VAULT_PATTERN
Pattern that describes the standard "vaulted data" format.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
isVaultFormat(String toCheck)
Returns whether the given string is in the correct "vaulted data" format.
|
String |
retrieveFromVault(String vaultedData)
Returns the data stored in the vault that is indicated by the given "vaulted data".
|
static final Pattern STANDARD_VAULT_PATTERN
boolean isVaultFormat(String toCheck)
toCheck - the string to check. May be nulltrue if toCheck is a non-null string in vaulted data format.String retrieveFromVault(String vaultedData)
vaultedData - the possible vaulted data. May also be null, or a string that is not in the vaulted data formatvaultedData is not properly formatted
vaulted dataVaultReader.NoSuchItemException - if vaultedData is properly formatted but the item indicated by it
is not stored in a vault accessible to this vault readerRuntimeException - if there is a problem accessing the vaultCopyright © 2021 JBoss by Red Hat. All rights reserved.