public class RuntimeVaultReader extends AbstractVaultReader
| Constructor and Description |
|---|
RuntimeVaultReader()
This constructor should remain protected to keep the vault as invisible
as possible, but it needs to be exposed for service plug-ability.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
createVault(String fqn,
Map<String,Object> options) |
protected void |
destroyVault() |
boolean |
isVaultFormat(String str) |
String |
retrieveFromVault(String password)
Unmasks vaulted data.
|
public RuntimeVaultReader()
protected void createVault(String fqn, Map<String,Object> options) throws VaultReaderException
createVault in class AbstractVaultReaderVaultReaderExceptionprotected void destroyVault()
destroyVault in class AbstractVaultReaderpublic String retrieveFromVault(String password) throws SecurityException
VaultReaderVAULT::vault_block::attribute_name::sharedKey
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 we are preserving Shared Key is the key generated by the off line vault during storage of the attribute value
password - the masked data, may be nullSecurityExceptionpublic boolean isVaultFormat(String str)
Copyright © 2014 JBoss by Red Hat. All rights reserved.